EasyManua.ls Logo

SIYI HM30 - SIYI Datalink SDK

SIYI HM30
157 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
HM30 User Manual v1.3
79
2024 SIYI Technology Copyright
4.6 SIYI Datalink SDK
SIYI links can be integrated to customers’ own network or ground station by
acquiring SDK communication protocol.
4.8.1 Format
Field
Index
Bytes
Description
STX
0
2
0x5566: starting mark
CTRL
2
1
0: need_ack (if the current package need “ack”)
1: ack_pack (if the package is an “ack” package)
2-7: Reserved
Data_len
3
2
Data field byte length.
Low byte in the front.
SEQ
5
2
Frame sequence (0~65535) .
Low byte in the front.
CMD_ID
7
1
Command ID
DATA
8
Data_len
Data
CRC16
2
CRC16 check to the complete data package.
Low byte in the front.
4.8.2 Commands
Request Hardware ID
CMD_ID:0x40 ------ Request Hardware ID
Send data format
No.
Data Type
Data Name
Data Description
ACK data format
uint8_t
hardware_id[
12]
Hard ID String (10 digits)
Example:
Send (HEX): 55 66 01 00 00 00 00 40 81 9c
Response (HEX): 55 66 02 0C 00 09 00 40 36 38 30 31 31 33 30 31 31 31 00 00 7b 8b

Table of Contents

Other manuals for SIYI HM30