op25 help!

Status
Not open for further replies.

R0am3r

Salt Water Conch
Premium Subscriber
Joined
Apr 13, 2014
Messages
737
Location
Oneida County, NY
My op25.sh file:
./rx.py --nocrypt --args "rtl" --gains 'lna:36' -S 960000 -q 0 -x 2.5 -T trunk.tsv -d 0 -v 1 -2 -V -U 2> stderr.2

This works for my RTL SDR, but I can't get it to work properly with my HackRF. I changed the args from "rtl" to "hackrf", but it still doesn't talk to the device. The OP25 app starts, but it doesn't seem to see the control channel and the tsbks remain at zero. Please note the HackRF works with gqrx. Any ideas why this won't work?
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,362
Location
Talbot Co, MD
My op25.sh file:
./rx.py --nocrypt --args "rtl" --gains 'lna:36' -S 960000 -q 0 -x 2.5 -T trunk.tsv -d 0 -v 1 -2 -V -U 2> stderr.2

This works for my RTL SDR, but I can't get it to work properly with my HackRF. I changed the args from "rtl" to "hackrf", but it still doesn't talk to the device. The OP25 app starts, but it doesn't seem to see the control channel and the tsbks remain at zero. Please note the HackRF works with gqrx. Any ideas why this won't work?
You likely need different parameters for --gains, --args or -S
Unfortunately I don't own a hackrf so I can't say what magic incantation is necessary to make it work.
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
932
Location
NE Wisconsin
I don't know what the defaults are for HackRF but you might try to specify all of the parameters.
Try something like this: ./rx.py --args 'hackrf' -N 'RF:14,IF:32,BB:26' -T trunk.tsv …… etc.

Depending on the signal level you have to work with, you might have to adjust the gain(s) higher or lower to get tsbks from the control channel.

Bill
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,362
Location
Talbot Co, MD
Will a Sdr Play Rsp1a work with op25? On a pi4?
sdrplay is supported by gr-osmocom driver so it should be possible to make the Rsp1a work with op25. Whether or not it works on a rpi4 I cannot say for sure, but if the rsp1a works with other apps on the rpi4 then op25 should as well.

You will need different command line parameters, but other than the driver name I don't know what they need to be.
--args "sdrplay"
--gains ??????
 

StaRipper

Member
Joined
Sep 15, 2008
Messages
10
sdrplay is supported by gr-osmocom driver so it should be possible to make the Rsp1a work with op25. Whether or not it works on a rpi4 I cannot say for sure, but if the rsp1a works with other apps on the rpi4 then op25 should as well.

You will need different command line parameters, but other than the driver name I don't know what they need to be.
--args "sdrplay"
--gains ??????

I can see the device on the Raspberry Pi 3 :

######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################
Found device 0
driver = sdrplay
label = SDRplay Dev0 RSP1

But still op25 is not starting with --args "sdrplay" nor with --args "rtl"

With --args 'soapy=0,driver=sdrplay' the op25 starts but "Waiting for data... " is displayed.

Anyone ?
 
Last edited:

rlmurray56

Member
Feed Provider
Joined
Oct 10, 2019
Messages
76
Location
Puyallup, WA
I can see the device on the Raspberry Pi 3 :

######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################
Found device 0
driver = sdrplay
label = SDRplay Dev0 RSP1

But still op25 is not starting with --args "sdrplay" nor with --args "rtl"

With --args 'soapy=0,driver=sdrplay' the op25 starts but "Waiting for data... " is displayed.

Anyone ?
I was never able to get OP25 to work with my RSP1a on a Pi4. Works great with GQRX however. I am now using SDR usb dongles exclusively with no problems at all on a Pi4.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,362
Location
Talbot Co, MD
Did not try this and I really don't need GQRX.
I was never able to get OP25 to work with my RSP1a on a Pi4. Works great with GQRX however. I am now using SDR usb dongles exclusively with no problems at all on a Pi4.
Understood, but my point for asking is that GQRX uses the gr-osmocom driver the same as op25, so whatever parameters work with gqrx should also work with op25.
 

StaRipper

Member
Joined
Sep 15, 2008
Messages
10
Understood, but my point for asking is that GQRX uses the gr-osmocom driver the same as op25, so whatever parameters work with gqrx should also work with op25.

Okay, I've tried with --args 'miri=0,driver=sdrplay' and tried 'miri=0' . same thing. the op25 starts, but "Waiting for data... " is displayed.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,362
Location
Talbot Co, MD
Okay, I've tried with --args 'miri=0,driver=sdrplay' and tried 'miri=0' . same thing. the op25 starts, but "Waiting for data... " is displayed.
The "waiting for data" message is generated by the http terminal when it hasn't been sent any updates from the trunking code. This might be as simple as the app not being tuned correctly so no TSBKs are being received. Have you looked at the specturum (fft) plot #1 to see if there in any signal being received?
 

StaRipper

Member
Joined
Sep 15, 2008
Messages
10
The "waiting for data" message is generated by the http terminal when it hasn't been sent any updates from the trunking code. This might be as simple as the app not being tuned correctly so no TSBKs are being received. Have you looked at the specturum (fft) plot #1 to see if there in any signal being received?
No information in FFT and it still showing "waiting for data" in FFT page too.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,362
Location
Talbot Co, MD
I really wish I could help more but I don't own an SDRPlay and have never used one. Hopefully someone that does can advise further.
Generally speaking with any SDR, you can increase the gains to bring up the signal level while watching for a rise in the noise floor. You trade off one against the other to find the point where you get the best signal to noise ratio.
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
How can i find what to put in values of -N 'IFGR:20,RFGR:8' or -N 'IFGR range:20,RFGR range:8' ?

I thought rx.py was supposed to print out a listing of the available gains including names, limits, and step sizes?

Do you see any message(s) such as the following in your stderr (log) file? If so could you please post a complete copy?

Code:
sys.stderr.write("gain: name: %s range: start %d stop %d step %d\n" % (name, g_range[0].start(), g_range[0].stop(), g_range[0].step()))

Note that the above is a template and that the exact values will vary depending on the SDR model...

Max
 
Status
Not open for further replies.
Top