General Slave To Master Communication Frame Format Is Described Below.
Slave sends a response back to the Master. The data are separated by either a
Space or Semicolon. The data is ASCII encoded.
Packet Entry
Description
Notes
Start
Packet Header (0xA5)
Start of frame Identifier
(Mandatory for streaming data)
SA
Source Address (Master)
Optional
DA
Destination Address
(PC or another device)
Optional
Command
Type of command (0…. 65535)
Same Command as sent from the
Master (if applicable) - Optional
Length
Data Packet Length (1…255)
# of bytes in the packet
Data 0
Data 1
Data 2
Data n
Checksum or CRC
Optional
End
CR
Carriage Return
Table 10-3. Master/Slave Communications Frame Format
The command field is the HEX equivalent of the command string sent by Master.
Checksum = Checksum of the complete frame. Checksum will be calculated by
adding the frame bytes from Packet header to Data N and truncated into 16 bit
values.
Communication Protocol
10
10-3