Command
The command structure is made of multiple parameters, of which only one is mandatory.
| Field | Type |
|---|---|
| Command | int32 |
| Parameter | int32? |
| Filter | string? |
Command field
The command field can contain an enum from the below table.
| Enum | Value |
|---|---|
Ota | 100 |
Ok | 101 |
Nok | 102 |
TesterInfo | 103 |
Import | 104 |
Export | 105 |
End | 106 |
DateTime | 107 |
Parameter field
The parameter field can contain an enum from the below table
| Enum | Value |
|---|---|
Start | 108 |
OtaErase | 109 |
ShowUpdatePopup | 110 |
Project | 111 |
DUT | 112 |
DUTStep | 113 |
TestPlan | 114 |
TestPlanStep | 115 |
Folder field
The parameter field can contain an enum from the below table
| Enum | Value |
|---|---|
CUSTOM TESTPLAN | 116 |
FACTORY TESTPLAN | 117 |
USED TESTPLAN | 118 |
Filter field
The filter field can be a UNIX time integer to set the Hamilton time using DateTime command.
ImportExport command
The ImportExportCommand is a structure that contains path to the information it wants to import/export and a property that explains what type you're looking for.
ImportExportCommand is also used as a precursor before the exported item, so that we know where to store the data that follows it.
| Field | Type |
|---|---|
| Parameter | int32? |
| Folder | int32? |
| Path sections | [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 |