P25 conventional decode + conventional-channel attribution (node-26#24, #20) #27
Merged
logan
merged 1 commits from 2026-10-04 17:21:14 -04:00
feat/24-p25-conventional into main
No Reviewers
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/node-26#27
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes node-26#24 (P25 conventional), and fixes node-26#20 (analog recording) through the same attribution path.
op25-container
p25_mode: "conventional"generate-config. It uses fixedfsk4channels, up to 2 on one non-tunable SDR, and has no control channel. There is an optional NAC per channel. Built per boatbod gr310p25_conventional_example.json.op25_addons/tk_drb_conv.pysubclassestk_p25.rx_ctl. For conventional channels it reportsvoice, the NAC heard, and encryption (the LC svcopts E bit plus LDU2 ESS algid/keyid). It also applies the NAC filter. Stock tk_p25 does neither for FDMA conventional.audio.py -2, then mono mixdown (×2 gain).p25_modeis absent. Analog now also uses tk_drb_conv.drb-edge-node
conventional.pyrelabels conventional channels. The talkgroup is the distinctive link-control TGID; failing that, the channel's TGID from the last 30 s; failing that, a synthetic per-channel id (freq in 100 Hz units, 460.400 MHz → 4604000)./api/listenmodep25convplus a dashboard tab. The health checklist shows the NAC heard, or says the channels are encrypted.radio_channels.Verified: edge suite 296 pass, flake8 clean, op25-container 18 pass (new CI job). drb-audio-review found 2 HIGH split bugs (a header frame arriving before link control, and ping-pong between labels); both are fixed with tests, and the re-review says ship. drb-qa-review findings are fixed.
Unverified (no SDR here): real OP25 decode of White Plains, tk_drb_conv against GNU Radio, two-channel audio levels/clipping, whether WPPD encrypts.
Known gap: simultaneous traffic on both channels shares one mono stream, so it is mislabelled or mixed (#26, DEFERRED.md).
Merge order: server-26 PR first, then this one. They are independent at runtime: a missing
modemeans trunked everywhere.🤖 Generated with Claude Code
op25-container - generate-config takes p25_mode "conventional" + conv_channels [{frequency, name, nac}]. It builds fixed fsk4 channels (up to 2 on one non-tunable SDR, DC spike kept off the channels) with no control channel to hunt. Two channels send audio to UDP 23456/23457, and audio.py -2 + amplify(2) keeps levels. - tk_drb_conv.py (a tk_p25.rx_ctl subclass, copied into OP25 apps) reports voice / NAC / encryption (LC service options + LDU2 ESS algid/keyid) for conventional channels and applies the per-channel NAC filter, which stock tk_p25 does not. Analog uses it too. - Trunked P25 config is unchanged when p25_mode is absent. drb-edge-node - radio_config: system kind from type + config.mode (missing = trunked). - conventional.py normalizes the console: a distinctive LC TGID, else the channel's last TGID (30 s), else a synthetic per-channel id (freq/100 Hz). Encrypted rows are never talkers. With exactly one conventional channel, orphan audio is attributed to it at close, which fixes analog recording (#20). The synthetic id and the real TGID on one channel never split. - Health/dashboard: P25 conventional listen tab (/api/listen p25conv), and conventional decode + encryption checks. The checkin carries radio_channels. - Tests: edge 296 pass; op25-container 18 (new CI job). Reviewed by drb-audio-review (findings fixed; simultaneous two-channel mixdown filed as #26) and drb-qa-review. Not verified on SDR hardware. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>