.internal.DeviceModule.provideConnectionStateRelay(DeviceModule.java:57) at bleshadow.dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at com.polidea.rxandroidble2.internal.RxBleDeviceImpl_Factory.get(RxBleDeviceImpl_Factor
我现在尝试使用RxAndroidBle,并将其与Android API for BLE实现进行比较。我的外围设备一次发送大量notifications (大约30kB / 512b块)。在我的RxAndroidBle实现中,我按照示例应用程序中的建议进行操作: .flatMap(rxBleConnection -> rxBleConnection.setupNotification
我使用了 for iOS,并且已经开始在Pixel 2上使用RxAndroidBle了,这就像预期的那样,我可以根据需要在几百毫秒内建立到6-8设备的连接。问题:
我从文档和其他问题中了解到,RxAndroidBle对所有扫描、连接和通信请求进行排队,并依次执行这些请求,以确保安全,并根据Android生态系统中蓝牙实现的多样性来保持稳定性。
我正在使用RxAndroidBle库:当我想要在设备返回范围时自动连接到设备上时,问题就出现了。我不想再点击连接按钮了。BleDisconnectedException{bluetoothDeviceAddress='6F:AE:DE:3E:2E:C3'}
W/System.err: at com.polidea.rxandroidble.internal.connection.RxBleGattCallback
使用RxAndroidBLE库。BleDisconnectedException{bluetoothDeviceAddress='7B:98:4E:7A:34:97'}
W/System.err: at com.polidea.rxandroidble.internal.connection.RxBleGattCallback
es.ralcaidev.arduinobt, PID: 15488'void com.polidea.rxandroidble.internal.radio.RxBleRadioImpl.com_polidea_rxandroidble_internal_radio_RxBleRadioImpl_lambdaexpected to be of type direct but instead was found to be of type vi