Coding Drone Plus / Protocol / Intro

Modified : 2026.1.29



1. Introduce Coding Drone Plus

Coding Drone Plus is changed communication module from Coding Drone and include controller.



2. Data transfer structure

Coding Drone Plus uses serial communication with external devices. In most cases, the controller and the PC are connected while communicating. The sending and receiving data are structured as follows:

0
1
2
3
4
5
...
N-1
N
Start code
Header
Data
CRC16
DataType
Length
From
To
0x0A
0x55
-
-
-
-
-
-
-


Each item is explained as follows.


Area
Description
Start code
Start data transmission
Header
DataType
Data type
Length
Data length
From
Data transfer device's DeviceType
To
Data receive device's DeviceType
Data
Send data
CRC16
Check whether the header and the data were delivered correctly
http://www.menie.org/georges/embedded/crc16.html


Data and the CRC16 zone use Little Endian. When Little Endian is present, if more than two bytes, the low byte is front of the array. You can change it conveniently using BitConverter in C#.

HEX value
0x1234
Array index
0
1
Big Endian
12
34
Little Endian
34
12


HEX value
0x12345678
Array index
0
1
2
3
Big Endian
12
34
56
78
Little Endian
78
56
34
12



3. Precautions in use

  • All devices only send data in response when requested.
  • If a device is specified to receive data, the device will send Ack when it is not requested.
  • If the data is transmitted via broadcast, if a command is not a data request but a typical one, the device that can process it runs the received command.
  • If the data is transmitted via broadcast a data requests, the device can be respond data. If more than one device responds to the same data, this can cause conflicts between sending and receiving data. Be careful when you use it.
  • Ack is not answered for the broadcast.



4. Serial communication settings

Area Setting value
Baud Rate 115200
Parity None
Data Bits 8
Stop Bits 1



5. Driver install

Coding Drone Plus controller is automatically recognized in Windows 10. Do not need additional driver. If the device is not recognized, you need to install device driver.



Coding Drone Plus

  1. Intro
  2. Typedef
  3. DataType
  4. Definitions
  5. Structs
  6. Structs - Light


Index