High-Flying Electronics Technology Co. Ltd HF-A11X Manual De Usuario

Descargar
Página de 62
HF-A11x V3.1 User Manual 
Shanghai High-Flying Electronics Technology Co., Ltd 
www.hi-flying.com 
18
1.4.  Software Reference Design 
 
When HF-A11x modules boot up phase, the general user board MCU software flow chart will as 
following: 
  
 
Figure 11.  User MCU Software Flow Chart  
 
HF-A11x modules provide two kinds of work mode and one configuration mode. 
Work mode is Transparent Transmission and Agreement Transmission. 
Configuration mode is through AT+instruction set to finish module setting and configuration. 
 
When HF-A11x modules boot up, user can select one work mode base on the setting, and user 
can switch to the configuration mode at any kinds of work mode.  
1.4.1. Transparent 
Transmission 
Mode 
HF-A11x modules support serial interface transparent transmission mode. The benefit of this 
mode is achieves a plug and play serial data port, and reduces user complexity furthest. In this 
mode, user should only configure the necessary parameters. After power on, module can 
automatically connect to the default wireless network and server.  
 
As in this mode, the module's serial port always work in the transparent transmission mode, so 
users only need to think of it as a virtual serial cable, and send and receive data as using a 
simple serial. In other words, the serial cable of users’ original serial devices is directly replaced 
with the module; user devices can be easy for wireless data transmission without any changes. 
 
The transparent transmission mode can fully compatible with user’s original software platform 
and reduce the software development effort for integrate wireless data transmission. 
 
Notes: Transparent transmission mode as a low level phy layer data transmitting can't keep zero 
error rates by itself. User can enable UART port’s hardware flow control CTS/RTS function or 
though higher layer protocol such as TCP to lower error rate and mange the data completeness.