Skip to content
/ rtl_p25 Public

Command-line P25 decoder built with Rust plus liquid-dsp.

Notifications You must be signed in to change notification settings

rhodey/rtl_p25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtl_p25

This is a Rust multiplexing P25 decoder built atop liquid-dsp compatible with the RTLSDR.

Build & Install

$ cargo build --target-dir liquid_dsp_rs/
$ cargo build --release
$ cargo install --path .

Usage

This software has been designed to be incorperated into other softwares following mkfifo patterns described by better sdr drivers. Run this program as a child process in your language of choice then hold onto stdin, stdout, and sterr. All program arguments follow RTLSDR conventions except -x added for 'mux'. It all comes together like this:

$ mkfifo /tmp/mux0 && mkfifo /tmp/mux1
$ ./target/release/rtl_p25 -d 0 -s 1200000 -x 2 [-g 62 -p 0]
stdin> tune,851137500,$nonceA
stderr> ok,851137500,$nonceA
stdin> demod,0,$offsetHz,/tmp/mux0,$nonceB
stderr> ok,$nonceB
stdin> demod,1,-12500,/tmp/mux1,$nonceB
stderr> ok,$nonceB

Programs reading from /tmp/mux0 or /tmp/mux1 will find a P25 'di-bit' byte stream which may be read into P25 spec frames following maybe these examples.

License

Copyright 2020 Rhodey Orbits [email protected] Creative Commons Attribution-NonCommercial https://creativecommons.org/licenses/by-nc/4.0

About

Command-line P25 decoder built with Rust plus liquid-dsp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published