There's probably a better way to check if a string is set? http://linuxcommand.org/lc3_man_pages/bash1.html -z string True if the length of string is zero. I learn something new every day ... I feel like bash always has something new for me .. heh https://serverfault.com/questions/7503/how-to-determine-if-a-bash-variable-is-empty ... You can test to see if a variable is specifically unset (as distinct from an empty string): if [[ -z ${variable+x} ]] where the "x" is arbitrary. If you want to know whether a variable is null but not unset: if [[ -z $variable && ${variable+x} ]]
Take back what I said on Wednesday. My windows build is indeed working and 978 traffic is in fact making it here to ADSBX. Possibly create an installer for all this stuff for windows to go along with your nix images
The most common way I do this is: Code: if [ "x$VARIABLE" == "x" ]; then echo "You forgot to set VARIABLE..." exit -1 fi This is because if "$VARIABLE" is empty, the test becomes " if [ "x" == "x" ] " which will not complain about an empty variable in the test expression It should be equivalent to the -z check, which is shorter, and perhaps more legible. I'm just old and use the other method from habit Now, for the "+x" trick to work, you have to use DOUBLE brackets [[ ]], but be warned that is not 100% portable. (Any semi-recent version of bash should support it, though). That said, I'm not sure how you'd need that in this case... since the hope (it seemed) was to just set the port if it wasn't already set in the config/settings file, no? Anyway - the double brackets can do fancy things like RegEx matching, too... more here: http://mywiki.wooledge.org/BashFAQ/031
I am confused.. I see calls for /tmp/adsbx-params as well as /tmp/params I am using the ADSBx Flight Aware dual image and there is no file named adsbx-params, params does exist. I did a sudo find and there were no files adsbx-params anywhere. The stock adsbexchange-978_maint.sh shell script calls for /tmp/params. Which script uses /tmp/adsbx-params ?
Different image. The custom ADSBx image with Grafana uses /tmp/adsbx-params. The FlightAware image uses tmp/params because that's what FA uses.
Greetings, I am interested in capturing aircraft that do not work in 1090, mostly many old planes. Download dump 978 windows it tells me that my operating system tells me that the version of that file is not compatible I have searched many pages and I want to share what I found https://zaitcev.livejournal.com/226449.html https://www.pilotsofamerica.com/community/threads/diy-open-source-traffic.65894/ https://www.pilotsofamerica.com/community/threads/ads-b-uat-receiver-for-computer.79031/ https://www.reddit.com/r/stratux/comments/53u7eg/stratux_for_flight_tracking/ I'm interested in exploring the world 978 mhz can help me start from scratch how to build the antenna and a program that can be used with windows
I can't help you with software (978 doesn't work in Europe). But here is link to very handy antenna calculators: http://m0ukd.com/calculators/
The big question the airplanes that do not appear in my VRS, how often are they working? the nearest airport can see aircraft the secondary radar RSM 970S I have possibilities to observe something ?
It all depends on their transponder, we can only get a lock on mode-s 1090 mhz (using MLAT), ADS-B (1090 mhz), and those in the US installing 978 transponders. Mode C altitude, we only know they are within a radius of the reciever, but we really don't know where. If you are by a 978 tower, you can decode the puck messages and you'll get those planes that ATC is using radar to position (but only in the US). I think the UK is running a trial of 978 and I suspect at least the 978 weather features will be adopted by the rest of the world.