SDRPLAY linux commandline tools?
Re: SDRPLAY linux commandline tools?
thx sasan,
that did the job, but still not getting adsb data out with dump1090 using the --ifile option.....
that did the job, but still not getting adsb data out with dump1090 using the --ifile option.....
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
@sdrplay,
is there an easy way to implement the gain adjustment to the rawIQ:
if yes please let me know how?
can i use the ibuf and qbuf for it?
but what to take for:
thx
regards
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
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
you want to implement AGC?
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
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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
yep it is from the ADSB code, ok i thought you might have something wirkong out of the box - no problem, just drop some code here when you are bored
thx
regards
thx
regards
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
Hi,
any news regarding the AGC?
regards
any news regarding the AGC?
regards
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
*push*
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
push again....
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
sorry 0815 please bear with us, we're in the middle of getting the new API released. We have pushed the AGC into the API and also made the API easier to use.
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
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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: SDRPLAY linux commandline tools?
@sdrplay,
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
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
Last edited by 0815 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason