High-Flying Electronics Technology Co. Ltd HF-A11X Manual Do Utilizador

Página de 62
HF-A11x V3.1 User Manual 
Shanghai High-Flying Electronics Technology Co., Ltd 
www.hi-flying.com 
21
 
Figure 12.  User Device Send Data to HF-A11x Module Procedure  
Notes: For Error scheme 1, if HF-A11x receives wrong CRC information of “SEND” command, it 
will reply back “SEND ACK”=NOK. If HF-A11x not receives “SEND” command for the link issue, 
user device need decide to retry.  
 
(This is a procedure HF-A11x module send data to user device procedure) 
 
 
 
Figure 13.  HF-A11x Module Send Data to User Device Procedure  
1.4.2.3.  Agreement Transmission CRC Arithmetic 
CRC aarithmetic C language reference code as following: 
----------------------------------------- 
u16 calc_sum(void *data, u32 len)