Skip to content

Getting Blood Pressure Measurement (Service: 1810) #27

Description

@saenzramiro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions