getBLEDeviceServices 10004错误
wx.onBluetoothDeviceFound( function (res2) { console.log( '发现新蓝牙设备' ) console.log(res2) var device = res2.devices[0]; console.log(device) console.log( '设备id:' + device.deviceId) console.log( '设备name:' + device.name) wx.getBLEDeviceServices({ deviceId: device.deviceId, complete: function (res) { console.log( ">>>getBLEDeviceServices:" ,res) //这边报10004 没有找到指定服务错误,何解 }
}) |