Справочник Пользователя для High-Flying Electronics Technology Co. Ltd HF-A11X

Скачать
Страница из 62
HF-A11x V3.1 User Manual 
Shanghai High-Flying Electronics Technology Co., Ltd 
www.hi-flying.com 
20
(Serial Number need keep the same with “SEND” command’s serial number) 
‹  Reserve Part: 0000(All reserve part shall set to “0”) 
‹ Acknowledge 
Information: 
XX 
(”00” -- OK,”FF” or others --NOK) 
¾  Data Receive Request CommandRECV 
„  User device use this command to send data receive request to HF-A11x modules 
„  “RECV” frame structure: 
02
SS
LLLL
0000
0
1
2
3
4
5
CCCC
6
7
 
 
‹  Command Word: 02 
‹  Serial Number: SS 
‹  Reserve Part: 0000(All reserve part shall set to “0”) 
‹  Request Data Length: LLLL 
‹  CRC Check: CCCC 
 
¾  Data Receive Acknowledge Command (RECV ACK) 
„  HF-A11x module reply this command to acknowledge receive “RECV” command 
and insert data (as user device request’s length or shorter) in the frame.   
„  “RECV ACK” frame structure: 
 
 
‹  Command Word: 02 
‹  Serial Number: SS 
(Serial Number need keep the same with
 
“RECV” command’s serial number) 
‹  Reserve Part: 0000(All reserve part shall set to “0”) 
‹  Data Length: LLLL (Length shall equal or shorter than request data length) 
‹ Data 
Content: 
DDDD……..DDDD 
‹  CRC Check: CCCC 
1.4.2.2.  Agreement Transmission Procedure 
Agreement transmission mode procedure as following chart: 
(This is a procedure user device hope to send data to HF-A11x module)