kg-uv950pl_protocol.txt

Ron Wellsted, 01/26/2016 05:51 am

Download (490 Bytes)

 
1
Serial comms are at 19200 baud, 8N1
2
The data is passed in variable length records
3
Record structure:
4
  Offset   Usage
5
    0      start of record (\xda)
6
    1      Command
7
    2      direction (\xff PC-> Radio, \x00 Radio -> PC)
8
    3      length of payload (excluding header/checksum) (n)
9
    4      payload (n bytes)
10
    4+n+1  checksum 
11

    
12
 Commands:
13
   \x80 Start comms/Identify
14
   \x81 End comms & Reboot
15
   \x82 Config read
16
   \x83 Config write
17
   \x84 Read memory
18
   \x85 Write memory)
19