robotastic / trunk-recorder

Records calls from a Trunked Radio System (P25 & SmartNet)
GNU General Public License v3.0
863 stars 193 forks source link

Use Hex instead of Decimal for Talkgroup input #390

Open robotastic opened 4 years ago

robotastic commented 4 years ago

The listings for the a system's talkgroups on Radio Reference is provided in both a decimal and hexadecimal format. For P25 systems, hexadecimal and decimal values are the same. On SmartNet II, they are different. The decimal representation of the talkgroup address includes 4 status bits (all set to zero) appended to the end of the address. The hexadecimal representation does not include the status bit and is simply the address.

Off the top of my head, the following would be needed:

Impacts: Doing this would require some work from people using OpenMHz. With people using P25, there is no change to talkgroup number so they can just change the CSV format at some point. For people with SmartNet systems, the numbering will be changing so they need to make sure TR and OpenMHz both get changed at the same time.

If this is something you would be excited to see, give it some thumbs up or leave a comment.

HarrisonWilson commented 4 years ago

It's always been a little annoying that the scanner companies have been using the wrong decimal TGID/UID number format for years on Type II systems, but it seems like this is a lot of effort considering the bulk of these systems have plans to migrate to P25 (or something else) if they aren't already in progress for doing so.