Baofeng GMSK Radio Programming Communication Protocol
Home
Protocols
  • 简体中文
  • English
Home
Protocols
  • 简体中文
  • English
  • Protocols
    • Protocol A
      • Handshake
      • Clone
      • Settings
      • Password and Subsystem ID
    • Protocol B
    • Protocol C
    • Protocol D
    • Protocol E
    • Protocol F
    • AT2
      • BLE Transport
      • Frame Format
      • Channel Programming
      • Device Settings
      • Off-network Messages
      • Real-time Voice

Channel Programming

Channel Table

The table contains 30 channels. Each record is 24 bytes.

OffsetLengthFieldEncoding
0x001Record marker01
0x011Channel number1–30
0x021Reserved00
0x034RX frequencyMHz × 100000, uint32-le
0x074TX frequencyMHz × 100000, uint32-le
0x0B1RX tone indexCTCSS / DCS index; 7F for off
0x0C1RX tone type00 CTCSS, 01 DCS
0x0D1TX tone indexCTCSS / DCS index; 7F for off
0x0E1TX tone type00 CTCSS, 01 DCS
0x0F1RX DCS polarity00 Normal, 01 Inverted
0x101TX DCS polarity00 Normal, 01 Inverted
0x111Busy lock00 on, 01 off
0x121Bandwidth00 wide, 01 narrow
0x131Power00 low, 01 high
0x141Scan list00 included, 01 excluded
0x151Frequency hopping00 off, 01 on
0x161Mode00 analog, 01 digital
0x171Encryption key00 off, 01–1F keys 1–31

An all-zero frequency field represents an empty frequency.

Example: 430.125000 MHz

430.125000 × 100000 = 43012500 = 0x02905C14; the encoded field is 14 5C 90 02.

Read

Operationpayload
Read 30 channel records00 01 02 02

The response uses family 81, command 02, and 02 as the first data byte. The remaining data contains 24-byte channel records.

Single-channel Write

Operationpayload
Write or clear one record00 02 02 02 [24-byte record]
Write acknowledgment00 82 02 02 00

An empty channel retains the record marker and channel number. RX and TX frequencies are zero. RX and TX tone indices are 7F.

Full-table Write

Concatenate 30 records in channel-number order to form 720 bytes. Send the data in 168-byte chunks.

Operationpayload
Write chunk00 02 02 02 [up to 168-byte records]
Chunk acknowledgment00 82 02 02 00

Send the next chunk after receiving acknowledgment for the current chunk.

Channel Selection

Operationpayload
Select a single-watch channel00 02 02 0E 01 [channel] 00
Select dual-watch channel A00 02 02 0E 01 [channel] 00
Select dual-watch channel B00 02 02 0E 02 [channel] 00
Select focus A00 02 02 0F 01
Select focus B00 02 02 0F 02
Channel switch acknowledgment00 82 02 0E 00
Prev
Frame Format
Next
Device Settings