Serial control protocol reference, response schemas, and timing guidelines for the Uniden BCD325P2.
The scanner exposes an internal USB UART bridge via its front Mini-USB connector:
\r, ASCII 0x0D). The scanner never expects or sends Line Feed (\n).The interface is strictly synchronous. The host must wait for a response line before transmitting the subsequent command. Overlapping commands trigger buffer collisions or frame dropouts.
| Response Code | Meaning | Recovery Strategy |
|---|---|---|
OK\r | Command accepted and executed successfully. | Proceed to next command. |
ERR\r | Syntax / Argument value error. | Verify command parameters and value range. |
NG\r | Command is currently invalid in the scanner's active state. | e.g., Calling channel memory writes outside Program Mode (PRG). |
FER\r | Framing error detected on UART wire. | Check baud rate configuration; reconnect serial port. |
ORER\r | Overrun error on receiver FIFO buffer. | Increase host poll delay; do not exceed 20 QPS polling rate. |
| Command | Request | Scanner Response | Notes |
|---|---|---|---|
MDL | MDL\r | MDL,BCD325P2\r | Validates attached receiver model identity. |
VER | VER\r | VER,Version 1.06.00\r | Returns active firmware revision string. |
BAT | BAT\r | BAT,<val>\r | Returns internal battery ADC reading (mV). |
PWR | PWR\r | PWR,<state>\r | 1 = USB Bus / External Power; 0 = Internal Battery. |
The engine continuously issues STS to query what the tuner and trunking decoder are receiving:
Controller → Radio: STS\r
Radio → Controller: STS,0,0,1,0,851.0125,0,0,NFM,0,0,0,FHP TROOP C,DISPATCH,2048,4102,5\r
STS Response Schema:
Mode: 0 = Scan, 1 = Scan Hold, 2 = Search, 3 = Search Hold, 4 = Program ModeSquelch State: 0 = Closed (Quiet), 1 = Open (Receiving Carrier)Mute State: 0 = Audio Unmuted, 1 = Audio MutedFrequency: Active tuned center frequency (MHz, e.g. 851.0125)Modulation: AM, FM, NFM, WFM, FMBSystem Name: Text label for active trunked system (up to 16 chars)Department / Group Name: Text label for sub-group (up to 16 chars)Channel / Talkgroup Label: Active talkgroup name (up to 16 chars)TGID: Decimal Talkgroup Identifier (e.g. 2048)UID: Decimal Unit / Radio ID (e.g. 4102)RSSI: Received Signal Strength Indication (0 to 5 bars)| Command | Request | Scanner Response | Description |
|---|---|---|---|
VOL | VOL,<0-15>\r | VOL,OK\r | Set audio volume level (0 to 15). Omitting param queries current volume. |
SQL | SQL,<0-15>\r | SQL,OK\r | Set RF squelch threshold (0 to 15). Omitting param queries current squelch. |
HLD | HLD\r | HLD,OK\r | Forces receiver to hold on current channel or talkgroup. |
SCN | SCN\r | SCN,OK\r | Resumes scanning across active system lists. |
QSY | QSY,<freq>\r | QSY,OK\r | Quick-tunes tuner directly to specified frequency (e.g. QSY,155.4750\r). |
KEY)Emulate physical keypad buttons remotely to navigate menus or trigger functions:
KEY,<code>[,<mode>]\r
Mode: P = Press (Default), L = Long Press, H = Hold, R = Release
| Code | Button | Code | Button | Code | Button |
|---|---|---|---|---|---|
0–9 | Number Keys 0–9 | . | Decimal / No | E | Enter / Yes |
M | Menu | F | Function | H | Hold |
S | Scan / Search | L | L/O (Lockout) | A | Avoid |
For lowest latency with zero FIFO overruns:
STS once every 60 milliseconds (~16.6 Hz).FER or ORER is received.GLG once every 5,000 milliseconds if mobile GPS tracking is active.