Packet Structure SureTemp Plus Module OEM Implementation
32 Confidential Welch Allyn OEM Technologies
Command Block
Response Block
Type Codes
Data Types
Data types used throughout are derived from the base data types found in the C programming
language and are listed below.
Character Arrays
Arrays of ASCII characters are treated as standard C strings, terminated by the null character.
Note that in some instances, the array returned may contain characters beyond the null
terminator; ignore these characters.
3-byte preamble 0x03, 0x02, 0x10
2-byte command code CC-high, CC-low
1-byte type code TT-high
2-byte data size SS-low, SS-high
X bytes of response data (format depends on command)
1-byte checksum 0xYY
3-byte preamble 0x03, 0x02, 0x10
2-byte command code CC-high, CC-low
1-byte type code TT-high
2-byte data size SS-low, SS-high
X bytes of response data (format depends on command)
1-byte checksum 0xYY
0x01 Identifies the message as a Command
0x02 Indicates Good Response
0x03 Indicates Bad Response (NAK)
Komentarze do niniejszej Instrukcji