Appendix C. Bavarian Protocol
All Bavarian Network commands follow the command format as specified in this section.
Bavarian Network Command Format
<STX><text><ETX>< bcc1><bcc2>
Where:
<STX> = ASCII start of transmission = 0x02 hex
<text> = ASCII text maximum length of 120 characters
<ETX> = ASCII end of transmission = 0x03 hex
<bcc1> = ASCII representation of block check value MSB
<bcc2> = ASCII representation of block check value LSB
The block check algorithm begins with 0 and exclusive-OR’s each ASCII character from <STX> to
<ETX> inclusive. This block check value is then converted to ASCII format and sent after the <ETX>
character.
Examples
The following is an example of a valid Bavarian data request for an instrument that has an ID of 97:
<STX>DA097<EXT>3A
The block check calculation is best shown by the following example:
Table 13 – Block check calculation