New P25NX v2 code

Status
Not open for further replies.

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
A new code for P25NX system has been write. While it is still under beta testing, it offers new functionalities like:
— It can connect to your P25NX Cisco with no configuration changes on the router.
— Compatible with the HDLC to serial board that is under testing.
— Simple menu for first time setup.
— Link to P25NX.
— Link to P25-MMDVM.
— Monitor multiple P25NX TGs with priority scheme, so you do not leave your repeater tied up to only one TG.
— Open source Perl code.

If you have any shareable information that can contribute to add more features please let me know. I would like to add features like Page, TMS and GPS.

the link for the project is:
https://github.com/Wodie/p25nx2
 

rainbowpenguin

Prolific Contributor
CS Forums $upporter
Joined
Mar 13, 2015
Messages
104
I loaded this up on a system today. Raspberry Pi 3B+, Cisco 1841, ATAC, multiple quantars.

I like the 'scanning' feature. Does the >=1 value create a hierarchy to allow incoming traffic on one TG to pre-empt another, or simply create its position in an equal priority scan list?

Getting it installed and running, I encountered three major issues.
First, the port listener for STUN packets tries to listen to a hard-coded IP address, which was not the pi's IP, and caused errors and program failure. I found the offending line and swapped in the pi's IP. I'd suggest either discovering the local interface IP, or having it as a config option.
Second, the program crashes upon receiving a non-configured talkgroup. Could it be possible to ignore talkgroups that aren't in the hosts.txt file?
Lastly, all incoming traffic from linked talkgroups seems to have the same source ID of 10999 instead of the original radio ID.
 
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
Rainbowpinguin, thank you So much for testing and your comments. The “scan” feature have priority, the higher number = greater priority. Local QSO priority was 10 on yesterday code, I changed it to 100.
I just fixed the hard-coded IP address you found, I missed that (1).
I also added some lines to avoid crashing if a TG is not on the reflectors list, need more testing (2).
I need to make deep testing to find the bug making Source IDs to be 10999, I hope to be able to finally test the code with a Quantar next week (3). At the moment, I been only able to test with a DIU 3000.
 

rainbowpenguin

Prolific Contributor
CS Forums $upporter
Joined
Mar 13, 2015
Messages
104
I did some digging, and it appears the 10999 RID problem is further upstream, from a different source.

From what I could find, P25Reflector and P25Gateway (in the MMDVMM world) simply pass on the quantar style data stream. I couldn't find any modifications to record 0x66, where the source RID is.

I've got a test DMR->P25 bridge, and the radio ID passes along properly there. I'll pay more attention to when the 10999 ID comes through and perhaps discover where it's coming from.
 

rainbowpenguin

Prolific Contributor
CS Forums $upporter
Joined
Mar 13, 2015
Messages
104
Found 10999 in only one location - generated voice announcements from the MMDVM P25Gateway. The reflectors indicate the proper source RID, which is being pulled from the 0x66 frame, yet my radio shows 10999. I've gotten a real good refresher on C++ code the last day reading through everything.
 
Last edited:
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
I uploaded a code update yesterday night.
 
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
P25NX voice announce had been generated with Radio ID 10999. I uploaded new code for P25NX v2 for beta testing for Page and TMS inside the P25NX network. The P25-MMDVM will need code to be modified on MMDVM side and probably on the reflectors too.
 

cyrus

Trailer Park Superintendent
Staff member
CS Forums $upporter
Joined
Jan 5, 2012
Messages
947
I'll see if I can scare up another pi and move my test Quantar over to p25nx.
 
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
As hams requested, I added courtesy tones to the P25Link code. So you can turn them on if you want those fancy and disturbing chimes every time someone press PTT to test repeater coverage. That is the way they figure out if a repeater is working or not.
No tones == repeater down.
Tones == perfect signal and system status Ok.
Awsome.
 
Last edited:
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
All the P25 code and services I made using P25NX2 name is now P25Link. As some people was claiming credits, domain name, etc. HAMs feel the must have credit for everyones work, just because of a name. I do not play like that.
 
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
P25Link code updated, APRS posting for repeater location has been implemented, many bugs fixed, still working on new features and a easy distro for downloading, hope to have it by the end of the month. Bugs found and comments are welcome.
 
OP
Wodie

Wodie

Contributing Member
Joined
Jul 6, 2019
Messages
41
A big update and new website for the P25Link project has been created:
p25.link
I also updated github project plus a .deb file to make it easier And faster for everyone, so no more cpan installs, etc.
There are a lot of changes and fixes, I been testing, but would like to hear if anyone is using it and if they find any bug, so it can be fixed.
I still need to document some features and fuctionality.
 
Status
Not open for further replies.