Vega ALT-5 Operating Manual page 7

Altimeter and vertical speed indicator with a transponder compatible serial rs232 output
Table of Contents

Advertisement

Vega ALT-5 Operating Manual
Microair UAV
9600
Infiniteq
57600
STX=0x02
ETX=0x03
CR=0x0D
Infiniteq protocol format:
STX, Address, Message type, Length, Data payload, Checksum, ETX
STX: Start of text (0x02)
Address: unsigned char (8bit), (0x01)
Message Type: unsigned char (8bit), (0x05)
Length: unsigned char (8bit), Length of the data payload (does not include the STX, Address, message type, checksum or
ETX), (0x06)
Data payload:
Altitude:
Vertical Speed:
Checksum: unsigned char (8bit), XOR of all bytes starting from the unit address to the end of the data payload. The
checksum is seeded with 0xa5. (does not include the STX or ETX)
ETX: End of text (0x03)
justified zero padded (corrected to local
pressure), L, local pressure setting in
millibars,+/-, four digit VSI reading right
justified zero padded in ft/min, X,
checksum, carriage return
The checksum is a simple modulo 256 sum
of the binary values of the individual
characters. The checksum is sent as two
characters in hexadecimal format
STX,a,=, five altitude digits right justified
zero padded, ETX
See Infiniteq protocol format below
Signed Long (32 bit), Altitude in feet (Referenced to 1013.25mB)
Signed Int (16 bit), Vertical Speed in ft/min
[STX]a=02372[ETX]
Page 7

Advertisement

Table of Contents
loading

Table of Contents