Comments (3)
Well, the C34 decoder has no JSON output, only C50. I added JSON output to C50 to see if it would be used in auto_rx, but I think it is still pending. It was not clear that the C34 would continue to be in service.
The detection of C34 and C50 is very similar, and AFSK is pita. The C50 AFSK modulation does not have the idle states between 8N1 stop and start bit. (And the NMEA data format is a bit different.) dft_detect
does not go so deep, since the C50 is not very common, the effort is kept to a minimum.
Q2: probably, but would take more computing effort, and dft_detect
has to rule out many different types, so if it is not necessary, rather won't do it. M10/M20 is a similar problem. Same with the Meisei types, though there both in one decoder. It's often a trade off.
For DFM-06/09/17 it is different, there is only one decoder for all DFMs. The only thing that matters is polarity, and that's given by the sign of the dft_detect
output. In the early versions of dft_detect
/rs_detect
the sign was relative to the old dfm06-decoder, then I changed it to be relative to the new decoder dfm09mod
. Anyway, it depends on your receiver setup, which sign is which, because e.g. the soundcard could invert the polarity, or the sdr program thinks different about IQ sample order (early sdrsharp). The decoders are ment to be compatible with rtl_sdr
and rtl_fm
, i.e. the dfm09mod
decoder should be used with + polarity for DFM-09 and -i
or inverted polarity for DFM-06 (and early DFM-09 with DFM-06 hardware).
E.g. if dft_detect
outputs DFM9: 0.9133
, use dfm09mod
as it is, however if the output is e.g. DFM9: -0.8634
, use dfm09mod -i ...
for that signal. If your sdr-setup has same polarity as rtl_sdr, the negative output probably indicates DFM-06 or Pilotsonde, or some DFM-17 variant, have seen both DFM-17 (was it the "D"-Version?), maybe DFM-17-Tests.
You could also try dfm09mod --auto -vv
for auto-detect. Is this that you asked in Q1? I cannot say how reliable the --auto
option is.
Option -v
will give you the serial number and packet number of the serial number which gives you some clues what model it is. "ID06" is DFM06, "ID09" is most likely DFM-09 (packet "0xA"), "ID-C" is probably either DFM-17 or DFM-09P (w/ pressure sensor), then there is also "ID-D", and the pilotsondes have lower packet numbers "7" or "8" (they don't have so many different packets).
Remark:
The DFM radiosondes have 9 different GPS packets and between 5, and 0xD (or more?) PTU/config packets depending on the type of DFM and sensors. The last of the config packets contains the serial number.
https://github.com/rs1729/RS/blob/master/dfm/dfm06.txt
from rs.
ah, ok, thank you for the explanation. I have removed c34 decoder and take into account the sign of the second parameter returned by dfm_detect to invert polarity for DFM sondes.
from rs.
Added JSON output to C34 decoder.
from rs.
Related Issues (20)
- RS41 SGP Pressure Sensor Value HOT 2
- RS41 - dew point HOT 2
- rawhex input HOT 2
- Commandline for direct decode with rtl_fm HOT 10
- RS92 PTU HOT 3
- fft calculated using iq_server looks a bit strange HOT 12
- MP3-H1 sondes bandwidth HOT 2
- PTU not printed in JSON in silent mode HOT 1
- iq_server continues fft scanning mode HOT 5
- iq_fm --wav switch creates wav that canno't be played with the aplay HOT 7
- bch_ecc.c:54:15: error: unknown type name ‘ui8_t’ HOT 2
- RS41 temperature and humidity calculation. HOT 3
- DFM XDATA Support? HOT 7
- m10ptu show invalid frames HOT 2
- Meteosis: help needed HOT 59
- MRZ-H1 uBlox Version HOT 4
- Missing db.txt HOT 3
- Weathex WxR-301D decoding HOT 28
- weathex sonde HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rs.