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

From Beast Wiki
Jump to navigation Jump to search
No edit summary
Line 88: Line 88:
|'''ON = upper case characters'''
|'''ON = upper case characters'''
|-
|-
|Output Format AVR/Binary
|Output Format
|"c"
|"c": Binary
|"C"
|"C": AVR
|-
|-
|DF-11/17 only filter
|DF-11/17 only filter
Line 100: Line 100:
|"E"
|"E"
|-
|-
|CRC check disable
|CRC check  
|"f"
|"f": disabled
|"F"
|"F": enabled
|-
|-
|Legacy 12MHz Timestamp/<br>GPS Timestamp
|Timestamp Resolution/<br>
|"g"
|"g": GPS Timestamp
|"G"
|"G": Legacy 12MHz Timestamp
|-
|-
|RTS handshake off/on
|Mode-A/C
|"h"
|"j": on
|"H"
|"J": off
|-
|-
|Mode-A/C enable on/off
|User LED Red  
|"j"
|"r": on
|"J"
|"R": off
|-
|User LED Red on/off
|"r"
|"R"
|-
|-
|User LED Yellow on/off
|User LED Yellow on/off
|"y"
|"y": on
|"Y"
|"Y": off
|}
|}
Mode-S Beast module
* always outputs GPS Timestamp "daysec" part in a range of 0..83999
* Requires RTS input on low TTL for outputting data.


'''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:''' 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
'''Note:''' Setting 'g/G' is beeing used for GPS timestamp setting on the Radarcape

Revision as of 14:10, 7 June 2019

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:

Mode-S Beast / Radarcape

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

Mode-S Beast Module

Function OFF = lower case characters ON = upper case characters
Output Format "c": Binary "C": AVR
DF-11/17 only filter "d" "D"
Timestamp info (AVR only) "e" "E"
CRC check "f": disabled "F": enabled
Timestamp Resolution/
"g": GPS Timestamp "G": Legacy 12MHz Timestamp
Mode-A/C "j": on "J": off
User LED Red "r": on "R": off
User LED Yellow on/off "y": on "Y": off

Mode-S Beast module

  • always outputs GPS Timestamp "daysec" part in a range of 0..83999
  • Requires RTS input on low TTL for outputting data.

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