8.1.5 Serial Communications Protocol
Tables
Table 8-5: Request Frame Structure
Byte position | Byte Value (Hex) | Description | |
1 | 0xAA | Frame Sync 1 | |
|
|
| |
2 | 0x55 | Frame Sync 2 | |
3 | Destination Address | ||
|
|
| |
4 | Source Address | ||
5 | Protocol Version | Protocol compatibility hole, must be set to 0 | |
|
|
| |
6 | Request ID | Service Byte | |
7 | Command | 0, Set Request; 1, Get Request | |
|
|
| |
8 | Data Tag | 0, System Settings; 1, System Thresholds; 2, Temp. Sensor | |
Settings; 3, Conditions; 4, ADC Data; 5, Raw NVRAM/RAM Data | |||
|
| ||
9 | Data Address | Setting number, Sensor command, EEPROM address | |
|
|
| |
10 | Data Length | Total length of the data, valid values | |
11+N | Data | Actual Data | |
|
|
| |
11+N+1 | Checksum | Dest. Address + Source Address + Protocol Version + Request ID | |
+ Command + Data Tag + Data Address + Data Length + Data | |||
|
|
Table 8-6: Response Frame Structure
Byte position | Byte Value (Hex) | Description | |
1 | 0xAA | Frame Sync 1 | |
|
|
| |
2 | 0x55 | Frame Sync 2 | |
3 | Destination Address | ||
|
|
| |
4 | Source Address | ||
5 | Protocol Version | Protocol compatibility hole, must be set to 0 | |
|
|
| |
6 | Request ID | Service Byte | |
7 | Command | 2, Set Response; 3, Get Response | |
|
|
| |
8 | Data Tag | 0, System Settings; 1, System Thresholds; 2, Temp. Sensor | |
Settings; 3, Conditions; 4, ADC Data; 5, Raw NVRAM/RAM Data | |||
|
| ||
9 | Error Status | 0, No Errors; 1, Too Big; 2, No Such Data; 3, Bad Value; 4, Read | |
Only; 5, Bad Checksum; 6, Unrecognized Error | |||
|
| ||
10 | Data Length | Total length of the data, valid values | |
11+N | Data | Actual Data | |
|
|
| |
11+N+1 | Checksum | Dest. Address + Source Address + Protocol Version + Request ID | |
+ Command + Data Tag + Data Address + Data Length + Data | |||
|
|
66 | 208143 REV - | Operations Manual, HPA3, Mini Compact Outdoor SSPA |