Closed acarslogger closed 6 years ago
A better example of the latitude and longitude decoding. 20 DF EE Translates to 52.5N 1.8W (Birmingham EGBB)
I added private ground station xid decoding (C0 to C8), but, as I said, I don't receive ground stations so I can't test. Could you test my last commit c0068b3ea37abe0c , and send me some logs with -v 3
Edit : hummm, negative long are probably wrong. Will see that lateer
Not sure if it's you or me, but I've updated my Raspberry Pi with the latest version (includes changes from the last 24 hours), and now I'm not getting any output in the log file! I don't think I've changed anything at my end but I will investigate further.
well, be sure to do a make clean before compiling new version. I have a problem now : I don't have a rtl dongle anymore (I must buy a new one soon). I test only the airspy version for the moment.
I fixed lat/lon . I would appreciate test wit ground station reception.
I'll test it when I can get vdlm2dec working again. As I said above I'm not getting anything written to the log file since you've incorporated the recent changes. I'm using an RTL-SDR v3. I'll continue to investigate. Is this the same issue as issue 9 where a clean install of vdlm2dec Does not result in any decodes..
Edit - should be issue 9.
Actual Broadcast Message received using the latest version (still v2.0?) of vdlm2dec.
[#5 (F:136.975 P:-2.0) 23/01/2018 22:23:24.665 -------------------------------- Command from Ground: 262257 to FFFFFF Frame-U: XID Specific options: VDA:ESN:IHN:BHN:BCN Frequency support : 136.870000 (2) 262241 136.870000 (2) 262243 136.870000 (2) 262242 Airport coverage : EGLL ATN router nets : ADM: 534954 ARS : 000001 Station system mask : 200000 Station Position 51.5 -0.4
The Airport Coverage ICAO code and the Station Position are correct. The Frequency support ground station ids are also correct, although I think the frequency data in the broadcast message is only 2 inferred decimal places. From DO-224C: As an example, for a frequency of 131.725 MHz, the encoded value is decimal 3172 or hexadecimal C64.
So maybe either display 136.87 or use the airband frequency of 136.875. I assume the (2) is the modulation - D8PSK, Mode 2, 31500 bps Thanks.
ok I fixed freq display by displaying only 2 decimals. (what a strange specification ...)
A Broadcast Message transmitted from a VDL2 ground station usually contains a local airport name and location e.g a 4 character ICAO code (EGLC) and a latitude and longitude location. Can vdlm2dec also decode this data and add it as minimum to the "-v 1" normal output logs?
A Broadcast message in vdlm2dec -v 3 format from vdl2 ground station 260F37 EGLC.
The definition is in RTCA DO 224C.
The 4 character ICAO airport code EGLC is fairly obvious!
The latitude and longitude are encoded in the last 3 bytes or your message above e.g. 20 30 00 12 bits for the latitude, 12 bits for longitude. First bit is sign; 0 = positive = North or East. If sign = 1 = negative = South or West. Then need twos-compliment. Remaining 11 bits are the value. For EGLC latitude value is 515 = 51.5N, longitude = 0 = 0.0E (maybe not the best example to use!)