Mode-S Beast:Data Input Formats: Difference between revisions

From Beast Wiki
Jump to navigation Jump to search
imported>Dl4mea
No edit summary
imported>Dl4mea
No edit summary
Line 33: Line 33:
|-
|-
|5
|5
|MLAT info
|MLAT info (AVR only)
|"e"
|"e"
|"E"
|"E"
Line 53: Line 53:
|-
|-
|8
|8
|RTS handshake
|RTS handshake off/on
|"h"
|"h"
|"H"
|"H"
|-
|-
|9
|9
|FEC disable
|FEC disable yes/no
|"i"
|"i"
|"I"
|"I"
|-
|-
|10
|10
|Mode-A/C enable
|Mode-A/C enable on/off
|"j"
|"j"
|"J"
|"J"

Revision as of 07:58, 4 February 2016

The DIP switches are read during startup and taken as a default. Later they can be overwritten by software commands. Anyway, if then a DIP is changed to a position that is different to the pervious settings (by either hardware or software), the new setting takes account.

The software commands are the same in each output mode.

The input format is similar to the binary output format and allows control of DIP#3 until DIP#10 since baudrate setting does not make any sense over a serial interface. All commands start with a sequence

<esc> "1" <esc> is 0x1a, and "1" is 0x31

The next character sets or resets a DIP switch:

DIP Function OFF, open = lower case characters ON, closed = upper case characters
1,2 Baudrate not supported not supported
3 Output Format AVR/Binary "c" "C"
4 DF-11/17 only filter "d" "D"
5 MLAT info (AVR only) "e" "E"
6 CRC check disable "f" "F"
7 Mode-S Beast classic:
DF0/4/5 masking filter
"g" "G"
7 Radarcape:
Legacy 12MHz Timestamp/
GPS Timestamp
"g" "G"
8 RTS handshake off/on "h" "H"
9 FEC disable yes/no "i" "I"
10 Mode-A/C enable on/off "j" "J"

Note: Months after the binary format was introduced, I got noticed that in ASCII <esc> is encoded as 0x1b. I actually wanted to use this code, but unfortunately only implemented my believes. For compatiblity reasons this will now stay as 0x1a and not be changed.

Note: Setting 'g/G' is beeing used for GPS timestamp setting on the Radarcape