SDRPLAY linux commandline tools?
Re: SDRPLAY linux commandline tools?
that did the job, but still not getting adsb data out with dump1090 using the --ifile option.....
Reason: No reason
Re: SDRPLAY linux commandline tools?
Reason: No reason
Re: SDRPLAY linux commandline tools?
is there an easy way to implement the gain adjustment to the rawIQ:
Code: Select all
/* adjust gain if required */
if (max_sig > MAX_GAIN_THRESH) mir_sdr_SetGr (1, 0, 0);
if (max_sig < MIN_GAIN_THRESH) mir_sdr_SetGr (-1, 0, 0);
can i use the ibuf and qbuf for it?
Code: Select all
for (i = 0; i < count1 >> 1; i++)
{
sig_i = (ibuf[input_index] >> 8) + 127;
if (sig_i < 0) sig_i = 0;
dptr[data_index++] = (unsigned char) sig_i;
sig_q = (qbuf[input_index++] >> 8) + 127;
if (sig_q < 0) sig_q = 0;
dptr[data_index++] = (unsigned char) sig_q;
if (sig_i > max_sig) max_sig = sig_i;
}
Code: Select all
if (data_index >= (MODES_ASYNC_BUF_SIZE * MODES_ASYNC_BUF_NUMBER))
regards
Reason: No reason
Re: SDRPLAY linux commandline tools?
that code you've pasted comes from the ADS-B code doesn't it? That's specific to the signal we're looking for there. You probably want a more generic AGC algorithm, I could probably add a simple scheme but I'm a bit backed up with other stuff at the moment, need more hours in the day

SDRplay Support
Reason: No reason
Re: SDRPLAY linux commandline tools?

thx
regards
Reason: No reason
Re: SDRPLAY linux commandline tools?
any news regarding the AGC?
regards
Reason: No reason
Re: SDRPLAY linux commandline tools?
Reason: No reason
Re: SDRPLAY linux commandline tools?
Reason: No reason
Re: SDRPLAY linux commandline tools?
So you will just be able to start stream and then turn AGC on/off with one line of code. We're trying to get it ready for release very soon.
Best regards,
SDRplay Support
Reason: No reason
Re: SDRPLAY linux commandline tools?
well after updating the api my rawIQ wont work anymore...
./rawIQ: symbol lookup error: /usr/local/lib/libmirsdrapi-rsp.so: undefined symbol: pow
maybe you can drop some code here...thanks!
regards
Reason: No reason