使用React native ble plx创建Bond



调用monitorCharacteristicForService断开Android中的BLE设备,出现以下错误

{"消息":"设备xx:xx:xx:xx已断开连接","错误代码":201,"attErrorCode":19,"iosErrorCode";:null,"androidErrorCode"行":24096,"列":28,"源URL":";http://localhost:8081/index.bundle?platform=android&dev=true&minimy=false"}

需要做什么:

createBond与BLE设备

想法需要如何手动创建与设备的联系

https://github.com/dotintent/react-native-ble-plx

2.0.2版本不支持:

  • 蓝牙经典设备
  • 使用BLE(外围设备支持(在手机之间进行通信
  • 绑定外围设备

最新更新