Host Protocols Direct Protocol CONTROL class Queries GET BLE STATS
December 21, 2023 at 6:34 AMGET BLE STATS
Role
Read the device’s current BLE statistics.
Access condition
Free.
Command
Field | Value |
---|---|
CLA | 58 (CONTROL) |
INS | AA (GET_BLE_STATS) |
Data | None |
Response
If STA=00
(success):
Field | Content |
---|---|
Data | BLE statistics (8 bytes) |
Response data
Bytes | Content |
---|---|
0-1 | The number of successfully transmitted packets. |
2-3 | The number of successfully received packets. |
4-5 | The number of received packets with CRC errors. |
6-7 | The number of radio failures, such as aborted TX/RX packets, scheduling failures, and so on. |
BLE statistics are not reset persistent. Update of those statistics depends on the device’s current state.