You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
sungo 7738474ac1 rehome from git.sungo.wtf to git.sungo.io 1 month ago
.gitignore init with working code but without tests to prove it 1 year ago
LICENSE.txt init with working code but without tests to prove it 1 year ago
Makefile go mod support and a switch to staticcheck 3 months ago
README.md init with working code but without tests to prove it 1 year ago
go.mod rehome from git.sungo.wtf to git.sungo.io 1 month ago
go.sum rehome from git.sungo.wtf to git.sungo.io 1 month ago
main.go init with working code but without tests to prove it 1 year ago

README.md

What?

go-sbs provides a parser for SBS-1 CSV format data otherwise known as “SBS-1 BaseStation Port 30003” format.

The SBS-1 data format was developed, it seems, by Kinetic Avionics Limited for the BaseStation SDR product. This library, like pretty much every other, takes most of its understanding of the data format from http://woodair.net/SBS/Article/Barebones42_Socket_Data.htm

The dump1090 bits come from code diving dump1090-fa, the actively maintained (but not very well documented imnsho) fork of dump1090 by FlightAware. https://github.com/flightaware/dump1090

Support / Contributing

I’m putting this up on the public interwebs because I couldn’t find such a thing when I needed it. Maybe it’ll help you out in a moment of darkness. Because, really, who has time to figure out this weird CSV? Well, me, for a bit.

This is a personal side project and will get about that much attention, maybe less. Feel free to file issues but I make no promise as to when I’ll get to them. I’m not real keen on pull requests because I don’t really have time to do proper reviews. But, feel free to fork the code, respecting the license, and have your way with it.

License

Copyright Matt Cashner (sungo)

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.