Skip to content

Operational Modes

GlomarGadaffi edited this page Jun 4, 2026 · 1 revision

Operational Modes

BearSentinel ships as two distinct HTML artifacts that represent two operational philosophies. Choose based on your monitoring target.

EDACS Exclusive Mode (BearSentinel_v2.html)

This mode is purpose-built for the State of Florida Statewide Law Enforcement Radio System (SLERS), which is an EDACS trunked system.

What It Monitors

  • EDACS control channel output from the BCD325P2 at 115,200 baud
  • Patch creation and teardown events
  • Voice grant events with talkgroup ID, logical channel number, voice channel, unit ID, and grant type
  • Site identification
  • SYS-BUSY flag events that indicate repeater saturation

Key Panels

Patch Matrix Displays currently open patches with their member list, agency classifications, elapsed time since last activity, and cumulative hit counts. When a patch is transmitting, it receives a visual "tx" indicator. An empty state with setup instructions is shown when no patches are present.

Grant Feed A live scrolling feed of all voice grants. Each row shows:

  • Grant type badge (TG, ICALL, CPT, or UNKNOWN)
  • Talkgroup ID
  • Logical channel and voice channel
  • Human-readable agency/talkgroup name from the agency database
  • Relative timestamp ("45s ago") and absolute 24-hour timestamp

Entries fade in opacity as they age past two minutes. The feed auto-scrolls to the latest entry; scrolling up pauses auto-scroll and surfaces a "Jump to latest" button.

Leaderboard Ranks talkgroups by activity. Each row shows:

  • Agency color-coded indicator
  • Talkgroup ID and name
  • Hit count in the last 5 minutes (h5)
  • Hit count in the last 60 minutes (h60)

Top 20 active talkgroups are shown. Counts persist across page reloads via localStorage.

LCN Map Displays the auto-discovered mapping of Logical Channel Numbers (LCNs) to voice channel (VC) hex payloads. The map builds itself from live grant traffic — no pre-configuration is needed. LCNs are sorted numerically.

Raw Log Drawer A toggleable drawer showing the last 200 lines of raw serial output with syntax highlighting:

  • EDW/EDN prefixed lines — EDACS data
  • GLG prefixed lines — P25 polling responses
  • Lines containing ERR — error conditions

EDACS Grant Types

Type Meaning
TG Standard talkgroup grant
ICALL Individual call (unit-to-unit)
CPT Supplementary data or control packet
UNKNOWN Decoded grant with unrecognized subtype

Targeted Unit Tracking

BearSentinel captures the 14-bit Logical ID (LID) from every grant message. Because a field unit's LID appears across all its transmissions regardless of which talkgroup it is on, you can follow a specific unit as it moves from a dispatch channel to a tactical channel — even when voice audio is encrypted.

Infrastructure Stress Monitoring

SYS-BUSY flag events indicate that the repeater infrastructure is saturated. During large incidents, a spike in SYS-BUSY events correlates with system congestion.


Unified Mode (sentinel.html)

Unified Mode combines EDACS monitoring (same as above) with active P25 polling of the Alachua County P25 network.

Two-Panel Layout

SLERS Panel (left) Identical to EDACS Exclusive Mode: active patches, talkgroup leaderboard, hit counts.

P25 Panel (right)

  • An LCD-style display showing the currently active P25 talkgroup
  • A tactical grid of recently heard P25 channels, each shown as a card with talkgroup name and system/group context
  • Click any card in the tactical grid to hold that talkgroup. Click again or click elsewhere to release.

P25 Polling Mechanism

Every 150 milliseconds, SerialMonitor sends a GLG command to the scanner. The scanner responds with a GLG,... comma-separated line containing current talkgroup information. ScannerDecoder.parseP25() requires at least 10 fields in that response; malformed responses are silently dropped.

P25 Hold / Unhold

The hold toggle sends a direct serial command to the scanner to lock onto or release a specific channel. This is the only mode where BearSentinel writes commands to the scanner beyond the 150ms GLG polling loop.

Agency Database Coverage (both modes)

The embedded AgencyDB maps frequency codes to human-readable names across six agency categories:

Category Agencies Covered
INT Statewide interagency channels (IA-11 through IA-74, plus specialized)
FHP Florida Highway Patrol (Troops A–D, K; dispatch, tactical, specialized)
FWC Fish & Wildlife Conservation Commission
FDLE Florida Department of Law Enforcement
LOC Local agencies (sheriffs, fire, police, hospitals, schools)
TEC Radio technicians and infrastructure maintenance

Each category has an associated CSS color variable for consistent visual identification across all panels.

Clone this wiki locally