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

Clone

Block Read

StepDirectionDataLength
1TX52 + address uint16-be + 084 bytes
2RXHeader + payload12 bytes
3TX061 byte
4RX061 byte

The header is 57 + address uint16-be + 08, or the request header bytes in reverse order. The payload is 8 bytes.

Clone Write

StepDirectionDataLength
1TX451 byte
2RX461 byte
3TX02 80 82 4F 47 52 41 4D8 bytes
4RX061 byte
5TX021 byte
6RX50 33 31 30 37 F7 00 008 bytes
7TX061 byte
8RX061 byte

Block Write

StepDirectionDataLength
1TX57 + address uint16-be + 08 + payload12 bytes
2RX061 byte

The payload is 8 bytes. Send 45 after all blocks have been written. No response is read.

Address Sequence

Current blockNext read blockNext write block
0x01080x02B00x02B0
0x02B80x03300x0380
0x03380x0380Skipped

All other addresses increment by 8. The terminal address is 0x03E0. Reads include 0x0330 and 0x0338; writes skip both blocks.

Image Layout

RegionAddressLength
Channels 1–160x0010–0x010F16 bytes per channel
Basic settings0x02B0–0x02BF16 bytes
Read blocks0x0330–0x033F16 bytes
System settings0x03C0–0x03CF16 bytes
Image0x0000–0x03DF0x03E0 bytes

Channel Record

OffsetLengthField
0x004RX frequency
0x044TX frequency
0x082RX CTCSS / DCS
0x0A2TX CTCSS / DCS
0x0C1Flags
0x0D1Encryption key and reserved bits
0x0E2Reserved

A record filled with FF is an empty channel. A TX frequency filled with FF disables transmission.

Frequency

RX and TX frequencies use 4-byte little-endian packed BCD in 10 Hz units. Four 00 or four FF bytes decode to zero.

Example: 430.125000 MHz

OperationValue
430125000 Hz ÷ 1043012500
BCD bytes43 01 25 00
Stored bytes00 25 01 43

CTCSS

CTCSS uses 2-byte little-endian BCD in 0.1 Hz units. Bit 15 is zero.

Example: 123.0 Hz

OperationValue
123.0 × 101230
BCD word0x1230
Stored bytes30 12

DCS

BitField
15DCS flag, fixed at 1
140 Normal, 1 Reverse
11–0Packed BCD for the three-digit DCS code

Example: DCS 023 Normal

OperationValue
Word0x8000 | 0x023 = 0x8023
Stored bytes23 80

DCS 023 Reverse uses word 0xC023 and stored bytes 23 C0. Both 00 00 and FF FF mean no subtone; the encoded off value is FF FF.

Prev
Handshake
Next
Settings