Skip to content

Decode MBT messages / track control channel utilization in addition to msg/s - #10

Closed
taclane wants to merge 4 commits into
TrunkRecorder:mainfrom
taclane:feat/p25-mbt
Closed

taclane wants to merge 4 commits into
TrunkRecorder:mainfrom
taclane:feat/p25-mbt

Conversation

@taclane

@taclane taclane commented Oct 11, 2026

Copy link
Copy Markdown
Contributor
  • Multi-block (MBT) trunking messages on the control channel were dropped. This is likely what's going on with the Harris site reported on Discord; if this information is being carried by a multi-block message, the lack of it could cause cascading failures. MBT grants, patch grants, unit-to-unit, affiliations and registrations are converted to their TSBK form and handled the same way. This mirrors previous behavior regarding these messages in trunk-recorder.

  • Added control channel airtime next to msg/s on the Decode page. Messages per second isn't comparable between systems: one MBT can take the airtime of 2–3 TSBKs, and some sites further pad with TDUs. Airtime is the share of the channel actually decoded.

  • TRP_CC_PROFILE=1 logs a per-minute breakdown of control channel frames (kind, rate, spacing, airtime, a sample of each MBT). Off by default.

Testing

Ran it on production against two CLMRN sites. CLMRN-I went from ~12 to ~24 msg/s, and both sites read 96–98% airtime. CLMRN-G (TSBK only) is unchanged.

@taclane

taclane commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Added control channel coverage as a tile on the Decode page and a chart on each P25 system's page.

It's a timing-based estimate of how much of the CC decoded; and comparable across systems where msg/s often isn't.

Also fixed the schema check that failed CI earlier.

@robotastic

Copy link
Copy Markdown
Contributor

Great - catch. Gonna have Claude research a bit more and then merge this in

@taclane

taclane commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Great - catch. Gonna have Claude research a bit more and then merge this in

It seems like it's more than just harris systems as well. It's probably at the root of most of the reported problems in Discord where users aren't pulling a WACN/SYS for their system or otherwise cant decode anything.

Trunk Recorder used to decode a handful of "important" MBT messages and send them downstream if encountered. This pretty much brings it back to that level of functionality for harris and certain other P2 systems.

robotastic added a commit that referenced this pull request Oct 13, 2026
P25: multi-block control messages and control channel coverage (#10, with follow-ups)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants