Page 13 of 18
Add directory
Command: 02 length 07 path mode CRC 03
<length>: The length must be less than 200 bytes.
<path>: A NULL-terminated string which defines the absolutely path of the directory.
The length of the path must be less than 200 bytes.
<mode>: Defines the mode of the directory.
Bit0: 1 means can be executed, 0 means not.
Bit1: 1 means can be written, 0 means not.
Bit2: 1 means can be read, 0 means not.
Response: Error status
Reboot
Command: 02 09 00 00 00 0A e7 01 03
Response: Error status
Get system version
Command: 02 09 00 00 00 31 B7 8E 03
Response: Error status [NULL-terminated version string]
Get serial number
Command: 02 09 00 00 00 32 2C BC 03
Response: Error status [NULL-terminated serial number string]
5.4 Test Application
This application is used for manufacturing, and if present, maybe deleted by user. It is used
for basic diagnostic testing.
This embedded application uses the RS232 port to communicate with the host. The
parameters are: 115200, 8, N, 1.
This embedded application listens for commands from the host (or external device) and sends
back the corresponding responses. The commands and responses are all in ID TECH
NGA format, which is
STX (02) + Len Len C LRC (XOR of command bytes)
+ Sum (8-bit sum of command bytes) + ETX (03)
5.5 Command set (RS232 Test App)
Ping
It’s used to verify the accessibility of the device.
Command: 18
Response: 06