piopawlu.net General Purpose Blog by Piotr Pawluczuk – software, hardware and other not always useful stuff!

SBS1 Utils – obsolete

I'm finally ready to publish my utilities for SBS1 receiver. Please note these are still beta versions and therefore there might be some bugs left around. Below you have a list of all the tools together with a short description and command line for each of them. These utilities are meant for open source, freeware and research projects only. You must not use it commercially without my approval.

If you find these utilities useful you can show your appreciation by donating any amount using the PayPal button below


sbs1mpx - A multiplexer for both Etherned and USB based SBS-1 receiver. It allows you to connect more than one PC and/or other utility to one radar box. Please note that a decent network connection is required as it does not use a queue yet.. so if sending goes slow it might cause SBS1 connection drop outs. This is by far the most stable and tested tool. I've been using it non-stop for more than a month and I haven't encountered a single crash. This tool is available for UNIX based systems only. If you want to use it on Windows please purchase a copy of Multi-EM from JetVision.de.

Download current version (2008-09-18):


sbs1hex - A simple data feeder which serves RAW hex-encoded ICAO messages one per line with timestamp. Use this if you want to implement data decoding yourself.

Download current version (2008-09-18):


sbs1emu - A simple emulator which can replay files recorded with sbs1tcp/sbs1rec. When operating it behaves just like SBS-1 but it playbacks the same data over and over again. This utility is quite useful for debugging and developing decoders.

Download current version (2008-09-18):


sbs1tcp - A decoder of Mode S/ADS-B messages. This utility is supposed to replace BaseStation TCP30003 data port, but for now it uses a custom data format. In future there will be a compatibility switch which will produce TCP30003 compatible output. Each line of the output consists of a few comma separated fields. Not all of them are fully implemented and as mentioned before there might be some errors in the decoded stream. Also more fields will come, so please make sure you handle it properly to maintain compatibility with later releases. New fields will be added after the "On ground flag".

Example: 1219054588,,49d056,49.276016,18.190472,43400,1440,CSA922,0,97,442,0,5bb,408,LF

  1. Unix time stamp
  2. Placeholder for the SBS1 internal timer
  3. Mode S address
  4. Latitude
  5. Longitude
  6. Altitude
  7. Squawk
  8. Call sign
  9. Vertical speed
  10. Track/Heading
  11. Ground speed
  12. On ground flag
  13. Available fields bit flags - explanation will be published later
  14. Modified fields bit flags - explanation will be published later
  15. LF - Last Field marker

Download current version (2008-09-18):

Comments (6) Trackbacks (0)
  1. I’m assuming that sbs1hex is outputting data from the SBS1, but not the data to the SBS1. That is, the scanner poop. Is this correct? I will have to modify my parser a bit, but that’s not too hard.

    Thanks for the great application Piotr!

  2. By the way, for others out there with a Mark I box (pre-5000 serial number), you must specify the –sbsdev /dev/ttyUSB1 in your command line. The Mark I has two USB ports, but USB1 is for data to the computer.

  3. also check http://mode-s.66ghz.com for certain tools
    Babelfish is your friend

  4. I want to ask a favour of you. Can you make the outut of sbstcp as XML?
    XML is the best way for exchanging SBS1 data.

    Thanks for the very good programms !

  5. Sure, this is quite a good idea.. any specification? Maybe it would be worth doing it compatible with AirNav’s RadarBox XML output? But I have no idea about its specification :)

  6. Hi im looking into the SBS1hex..
    I cant find any LF or CR for each line transmitted..
    Im i doing it the wrong way? Any info is appreciated.
    Thanks for all the good apps!


Leave a comment


Anti-Spam Protection by WP-SpamFree

Trackbacks are disabled.