62
Data Format
Data frames:
<STX><length> [message] <checksum><ETX>
1 1 n 1 1
Data transmission: 9600 baud, even parity, 8 bit, 2 stop
<STX>
is issued as the start character and
<ETX>
as the end character
All characters between the start and end are processed so that no <STX> nor
<ETX> are contained.
<STX>
becomes character string:
<ENQ> <DC2>
<ETX>
becomes character string:
<ENQ> <DC3>
<ENQ>
becomes character string:
<ENQ> <NAK>
•
After receiving a data packet, processing must be interrupted before the length
and checksum can be checked.
•
The length indicates the number of characters in the message.
•
The checksum is the negative 8-bit sum of bytes from <STX> up to the last
character in the message. If all the characters (from STX to the checksum)
are added and then 255 is subtracted, it must result in 0.
In the case of faulty data reception, the radio interface issues the message <NAK>.
<STX> <01h> <NAK> <0E8h> <ETX>
Note:
In the following description of the individual commands, only the actual mes-
sage is indicated as the reply. The data structure must be added
.
Содержание WS-2010
Страница 1: ...1 PC Radio Weather Station Operating and Evaluation Software for Windows 95 98 NT ...
Страница 7: ...7 Chapter 1 Introduction ...
Страница 14: ...14 ...
Страница 15: ...15 Chapter 2 Commissioning ...
Страница 24: ...24 ...
Страница 25: ...25 Chapter 3 File ...
Страница 31: ...31 Chapter 4 Display ...
Страница 36: ...36 ...
Страница 37: ...37 Chapter 5 Weather Display ...
Страница 39: ...39 Chapter 6 Interface ...
Страница 43: ...43 Chapter 7 View ...
Страница 47: ...47 Chapter 8 Windows ...
Страница 49: ...49 Chapter 9 Buttons ...