Command
The command structure is made of multiple parameters, of which only one is mandatory.
| Field | Type | Optional |
|---|---|---|
| Command | int32 | FALSE |
| Parameter | int32 | TRUE |
| Filter | string | TRUE |
Command field
The command field can contain an enum from the below table.
| Enum | Value |
|---|---|
Ota | 100 |
Ok | 150 |
Nok | 151 |
TesterInfo | 200 |
Import | 300 |
Export | 301 |
End | 400 |
DateTime | 500 |
Parameter field
The parameter field can contain an enum from the below table
| Enum | Value |
|---|---|
Start | 101 |
OtaErase | 102 |
ShowUpdatePopup | 103 |
ShowTransferInProgressPopup | 104 |
ShowTransferCompletedPopup | 105 |
Project | 350 |
Station | 351 |
Test | 352 |
Measurement | 353 |
Filter field
The filter field can be a UNIX time integer to set the Hamilton time using DateTime command.
Export command
The ExportCommand is a structure that contains path to the information it wants to export and a property that explains what type you're looking for.
| Field | Type |
|---|---|
| parameter | int32 |
| project | UID |
| station | UID |
| test | UID |
| measurement | UID |
Import command
The ImportCommand is a structure that contains path to the information it wants to import and a property that explains what type you're looking for. It needs to include the UID of the imported object
| Field | Type |
|---|---|
| parameter | int32 |
| project | UID |
| station | UID |
| test | UID |
| measurement | UID |
Ota message
Ota is a structure that holds values needed for OTA update.
| Field | Type |
|---|---|
| sequence number | int32 |
| address | int32 |
| byte_array | byte_array |
Tester info
Tester info is the response to command TesterInfo.
| Field | Type |
|---|---|
| Firmware STM | string |
| Firmware nRF | string |
| Protocol version | string |
| Serial number | int32 |
| Model | string |
| Last calibration date | int32 |
OtaInfo message
OtaInfo is a structure that holds values needed for OTA update.
| Field | Type |
|---|---|
| number of packets | int32 |
| overall crc32 | int32 |
| firmware_version | string |