Hi everybody,
I'm trying to get the BPM values from "A&D" device (model UA-651BLE).
The service to get that data is 1810 and the characteristic is 2A35. I used the battery example as a base to get this values, but I don't know why is always failed (print "Read failed"). I tried to get this data in pair mode (holding the power button until shows "Pr" in the display) or immediately after getting my BPM.
My code (after scanning and connecting):
var onReadSuccess = function(data) {
var a = new Uint8Array(data);
console.log('onReadSuccess', data, a);
}
var onReadFail = function(error) {
console.log('onReadFail', error);
}
ble.read('7C:66:9D:88:B2:B8', '1810', '2a35', onReadSuccess, onReadFail);
I saw other apps that they could get this data from my device, but I think they do it natively.
Can anyone helps me?
Thanks.
Hi everybody,
I'm trying to get the BPM values from "A&D" device (model UA-651BLE).
The service to get that data is 1810 and the characteristic is 2A35. I used the battery example as a base to get this values, but I don't know why is always failed (print "Read failed"). I tried to get this data in pair mode (holding the power button until shows "Pr" in the display) or immediately after getting my BPM.
My code (after scanning and connecting):
I saw other apps that they could get this data from my device, but I think they do it natively.
Can anyone helps me?
Thanks.