boatbod / op25

Fork of osmocom OP25 by boatbod
311 stars 97 forks source link

[noob question] Monitoring a channel with mixed analog / P25 digital? #144

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi,

I maintain an online feed of local scanner traffic and I'm using boatbod's op25 (multi_rx.py) to monitor one local fire department that uses a P25 Phase I digital non-trunked radio system (all the other local departments in this rural area use plain old-school non-trunked analog NBFM which I'm using rtlsdr-airband to receive).

op25 works really well except when another local department responds into the P25 digital city for mutual aid. The responding mutual-aid agency will broadcast in analog on the P25 digital frequency, which the P25-using dispatcher and firefighters can hear fine, but my op25 setup apparently says "nope, that's not digital" and just outputs silence.

Listening to the channel on an analog scanner sounds like: "Mutual aid agency to dispatch?" [digital grinding] "Mutual aid agency on scene." [digital grinding]. The audio from op25 for the same transmission sounds like: [silence] "Go ahead, mutual aid agency." [silence] "Copy you're on scene at 1:23."

I can't simply monitor the frequency in a pure-analog mode, because 90%+ of the frequency's traffic is P25 digital, which would be unpleasant to listen to in raw form.

My ideal setup would be able to intelligently choose between analog NBFM or P25 digital decoding depending on the channel's content. Is this something op25 is capable of, or not right now?

I've been reading the documentation and a bit of the code, but I'm easily confused and can't tell if enable_analog would do what I'm looking for, and if so, I'd need to set up another voice channel in my config file, and how it would get switched on and off... I'm confused.

Thanks for any help and apologies for my noobishness!