Skip to content

Python library for communicating with Uniden Bearcat scanners

License

Notifications You must be signed in to change notification settings

fruzyna/bearcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Uniden Bearcat Library

Python library for communicating with Uniden Bearcat scanners.

Currently, this library only contains an implementation of the BC125AT serial API. Ideally as I acquire more scanners, this library will grow to incorporate those.

Official API Docs

Most Uniden scanners have an "operation specification" manual that outlines their API. Uniden makes it hard to find these manuals, but they can be found with a Google search. I find starting here helps: https://www.google.com/search?q=site%3Ainfo.uniden.com%2Ftwiki%2Fpub%2FUnidenMan4+operation+specification

Example Usage

Below is an example of creating a connection to a BC125AT scanner and getting its screen. There are several included example scripts in /examples.

from src.bearcat import BC125AT

bc = BC125AT('/dev/ttyACM0')
screen, squelch, mute = bc.get_status()
print(screen)

Linux Note

In order to see the UART interface of the scanner on Linux the following command may need to be run after your PC boots. More info can be found here.

echo "1965 0017 2 076d 0006" >> /sys/bus/usb/drivers/cdc_acm/new_id

About

Python library for communicating with Uniden Bearcat scanners

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages