OP-25 Boatbod Whitelist Length?

Status
Not open for further replies.

Carter911

Member
Joined
Aug 17, 2021
Messages
71
Reaction score
31
Thank you, again, to the OP-25 creators!

I have an RPi 3B+ running OP-25 Boatbod with a single RTL-SDR, using the rx.py version.
This works great!

I wondered if there is a limit to the number of entries that the WhiteList can have?

The full story:
The above works with a short Whitelist of only several TalkGroups, (the Local FD/EMS & PD).
The above works with no Whitelist, to monitor all traffic on the Ohio Marcs Summit County repeater.

I wanted to set up a "Regional" configuration, where the tag file and the WhiteList list those in the area of interest to me.
I started with 49 entries, then 30, then 19...
But I am missing most of the traffic.

I now see that looking at my rx.py output file that it only loaded 7 entries from my WhiteList, (the first 7 entries).
Wow, that's good news, and bad news.
I now know why my longer WhiteList setups aren't working.

I wondered if there is a length limit to the number of entries that the WhiteList can have?
(Or if I have something mis-configured?)

Thank you,

Jay
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,711
Reaction score
1,112
Location
Talbot Co, MD
Thank you, again, to the OP-25 creators!

I have an RPi 3B+ running OP-25 Boatbod with a single RTL-SDR, using the rx.py version.
This works great!

I wondered if there is a limit to the number of entries that the WhiteList can have?

The full story:
The above works with a short Whitelist of only several TalkGroups, (the Local FD/EMS & PD).
The above works with no Whitelist, to monitor all traffic on the Ohio Marcs Summit County repeater.

I wanted to set up a "Regional" configuration, where the tag file and the WhiteList list those in the area of interest to me.
I started with 49 entries, then 30, then 19...
But I am missing most of the traffic.

I now see that looking at my rx.py output file that it only loaded 7 entries from my WhiteList, (the first 7 entries).
Wow, that's good news, and bad news.
I now know why my longer WhiteList setups aren't working.

I wondered if there is a length limit to the number of entries that the WhiteList can have?
(Or if I have something mis-configured?)

Thank you,

Jay
There's no specific length limitation in the code. My guess is that you have a file format error immediately following the last "good" line that loaded. Possibly a unicode character, extra tabs or something not visible to immediate inspection.
 

Carter911

Member
Joined
Aug 17, 2021
Messages
71
Reaction score
31
Problem solved!

One (invisible...) extra tab removed.

Thank you!

Jay
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,206
Reaction score
462
Location
NE Wisconsin
Jay,

You may not be aware of it, but you can populate consecutives ranges TGID's in your whitelists and blacklists by entering
the first and last TGID of each range separated by a <TAB> character.

Example: You want to include all of the Cuyahoga Falls Fire Station Alerts to your whitelist.

62644 f4b4 D CF FD ALERT1 Cuyahoga Falls Fire Station 1 Alert Fire Dispatch
62645 f4b5 D CF FD ALERT2 Cuyahoga Falls Fire Station 2 Alert Fire Dispatch
62646 f4b6 D CF FD ALERT3 Cuyahoga Falls Fire Station 3 Alert Fire Dispatch
62647 f4b7 D CF FD ALERT4 Cuyahoga Falls Fire Station 4 Alert Fire Dispatch
62648 f4b8 D CF FD ALERT5 Cuyahoga Falls Fire Station 5 Alert Fire Dispatch

Whitelist

62644<TAB>62648


Normally your Whitelists and Blacklists are mutually exclusive except to drop specific TGID's
from a prepopulated Whitelist. @boatbod correct me if I am wrong...

I believe that you can Blacklist one or more TGID's from range of TGID's existing in your Whitelist.
Say that you desire to drop TGID 62646 from the above range of whitelisted TGID's, then you would
create or add TGID 62646 to your Blacklist.

Blacklist

62646


The idea of the tab separated lists is basically to shorten the number of total entries into those lists.
 

Carter911

Member
Joined
Aug 17, 2021
Messages
71
Reaction score
31
Hi Bill,

Wow, thank you.
I wasn't aware of that.

As a project update:
I have the RPi 3B+ running rx.py with one RTL-SDR, and a small PCB with several LEDs, PB Switches, and a piezo.
My python program is started on RPi Boot-up via crontab.
The system boots up into Scan Mode #1.
There are four PB Switches, (and LEDs, of course), and one can push any of the 4 PB switches to change the scanner mode.
This uses System.service to turn On and Off four different configurations of OP-25 Boatbod.
Each config has its own command line parameters, (its own Whitelist file, etc.).
It takes about 5 Sec or so to switch modes, (no big deal).
For now the Modes are:
Local FD/EMS
Local FD/EMS & PD
Regional EMS, Air medical, Mac Channels
All repeater traffic, (test mode)

I'll swap out one of the above for my Lake County configuration.

The above technique means that the User can easily switch between the scan modes as desired.
This approach forces the control channel, instead of letting the SW sort out which one it wants to listen to.
(Manual intervention required, but I'm fine with that, for my uses.)

A fifth PB Sw executes a graceful shutdown of the RPi.

Now that I have the RPi / SDR / OP-25 Boatbod portion of the project working, I'll focus on the vehicle power supply and auto-triggering the graceful RPi shutdown when the system loses its power, (either switched off, or ignition is turned off, etc., depending upon one's installation).
The RPi & SDR require too much current for a simple cap to provide power, as it takes about 7 - 8 Seconds to shut down.
That means it'll need a Lipo to support power while it shuts down, and the car should charge the Lipo when the system is on.
All doable.

Interestingly, the RPi needs a full power loss, after shutdown, prior to re-booting it.
That means either a high side driver or a small relay to totally kill its power when it turns off.

BTY, OP-25 Boatbod is playing the audio through the AV Jack, when started via System.service.
My other config's play through the USB Audio dongle when started via the Terminal.
Not going to work on that for now, will just put a small audio amp chip on the PCB along with the power controller circuitry.

As you stated, the (PWM'd) AV Jack audio sounds fine.
(Especially when one routes it through a correctly configured adapter plug ;-) )

I appreciate everyone's help!
Without it this project would be a lost cause!

Take care,

Jay
 
Status
Not open for further replies.
Top