GoodGuyOnWeb
Member
Hi
The LightBlue App connects to Mi band 5 ( smart band) and gives the following values for real time steps : Service UUID: 0000fee0-0000-1000-8000-00805f9b34fb, Characteristic UUDI :00000007-0000-3512-2118-0009af100700. After subscribing, when I walk, the following values ( in Hex) are shown :
0C 0C 00 00 00 00 00 00 00 00 00 00 00 ' This is first Step
0C 0E 00 00 00 00 00 00 00 00 00 00 00
0C 0F 00 00 00 00 00 00 00 00 00 00 00
0C 11 00 00 00 00 00 00 00 00 00 00 00
0C 12 00 00 00 00 00 00 00 00 00 00 00 ' This is last Step
How do I extract the steps value from the above data ? I would like to use this in B4X BLE example code to get the real time steps value.
I have attached screen shot of the readings for reference
The LightBlue App connects to Mi band 5 ( smart band) and gives the following values for real time steps : Service UUID: 0000fee0-0000-1000-8000-00805f9b34fb, Characteristic UUDI :00000007-0000-3512-2118-0009af100700. After subscribing, when I walk, the following values ( in Hex) are shown :
0C 0C 00 00 00 00 00 00 00 00 00 00 00 ' This is first Step
0C 0E 00 00 00 00 00 00 00 00 00 00 00
0C 0F 00 00 00 00 00 00 00 00 00 00 00
0C 11 00 00 00 00 00 00 00 00 00 00 00
0C 12 00 00 00 00 00 00 00 00 00 00 00 ' This is last Step
How do I extract the steps value from the above data ? I would like to use this in B4X BLE example code to get the real time steps value.
I have attached screen shot of the readings for reference