Mode-S Beast:Data Input Formats: Difference between revisions
imported>Dl4mea No edit summary |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
The next character sets or resets a DIP switch: | The next character sets or resets a DIP switch: | ||
=== Mode-S Beast / Radarcape === | |||
{| class="wikitable" | {| class="wikitable" | ||
|'''DIP''' | |'''DIP''' | ||
|'''Bit''' | |||
|'''Function''' | |'''Function''' | ||
|'''OFF, open = lower case characters''' | |'''OFF, open = lower case characters''' | ||
Line 18: | Line 21: | ||
|- | |- | ||
|1,2 | |1,2 | ||
| - | |||
|Baudrate | |Baudrate | ||
|not supported | |not supported | ||
Line 23: | Line 27: | ||
|- | |- | ||
|3 | |3 | ||
|Output Format | |0 | ||
|Output Format AVR/Binary | |||
|"c" | |"c" | ||
|"C" | |"C" | ||
|- | |- | ||
|4 | |4 | ||
|1 | |||
|DF-11/17 only filter | |DF-11/17 only filter | ||
|"d" | |"d" | ||
Line 33: | Line 39: | ||
|- | |- | ||
|5 | |5 | ||
|MLAT info | |2 | ||
|MLAT info (AVR only) | |||
|"e" | |"e" | ||
|"E" | |"E" | ||
|- | |- | ||
|6 | |6 | ||
|3 | |||
|CRC check disable | |CRC check disable | ||
|"f" | |"f" | ||
Line 43: | Line 51: | ||
|- | |- | ||
|7 | |7 | ||
|DF0/4/5 masking filter | |4 | ||
|'''Mode-S Beast classic:'''<br/>DF0/4/5 masking filter | |||
|"g" | |||
|"G" | |||
|- | |||
|7 | |||
|4 | |||
|'''Radarcape/Mode-S Beast GPS:'''<br/>Legacy 12MHz Timestamp/<br>GPS Timestamp | |||
|"g" | |"g" | ||
|"G" | |"G" | ||
|- | |- | ||
|8 | |8 | ||
|RTS handshake | |5 | ||
|RTS handshake off/on | |||
|"h" | |"h" | ||
|"H" | |"H" | ||
|- | |- | ||
|9 | |9 | ||
|FEC disable | |6 | ||
|FEC disable yes/no | |||
|"i" | |"i" | ||
|"I" | |"I" | ||
|- | |- | ||
|10 | |10 | ||
|Mode-A/C enable | |7 | ||
|Mode-A/C enable on/off | |||
|"j" | |"j" | ||
|"J" | |"J" | ||
|} | |} | ||
=== Mode-S Beast Module === | |||
{| class="wikitable" | |||
|'''Function''' | |||
|'''OFF = lower case characters''' | |||
|'''ON = upper case characters'''<br>'''[Default]''' | |||
|- | |||
|Output Format | |||
|"c": AVR | |||
|"C": Binary | |||
|- | |||
|DF-11/17 only filter | |||
|"d": all known data formats | |||
|"D": only DF-11 and DF-17 | |||
|- | |||
|Timestamp info (AVR only) | |||
|"e": ommitted | |||
|"E": enabled | |||
|- | |||
|CRC check | |||
|"f": enabled | |||
|"F": disabled | |||
|- | |||
|Timestamp Resolution/<br> | |||
|"g": Legacy 12MHz Timestamp | |||
|"G": GPS Timestamp | |||
|- | |||
|Mode-A/C | |||
|"j": off | |||
|"J": on | |||
|- | |||
|User LED Red | |||
|"r": off | |||
|"R": on | |||
|- | |||
|User LED Yellow on/off | |||
|"y": off | |||
|"Y": on | |||
|} | |||
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 |
Latest revision as of 19:40, 15 May 2020
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 [Default] |
Output Format | "c": AVR | "C": Binary |
DF-11/17 only filter | "d": all known data formats | "D": only DF-11 and DF-17 |
Timestamp info (AVR only) | "e": ommitted | "E": enabled |
CRC check | "f": enabled | "F": disabled |
Timestamp Resolution/ |
"g": Legacy 12MHz Timestamp | "G": GPS Timestamp |
Mode-A/C | "j": off | "J": on |
User LED Red | "r": off | "R": on |
User LED Yellow on/off | "y": off | "Y": on |
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