diff --git a/VER.txt b/VER.txt index b7e09d1..5bc5e19 100644 --- a/VER.txt +++ b/VER.txt @@ -1 +1 @@ -15032019 \ No newline at end of file +17052019 \ No newline at end of file diff --git a/doc/Changelog.txt b/doc/Changelog.txt index 138803b..9f646fb 100644 --- a/doc/Changelog.txt +++ b/doc/Changelog.txt @@ -1,3 +1,17 @@ +17.05.2019 + - options for decoding RS92D (1.6GHz) + + sdrtst -r 50000 + sondeudp -f 50000 + + in sdrcfg.txt + f 1680.000 100 0 0 0 50000 + + +.... +.... +.... + 24.01.2018: - read sonde.csv file on start diff --git a/src/sdrtest.c b/src/sdrtest.c index 5f73b7e..77f6d39 100644 --- a/src/sdrtest.c +++ b/src/sdrtest.c @@ -563,6 +563,7 @@ static void updateChanT(){ double fhz; double khz; + long int qrg; khz = 1.0; if (iqrate>2048000) khz = (double)iqrate/(double)2048000; @@ -579,7 +580,12 @@ static void updateChanT(){ sndbufft[0]=0; strcat(sndbufft,"9 S K P "); } - sprintf(tmp,"%02i%06li",i+1,(long int)((midfreq/1000+(int32_t)rxx[i].df*khz+tt))); + + qrg=midfreq/1000+(int32_t)rxx[i].df*khz+tt; + + if(qrg>999000) qrg=(long int)(qrg/10); + + sprintf(tmp,"%02i%06li",i+1,(long int)(qrg)); tmp1[0]=tmp[0]; tmp1[1]=' '; tmp1[2]=tmp[1]; @@ -599,6 +605,7 @@ static void updateChanT(){ tmp1[16]=tmp[8]; tmp1[17]=' '; tmp1[18]=0; + printf("DEB:%s\n",tmp); strcat(sndbufft,tmp1); ++i; j++; diff --git a/src/sondeudp.c b/src/sondeudp.c index 76e12c5..501a635 100644 --- a/src/sondeudp.c +++ b/src/sondeudp.c @@ -739,6 +739,7 @@ static void Config(void) anonym->configbaud = 4800UL; anonym->demodbaud = (2UL*anonym->configbaud*65536UL)/adcrate; initafir(anonym->afirtab, 0UL, 2800UL,X2C_DIVR((float)chan[c].configequalizer,100.0f)); + //initafir(anonym->afirtab, 0UL, 12600UL,X2C_DIVR((float)chan[c].configequalizer,100.0f)); //12600 anonym->baudfine = 0L; anonym->noise = 0.0f; anonym->bitlev = 0.0f;