Get System Info
This version of the Get System Info command is deprecated. Use Get System Info (v2) instead. |
The Get System Info command reports information for sensors that are visible in the system.
Firmware version refers to the version of the sensor's firmware installed on each individual sensor. The client can upgrade the sensor's firmware by sending the Start Upgrade command (see Start Upgrade).
Every sensor contains factory backup firmware. If a firmware upgrade command fails (e.g., power is interrupted), the factory backup firmware will be loaded when the sensor is reset or power cycled. In this case, the sensors will fall back to the factory default IP address. To avoid IP address conflicts in a multi-sensor system, connect to one sensor at a time and re-attempt the firmware upgrade.
Field |
Type |
Offset |
Description |
---|---|---|---|
length |
32u |
0 |
Command size including this field, in bytes. |
id |
16u |
4 |
Command identifier (0x4002) |
Field |
Type |
Offset |
Description |
---|---|---|---|
length |
32u |
0 |
Reply size including this field, in bytes. |
id |
16u |
4 |
Reply identifier (0x4002). |
status |
32s |
6 |
Reply status. For a list of status codes, see Status Codes. |
localInfo |
10 |
Info for this device. |
|
remoteCount |
32u |
66 |
Number of discovered sensors. |
remoteInfo[remoteCount] |
70 |
List of info for discovered sensors. |
Field |
Type |
Offset |
Description |
---|---|---|---|
deviceId | 32u | 0 | Serial number of the device. |
address[4] | byte | 4 | IP address (most significant byte first). |
modelName[32] | char | 8 | Model name. |
firmwareVersion[4] | byte | 40 | Firmware version (most significant byte first). |
state | 32s | 44 |
Sensor state -1 – Conflict 0 – Ready 1 – Running For more information on states, see States. |
role | 32s | 48 |
Sensor role 0 – Main 1 – Buddy |
buddyId | 32s | 52 | Serial number of paired device (main or buddy). 0 if unpaired. |