62: Cellular Diagnostics
Runtime cellular-module, upload-buffer, and internet-link diagnostic state. GET returns NotSupported when cellular diagnostics are unavailable on the device. Upload-buffer and primary-link values are zero when their runtime objects are absent. Secondary-link fields 13-15 are omitted when that link is unavailable.
Header
| Field | Name | Description | Type |
|---|---|---|---|
| 5 | Method | Request a service to be perform an action Possible values:
| uint8 |
Payload
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 1 | Cellular Module State | Possible values:
| uint8 | |
| 2 | Network Registration | Cellular network registration code reported by the modem Possible values:
| uint8 | |
| 3 | Pending Upload Files | Files waiting to be uploaded | uint16 | |
| 4 | Buffer 0 Used | uint8 | % | |
| 5 | Buffer 1 Used | uint8 | % | |
| 6 | Buffer 2 Used | uint8 | % | |
| 10 | Primary Link Open | bool | ||
| 11 | Primary Link RX Count | uint32 | ||
| 12 | Primary Link TX Count | uint32 | ||
| 13 | Secondary Link Open | Omitted when a secondary link is unavailable | bool | |
| 14 | Secondary Link RX Count | Omitted when a secondary link is unavailable | uint32 | |
| 15 | Secondary Link TX Count | Omitted when a secondary link is unavailable | uint32 |
Code
For convenience, the following constants can be used to reference this message type.