robotastic / trunk-recorder

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

Add "rebanded" option for SmartNet #74

Closed ddb closed 7 years ago

ddb commented 7 years ago

The current smartnet parsing code is incorrect for rebanded systems -- the channel spacing needs to be changed from 25KHz to 12.5KHz in those cases.

It would be awesome if there was a way to configure the recorder to use the rebanded spacing.

robotastic commented 7 years ago

Good call - I can make that switch. I originally had the code from an old SmartNet system that was 12.5KHz yet. This is a code block that could require tweaking though based upon the system so I will add better docs for it.

On Nov 30, 2016, at 8:18 PM, David Brown notifications@github.com wrote:

The current smartness parsing code is incorrect for rebanded systems -- the channel spacing needs to be changed from 25KHz to 12.5KHz in those cases.

It would be awesome if there was a way to configure the recorder to use the rebanded spacing.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robotastic/trunk-recorder/issues/74, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG53BcOAkBbkaDsYqoM9XhoMFM5V45Nks5rDiBXgaJpZM4LA5Ny.

timothyclemansinsea commented 7 years ago

I wonder if this is why I can't get the recorder working http://www.radioreference.com/apps/db/?sid=604&opt=all_tg#tgs

robotastic commented 7 years ago

That could be - you might want to try messing around with the code here: https://github.com/robotastic/trunk-recorder/blob/master/trunk-recorder/systems/smartnet_parser.cc#L54 https://github.com/robotastic/trunk-recorder/blob/master/trunk-recorder/systems/smartnet_parser.cc#L54 basically it calculates the frequency to tune to based upon a number. Try adding in some print statements and messing around with the numbers. Definitely let me know if you figure it out.

On Jan 11, 2017, at 10:03 PM, Tim Clemans notifications@github.com wrote:

I wonder if this is why I can't get the recorder working http://www.radioreference.com/apps/db/?sid=604&opt=all_tg#tgs http://www.radioreference.com/apps/db/?sid=604&opt=all_tg#tgs — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/robotastic/trunk-recorder/issues/74#issuecomment-272063427, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG53HkS0xT0V2MOTSTwJ-6AyH-zdieuks5rRZf6gaJpZM4LA5Ny.

robotastic commented 7 years ago

Added in better support SmartNet Bandplans