projecthorus / radiosonde_auto_rx

Automatically Track Radiosonde Launches using RTLSDR
GNU General Public License v3.0
477 stars 124 forks source link

RS41 aux data #119

Closed TheSkorm closed 5 years ago

TheSkorm commented 5 years ago

We should be logging and reporting aux data for RS41s

TheSkorm commented 5 years ago

Some samples recorded for testing

rs1729 commented 5 years ago

If there are more than 1 aux-string in one frame, it overwrites the string with the last aux-message, however if a previous one was longer, the leftovers are still visible. (also the last character is chopped.)

rs41dm_iq.c was prepared for aux and conf data. I added json-output for aux-data, so you can compare.

if you don't have a multiple aux example: rs41aux_20160202.wav.gz

TheSkorm commented 5 years ago

Nice catch @rs1729 ; My real world sample only had one sensor so didn't have this issue. I'll patch this later. It should be as simple as adding a null char after the loop. I'm not sure how we should handle multiple aux frames though. I guess we could make the JSON have an array of aux data but I'm not sure how we'd handle that with the logging

rs1729 commented 5 years ago

Here https://github.com/rs1729/RS/blob/master/demod/rs41dm_iq.c I concatenate the aux-strings, using '#' as separator.

darksidelemm commented 5 years ago

Resolved by https://github.com/projecthorus/radiosonde_auto_rx/pull/138