I'm using BLE2 lib for connecting BP meter, connection established successfully but I'm not able to retrieve BP readings. Log displays Key "00002a35-0000-1000-8000-00805f9b34fb" and value "[B@21b41a90" but when im converting to string using Byteconverter.HexFromBytes(Characteristics.GetValueAt(i)) no result.
Sub ble_DataAvailable (ServiceId As String, Characteristics As Map)
Dim buffer() As Byte
Dim bc As ByteConverter
For i = 0 To Characteristics.Size - 1
RX.Text =Characteristics.GetValueAt(i)
EditText3.Text = Characteristics.GetKeyAt(i)
EditText4.Text=bc.HexFromBytes(Characteristics.GetValueAt(i))
Next
Offset 1, Label - Blood Pressure Measurement Compound Value - Systolic, Length 16 bit, IEEE-11073 16-bit SFLOAT
Offset 3, Label - Blood Pressure Measurement Compound Value - Diastolic, Length 16 bit, IEEE-11073 16-bit SFLOAT
Offset 5, Label - Blood Pressure, Length 16 bit, IEEE-11073 16-bit SFLOAT
how can i read above values....
Sub ble_DataAvailable (ServiceId As String, Characteristics As Map)
Dim buffer() As Byte
Dim bc As ByteConverter
For i = 0 To Characteristics.Size - 1
RX.Text =Characteristics.GetValueAt(i)
EditText3.Text = Characteristics.GetKeyAt(i)
EditText4.Text=bc.HexFromBytes(Characteristics.GetValueAt(i))
Next
Offset 1, Label - Blood Pressure Measurement Compound Value - Systolic, Length 16 bit, IEEE-11073 16-bit SFLOAT
Offset 3, Label - Blood Pressure Measurement Compound Value - Diastolic, Length 16 bit, IEEE-11073 16-bit SFLOAT
Offset 5, Label - Blood Pressure, Length 16 bit, IEEE-11073 16-bit SFLOAT
how can i read above values....