1

在 Android 中调用monitorCharacteristicForService断开连接的 BLE 设备并出现以下错误

{"message":"设备 xx:xx:xx:xx 已断开连接","errorCode":201,"attErrorCode":19,"iosErrorCode":null,"androidErrorCode":null,"reason":"与 xx 断开连接:xx:xx:xx 状态为 19 (UNKNOWN)","name":"BleError","line":24096,"column":28,"sourceURL":"http://localhost:8081/index.bundle ?平台=android&dev=true&minify=false"}

需要做什么:

createBond 与 BLE 设备

需要如何手动创建与设备的绑定的想法

4

1 回答 1

0

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

版本 2.0.2 它不支持:

  • 蓝牙经典设备。
  • 使用 BLE(外设支持)在手机之间进行通信
  • 绑定外围设备
于 2021-10-27T10:08:51.343 回答