10.3.11 Get Device Health
The Master will send this request every 30sec to get the Battery status and the
Bluetooth signal strength.
Get Device Health String Format (Smartphone)
%0 0 5001 2<CR>
- Device health request in which the UWBT device will
send valid RSSI value
UWBT Response To Get Device Health String
Packet
Header
SA
DA
Command
Length
Byte 1
Byte 2
Byte 3
0xA5
0x00
0x00
0x07
Battery
voltage
Battery charge in %
Battery charge
status
Byte 4
Byte 5 - Byte 6
Byte 7
Checksum
Device settings
modified by PC
–
Bluetooth signal strength
Table 10-13. Frame Format Of Get Device Health
Field Descriptions:
Field
Values And Description
Byte 1
This field indicates the Battery voltage.
E.g. Consider the Battery voltage as 3.3V
Now multiply 3.3 by 10 to convert into integer and then calculate the hex
value. In this case the hex value is 0x21
Byte 2
This byte represents the Battery charge level in %.
Byte 3
This byte indicates the Battery status.
Bits 3 to Bits 0 holds the Charging indication
0xX1 – Charging in progress
0xX2 – Fully Charged
0xX3 – Discharging
Bit7
0
- Memory available for Logging
1
- End of Log memory
Byte 4
0x00 – Device settings NOT modified by PC
0x01 – Device settings modified by PC
Table 10-14. Field Descriptions
10
10-16