Command

The command structure is made of multiple parameters, of which only one is mandatory.

FieldType
Commandint32
Parameterint32?
Filterstring?

Command field

The command field can contain an enum from the below table.

EnumValue
Ota100
Ok101
Nok102
TesterInfo103
Import104
Export105
End106
DateTime107

Parameter field

The parameter field can contain an enum from the below table

EnumValue
Start108
OtaErase109
ShowUpdatePopup110
Project111
DUT112
DUTStep113
TestPlan114
TestPlanStep115

Folder field

The parameter field can contain an enum from the below table

EnumValue
CUSTOM TESTPLAN116
FACTORY TESTPLAN117
USED TESTPLAN118

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.

FieldType
Parameterint32?
Folderint32?
Path sections[UID]

Ota message

Ota is a structure that holds values needed for OTA update.

FieldType
sequence numberint32
addressint32
byte_arraybyte_array

Tester info

Tester info is the response to command TesterInfo.

FieldType
Firmware STMstring
Firmware nRFstring
Protocol versionstring
Serial numberint32
Modelstring
Last calibration dateint32

OtaInfo message

OtaInfo is a structure that holds values needed for OTA update.

FieldType
number of packetsint32
overall crc32int32
firmware_versionstring