What are the steps to get notified by Bluetooth Low Energy (BLE) device?

后端 未结 4 906
慢半拍i
慢半拍i 2021-01-31 12:20

I am working on a Bluetooth Low Energy (BLE) app. I have a BLE device (scale) which measures weight. I am able to connect with this device. But I am not getting how to read data

4条回答
  •  礼貌的吻别
    2021-01-31 13:01

    you have to differentiate the value is notification or indication, and set respective value using descriptor.setValue. if you set wrongly, you will not get the value.

提交回复
热议问题