bluetooth lowenergy - Android get temperature reading from a BLE device -
i'm trying temperature reading ble device.
i read document produced ble device vendor.
- characteristics udid:2a1c
- properties: indicate
- characteristics name:temperature measurement
- data format: 0xfe000d97 (34.79 celsius)
first data 0xfe000d97 ble , data should characteristic indicate property. however, tried free app called b-ble , sample bluelegatt code android developer, both of them cannot data.they can characteristic read, write or notify properties.
can tell me how data or provide sample code?
next step have keep track of data. i.e. need update temperature measurement setcharacteristicnotification(). however, can't first reading....
any appreciated. thank much.
can't set property on characteristic "read" instead of "indicate"?
my android implementation can read characteristics ble device if characteristic property set "read". sorry, not aware "indicate" does.
Comments
Post a Comment