boronlin

Results 2 comments of boronlin

//获取某个服务下的所有特征值 getBLECharacteristics() { let deviceId = this.equipment[0].deviceId; let serviceId = this.servicesData[0].uuid; console.log(deviceId); console.log(serviceId); plus.bluetooth.getBLEDeviceCharacteristics({ deviceId, // 这里的 deviceId 需要已经通过 createBLEConnection 与对应设备建立链接 serviceId, // 这里的 serviceId 需要在 getBLEDeviceServices 接口中获取 success: res...

代码是是当前 dcloudio/uni-app 直接Clone出来的,所以这个问题可能是内部模块问题。