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

Frame Format

Structure

OffsetLengthFieldEncoding
0x002HeaderAA 55
0x021LengthBytes from family through the end of data
0x031Leading byte00
0x041familyCommand family
0x051commandCommand number
0x06NdataCommand data
Variable2CRClittle-endian
Variable2Tail77 EE

The length field excludes the leading 00. CRC input starts at family and ends at the last data byte.

CRC

ParameterValue
AlgorithmCRC-16/CCITT-FALSE
Polynomial0x1021
Init0x1234
RefInfalse
RefOutfalse
Output byte orderlittle-endian

Command Families

familyDirectionMeaning
01Host to deviceQuery
02Host to deviceSetting or data transmission
81Device to hostQuery response or status report
82Device to hostSetting acknowledgment

A received frame may omit the leading 00. In that form, the length directly covers family, command, and data. The CRC input remains unchanged.

Prev
BLE Transport
Next
Channel Programming