Incorporated reserves the right to make changes in
could void the user’s authority to operate the equipment.
If the FCC ID of the module cannot be seen when it is installed, then the
host label must include the text: Contains FCC ID: AZY-HF-LPB
Ultra-Low-Power for Battery Applications with Excellent Power Save Scheme
Support UART/SPI/USB/PWM/GPIO Data Communication Interface
Support Work As STA/AP/AP+STA Mode
Support Wi-Fi Direct
Support WPS Function
Support Wireless and Remote Firmware Upgrade Function
Support User-Defined Web Page Upload
Single +3.3V Power Supply
Smallest Size: 23mm x 32.5mm x2.7mm
FCC/CE Certificated
TABLE OF CONTENTS
LIST OF FIGURES ................................................................................................................................... 6
LIST OF TABLES .................................................................................................................................... 7
HISTORY .................................................................................................................................................. 7
The HF-LPB is a fully self-contained small form-factor, single stream, 802.11b/g/n Wi-Fi module,
which provide a wireless interface to any equipment with a Serial/SPI/USB interface for data
transfer.HF-LPB integrate MAC, baseband processor, RF transceiver with power amplifier in hardware
and all Wi-Fi protocol and configuration functionality and networking stack, in embedded firmware to
make a fully self-contained 802.11b/g/n Wi-Fi solution for a variety of applications.
HF-LPB support AP+STA wireless networking and support Wi-Fi Direct. HF-LPB also provides
wireless and remote firmware upgrade, which satisfied all kinds of application requirement. HF-LPB
support user defined Web page and can revise the data communication protocol, which reduce much
customer’s software development and customization work.
The HF-LPB employs the world's lowest power consumption embedded architecture. It has been
optimized for all kinds of client applications in the home automation, smart grid, handheld device,
personal medical application and industrial control that have lower data rates, and transmit or receive
data on an infrequent basis.
The HF-LPB integrates all Wi-Fi functionality into a low-profile, 23x32.5x 2.7mm SMT module package
that can be easily mounted on main PCB with application specific circuits.
1.1.1 Device Features
z Single stream Wi-Fi @ 2.4 GHz with support for WEP security mode as well as WPA/WPA2
z Fully self-contained serial-to-wireless functionality.
z Ultra-low-power operation with all kinds of power-save modes.
z Includes all the protocol and configuration functions for Wi-Fi connectivity.
z Support STA/AP/AP+STA Mode
z Support Wi-Fi Direct Mode
z Support WPS
z Support Wireless and Remote Firmware Upgrade Function
z Support User-Defined Web Page Upload
z Integrated chip antenna options.
z Compact surface mount module 23mm x 32.5mm x 2.7mm.
z Full IPv4 and IPv6 stack.
z Low power RTOS and drivers.
z FCC Certified.
z RoHS and CE compliant.
z Single supply – 3.3V operation.
N.C No connect
7 RTC Input 1 ALARM1 I.PD GPIO7, Sleep_RQ Pin
8 RTC Output 1 RTC_OUT1O GPIO8, Sleep_ON Pin
9 +3.3V Power DVDD Power
10 N.C No connect
11 A/D Input 1 ADC1 I/O,PD GPIO11, No connect if not use.
12 A/D Input 2 ADC2 I/O,PD GPIO12, No connect if not use.
13 RTC Input 2 ALARM2 I,PD GPIO13, No connect if not use.
14 N.C No connect
15 N.C No connect
16 USB 5V Detect USB_PIO I/O GPIO16, No connect if not use.
18 N.C No connect
19 N.C No connect
20 GPIO GPIO20 I/O,PD GPIO20, No connect if not use.
21 USB Interface USB- I/O 90 ohm Diff. Line
22 USB Interface USB+ I/O 90 ohm Diff. Line
23 PWM Output0+ PWMH0 O GPIO23, No connect if not use.
24 PWM Output0- PWML0 O GPIO24, No connect if not use.
25 N.C No connect
26 GPIO GPIO26 I/O,PD GPIO26, No connect if not use.
27 SPI Interface SPI_MISO I/O, PU No connect if not use.
28 SPI Interface SPI_CLK I/O, PU No connect if not use.
29 SPI Interface SPI_CS I/O,PU No connect if not use.
30 SPI Interface SPI_MOSI I/O.PD No connect if not use.
31 +3.3V Power DVDD Power
33 N.C No connect
34 +3.3 Power DVDD Power
35 GPIO GPIO35 I/O,PD GPIO35, WPS functional pin
36 N.C No connect
37 N.C No connect
38 N.C No connect
39 UART0 UART0_TX O, PD UART Communication Pin
40 UART0 UART0_RTSI/O,PD UART Communication Pin
41 UART0 UART0_RX I,PD UART Communication Pin
42 UART0 UART0_CTS I/O, PD UART Communication Pin
43 Wi-Fi Status nLink O,PU “0”- Wi-Fi Linked
44 Module Boot Up
nReady O,PU “0” – Boot-up OK;
Indicator
45 Restore
nReload I,PU Module will restore factory
Configuration
46 PWM Fault Input0 PWMFI0 GPIO46, No connect if not use.
47 Module Reset EXT_RESETnI,PU “Low” effective reset input.
Storage temperature range -45 125 °C
Maximum soldering temperature IPC/JEDEC J-STD-020 260 °C
Supply voltage 0 3.8 V
Voltage on any I/O pin 0 3.3 V
ESD (Human Body Model HBM) TAMB=25°C 2 KV
ESD (Charged Device Model, CDM) TAMB=25°C 1 KV
Power Supply & Power Consumption:
Parameter Condition Min. Typ. Max. Unit
Operating Supply voltage 3.1 3.3 3.8 V
Supply current, peak Continuous Tx 200 mA
Supply current, IEEE PS DTIM=100ms 5 mA
Output high voltage Sourcing 6mA 2.8 V
Output low voltage Sinking 6mA 0.2 V
Input high voltage 2.2 V
Input low voltage 0.8 V
Input leakage current +/-25 nA
Analog input range 0 3 V
Analog output range 0 3 V
1.2.4. On-board Chip Antenna
HF-LPB module support internal on-board chip antenna option. When customer select internal
antenna, you shall comply with following antenna design rules and module location suggestions:
¾ For customer PCB, RED color region (8.3x18.4mm) can’t put componet or paste GND net;
¾ Antenna must away from metal or high components at least 10mm;
¾ Antenna can’t be shieldedby any meal enclosure; All cover, include plastic, shall away from
High-Flying suggest HF-LPB module better locate in following region at customer board, which to
reduce the effect to antenna and wireless signal, and better consult High-Flying technical people when
you structure your module placement and PCB layout.
1.2.5. Evaluation Kit
High-Flying provides the evaluation kit to promote user to familiar the product and develop the detailed
application. The evaluation kit shown as below, user can connect to HF-LPB module with the RS-232
UART, RS485, USB (Internal UART-USB convetor) or Wireless port to configure the parameters,
manage the module or do the some functional tests.
Figure 6. HF-LPB Evaluation Kit
Notes:
User need download USB - UART port driver from High-Flying web or contact with technical
support people for more detail.
The external interface description for evaluation kit as follows:
Name Description
COM1 Main data/command RS-232 interface
RS485 Main data/command RS-485 interface
JTAG JTAG data debug interface (Not for user use)
USB2TTL
USB DEBUG USB2.0 data interface.
DC Jack
DC5-18V DC jack for power in, 5~18V input.
BAT
EXT PORT HF-LPB GPIO function extend interface connector
JMP1,JMP2 Reserved, No Jumper required.
JMP3 4Pin USB or RS232 Jumper. Left jump select USB.
JMP6 3Pin RS485 Jumper. No jump selects RS232.
Power 3.3V Power Indicator
nLink nLink -WiFi LINK Indicator
nReady nReady – Module Bootup Ready Indicator
Sleep_ON Sleep_ON-Module asleep or awake Indicator
nReset Used to reset the module.
nReload
WPS WPS Button
Sleep_RQ
UART to USB debug interface. (For PC without
RS232, need load driver). Can be Power input.
DC jack for power in, 5~18V input.
2 Li-Battery Power Supply.
Restore factory default configuration after push this
pin more than 3s.
Pin Sleep Control button, more than 1s to put
module in standby mode.
1.2.6. Order Information
Base on customer detailed requirement, HF-LPB series modules provide different variants and
There is pull-up resister internal and no external pull-up required. When module power up or some
issue happened, MCU need assert nRST signal “0” at least 10ms, then set” 1” to keep module fully
reset.
nLink- Module WIFI connection status indication. Output.
When module connects to AP (AP associated), this pin will output “0”. This signal used to judge if
module already at WiFi connection status. Thers is pull-up resister internal and no external pull-up
required. If n Link function not required, can leave this pin open.
nReady- Module boot up ready signal. Output. Logics “0” effective.
The module will output “0” after normal boot up. This signal used to judge if module finish boot up and
ready for application or working at normal mode. If nReady function not required, can leave this pin
open.
WPS – module auto-negotiation with AP and acquire password and build link
User can de-asser this pin low ”0”, after 500ms, then asser this pin high “1” to enable the auto
negotiation.if AP also push its WPS button, then Module and AP will start auto-negotiation and
module acquire password and build link. Next time, module will link with same AP without auto-
negotiation required. User can use “AT+WSSSID” and “AT+WSKEY” command to query SSID and
password.
nReload- Module restore to factory default configuration.Input. Logics “0” effective.
User can de-assert nReload signal “0” more than 3s through button or MCU pin, then release, module
will restore to factory default configuration and re-start boot up process. Thers is pull-up resister
internal and no external pull-up required. If nReload function not required, can leave this pin open.
Sleep-RQ- Module Pin Sleep Control. Input.
The user should de-assert this pin low “0”, after 1’s assert to high ”1” to put the module to sleep status.
Also at the deep sleep/standby mode, user can de-assert this pin low “0”, after 1’s assert to high ”1”
to put the module to wake up the module. If user doesn't use pin sleep function, can leave this pin
open.
Sleep-ON- Module Pin Sleep Indicator. Output.
This pin is used to indicate that the module is asleep (Module output “0”) or awake (Module output “1”)
status. If user doesn't use pin sleep function, can leave this pin open.
UART0_TXD/RXD- UART port data transmit and receive signal.
HF-LPB module can be configured as both wireless STA and AP base on network type. Logically
there are two interfaces in HF-LPB. One is for STA, and another is for AP. When HF-LPB works as AP,
other STA equipments are able to connect to wireless LAN via HF-LPB module. Wireless Networking
with HF-LPB is very flexible.
:
Notes
AP: that is the wireless Access Point, the founder of a wireless network and the centre of the network
nodes. The wireless router we use at home or in office may be an AP.
STA: short for Station, each terminal connects to a wireless network (such as laptops, PDA and other
networking devices) can be called with a STA device.
2.1.1. Basic Wireless Network Based On AP (Infrastructure)
Infrastructure: it’s also called basic network. It built by AP and many STAs which join in.
The characters of network of this type are that AP is the centre, and all communication between STAs
is transmitted through the AP. The figure following shows such type of networking.
Figure 9. HF-LPB Basic Wireless Network Structure
2.1.2. Wireless Network Based On AP+STA
HF-LPB module support AP+STA network mode, means module support one AP interface and one
STA interface at the same time, as following figure,
When module enables AP+STA function, Module’s STA interface can connect with router and connect
to TCP server in the network. At the same time, module’s AP interface is also active and permit
phone/PAD to connect through TCPB, then phone/PAD can control user device and and setting the
module parameters,
The advantage of AP+STA mode is:
¾Users can easily setting and track user device through Phone/PAD and not change the
orginal network setting.
¾Users can easily setting module’s parameters through WiFi when module works as STA
mode.
2.1.3. Wi-Fi Direct Network
Wi-Fi Direct standard permits the wireless connection without AP router. Like blue tooth, this standard
use point to point interconnection and all devices connect each other and transmit data withour router.
HF-LPB module support following Wi-Fi Direct networking:
HF-LPB module 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.
The parameters which need to configure include:
Protocol Type
Link Type(Server or Client)
Target Port ID Number
Target Port IP Address
¾ Serial Port Parameters
Baud Rate
Data Bit
Parity (Check) Bit
Stop Bit
Hardware Flow Control
2.3. UART Frame Scheme
2.3.1. UART Free-Frame
HF-LPB support UART free-frame function. If user select open this function, module will check the
intervals between any two bytes when reciving UART data. If this interval time exceeds defined value
(50ms default), HF-LPB will think it as the end of one frame and transfer this free-frame to WiFi port,
or HF-LPB will receive UART data untill 1400 bytes, then transfer 1400 bytes frame to WiFi port.
HF-LPB’s default interval time is 50ms. User can also set this interval to fast (10ms) through AT
command. But user have to consider if user MCU can send UART data with 10ms interval ,or the
UART data may be divide as fragment.
Through AT command: AT+UARTTE=fash/normal, user can set the interval time: fast (10ms) and
normal (50ms).
2.3.2. UART Auto-Frame
HF-LPB support UART auto-frame function. If user select open this function and setting auto-frame
trigger length and auto-frame trigger time parameters, then module will auto framing the data which
received from UART port and transmitting to the network as pre-defined data structure.
¾Auto-frame trigger length: The fixed data length that module used to transmitting to the
network.
¾Auto-frame trigger time: After the trigger time, if UART port received data can’t reach auto-
frame trigger length, then module will transmitting available data to the network and bypass
the auto-frame trigger length condition.
Detailed UART auto-frame function can refer to AT+ instruction set “UARTF/UARTFT/UARTFL”
introduction.
Encryption is a method of scrambling a message that makes it unreadable to unwanted parties,
adding a degree of secure communications. There are different protocols for providing encryption, and
the HF-LPB module supports following:
HF-LPB includes a fully IPv4 and IPv6 capable stack supporting TCP and UDP connection.Following
table shows the key features of the HF-LPB module IP stack, which including support for DHCP,
multicast, and ARP.
When HF-LPB module configured as TCP Server, it supports Multi-TCP link connection, and
maximum eight TCP clients permit to connect to HF-LPB module. User can realize multi-TCP link
connection at each work mode.
Multi-TCP link connection will work as following structure:
Upstream:
All dates from different TCP connection or client will be transmitted to the serial port as a sequence.
Downstream:
All data from serial port (user) will be duplicate and broadcast to every TCP connection or client.
Detailed multi-TCP link data transmition structure as following figure:
Figure 14. Multi-TCP Link Data Transmition Structure
2.7. Power Save Scheme
HF-LPB module can work at three modes based on different power save scheme:
Normal (Active/Sleep) Mode - AP Associated, WiFi ON/OFF based on internal control
Deep Sleep Mode - Non AP Associated, WiFi OFF
Standby Mode - Non AP Associated, WiFi Shut dwon
Normal (Active/Sleep) Mode Normal mode support two work option: One is no DTIM related (Default
mode), module will monitor the interval to Active/Sleep. The other is DTIM related mode, whcih allows
the module to sync up with beacons sent from the AP which contains the DTIM (Delivery Traffic
Indication Message). The DTIM indicates when broadcast and multicast data will be sent on the
network. This property is configured on the AP (Default value is 1, which means DTIM= 100ms) and is
typically configured as the number of beacons between each beacon with DTIM.
Deep Sleep/Standby Mode allows the WiFi circuitry to be “OFF” status or powered down, which
results in the lower/lowest sleep current, but at the expense of longer wake up times. This is due to
the module associating with the access point every time when it wakes up. The intent of this option is
to allow for longer sleep times.
The Difference between deelp sleep and standby mode as follows:
Table 6 Difference Between Deelp Sleep And Standby Mode
Status Wake Up Method
Wi-Fi MCU CurrentUARTGPIO Timeout AT Commond
Deep Sleep OFF ON ~2mA ON Yes Yes Yes
Standby OFF OFF <2uA OFF Yes Yes No
Notes: For GPIO wake up, if trigger time <1s, then only wake up MCU.
Following typical measurement parameters can be used for select suitable power save scheme based
on the real application case:
Table 7 Power Consumption with Different Power Save Mode
WiFi Mode Condition Average CurrentPeak Current
Standby WiFi Shutdown ~2uA < 10uA
Deep Sleep WiFi OFF ~2mA < 10mA
Normal
(Active/Sleep)
Normal
(Active/Sleep)
Normal
(Active/Sleep)
WiFi ON - AP Connected
DTIM = 100ms
WiFi ON – AP Connected
DTIM = 500ms
WiFi ON – AP Connected
DTIM = 1000ms
5.5~7mA < 220mA
3.5mA < 220mA
2.8mA < 220mA
In addition, for deep sleep/standby mode, module provides three wakes up options, user can select
one or whole as the module wake up option. Refer to AT Instruction (Power Management Instruction
Set) for more detailed setting.
Pin Wake Up
UART Wake Up
Timeout Wake Up
Pin Wake UpOption allows an external microcontroller to determine when HF-LPB should sleep and
when it should wake by controlling the “Sleep_RQ” and “Sleep_ON” pin. at the deep sleep/standby
mode, user can de-assert this pin low “0”, after 1’s assert to high ”1” to put the module to wake up the
module. If user doesn't use pin sleep function, can leave this pin open.
UART Wake Up Option. HF-LPB can use AT command to put module into normal/sleep mode. When
module works at deep sleep or standby mode, user can use ”AT+MSLP =normal” to wake up module.
Timeout Wake Up Option allows the sleep timeout period to be configured through the use of AT
Instruction.In this option, the module will exit sleep based on the <Timeout> AT Instruction parameters
HF-LPB module supports two methods to configuration parameters: Web Accessing and
AT+instruction set.
Web accessing means users can configure parameters through Web browser. When HF-LPB module
connected to wireless network, parameters configuration is done on a PC connected to the same
wireless network.
AT+instruction set configuration means user configure parameters through serial interface command.
Refer to “AT+instruction set” chapter for more detail.
2.9. Firmware Update
HF-LPB module supports two on-line upgrade methods:
Webpage Wi-Fi Upgrade
Remote Upgrade
Webpaged based Wi-Fiupgrade,please refer to 3.1.8 firmware upgrade page , user can upload
firmware file from PC to HF-LPB.
Remote upgrade: TBD
Notes: please contact with high-flying technical people before upgrade firmware, or maybe damage
the module and can’t work again.
2.10. GPIO Function
HF-LPB module can provide maximum 12 GPIO pins, which include 2 A/D analog input pins, 3 PWM
control pins, 2 Pin sleep control pins, 1 WPS pin, 1 RTC pin, 1 USB 5V control pin, and 2 general
GPIO pin. All these pins can be customized as GPIO pins if these functions are not required. As GPIO
functional pin, user devices can read/write GPIO pins status through AT+instruction set.
Table 8 HF-LPB GPIO Pin Mapping Table
GPIO Configured FunctionDescribtion
GPIO7 Sleep_RQ
When module works at GPIO mode, PC and other equipts can setup connection (TCP/UDP) through
WiFi, then read/write GPIO information through command.
¾ GPIO n IN, Set GPIOn as input, Response GPIO OK or GPIO NOK;
¾ GPIO n OUT 0, Set GPIOn as output and output ‘0’, Response GPIO OK or GPIO NOK;
¾ GPIO n OUT 1, Set GPIOn as output and output ‘1’, Response GPIO OK or GPIO NOK;
¾ GPIO n SW, Set GPIOn as output and switch the output status, Response GPIO OK or
GPIO NOK;
¾GPIO n PWM m1 m2, Set GPIOn output a wave: m1 is ‘high’ duration and m2 is ’low’
duration (Time unit is ‘ms’ and minimal is 10ms), Response GPIO OK or GPIO NOK;
¾GPIO n GET, Read GPIOn status, Response I0,I1,O0,O1, means”input low”,”input
When first use HF-LPB modules, user may need some configuration. User can connect to HF-LPB
module’s wireless interface with following default setting information and configure the module through
laptop.
Table 9 HF-LPB Web Access Default Setting
Parameters Default Setting
SSID HF-LPB
IP Address 10.10.100.254
Subnet Mask
User Name
Password Admin
3.1.1. Open Web Management Interface
255.255.255.0
Admin
Step 1: Connect laptop to SSID “HF-LPB” of HF-LPB module via wireless LAN card;
Step 2: After wireless connection OK. Open Wen browser and access “http://10.10.100.254”;
Step 3: Then input user name and password in the page as following and click “OK” button.
Figure 15. Open Web Management page
The HF-LPB web management page support English and Chinese language. User can select
language environment at the top right corner and click “Apply” button.
The main menu include nine pages: “System”, “Work Mode”, “STA Setting”, “AP Setting”, “Other
Setting”, “Account”, “Upgrade SW”, “Restart”, “Restore”.
3.1.2. System Page
At this page, user can check current device’s important information and status such as: device ID
(MID), software version, wireless work mode and related Wi-Fi parameters.
3.1.3. Work Mode Page
HF-LPB module can works at AP mode to simplify user’s configuration, can also works at STA to
connect remote server through AP router. Also, it can configure at AP+STA mode which provide very
flexible application for customers.
Figure 17. Work Mode Page
3.1.4. STA Setting Page
User can push “Scan” button to auto search Wi-Fi AP router nearby, and can connect with associate
AP through some settings. Please note the encryption information input here must be fully same with
Wi-Fi AP router’s configration, and then it can link with AP correctly.
3.1.5. AP Setting Page
When user select module works at AP and AP+STA mode, then need setting this page and provide
wireless and network parameters. Most of the system support DHCP to achieve IP address, so we
suggest to “Enable” DHCP server in most applications.
Figure 19. AP Setting Page
3.1.6. Other Setting Page
HF-LPB usually works at data transparent transmission mode. At this mode, the user device which
connected with HF-LPB will connect and communicate with remote PC or server. At this page, user
need setting serial port communication parameters and defines TCP related protocal parameters.
3.2.4. Module Debug
PC1 open “CommTools” program, setting the same serial port parameters with HF-LPB module and
open serial port connection.
Figure 27. “CommTools” Serial Debug Tools
PC2 open “TCPUDPDbg” program, and create a new connection. If HF-LPB configured as Server
mode, “TCPUDPDbg” Tools shall create “Client “mode connection. Or otherwise, create a “Server”
mode connection.
Then setting the TCP/UDP connection parameters. Default as following:
Figure 29. “TCPUDPDbg” Tools Setting
Then, click “Create” button to create a connection.
Figure 30. “TCPUDPDbg” Tools Connection
Now, in transparent transmission mode, data can be transferred from “CommTools” program to
“TCPUDPDbg” program, or in reverse. You can see data in receiver side will keep same as in sender
side.
For this wireless control application, HF-LPB works as Ad-Hoc mode. Module’s serial port connects to
user device. So, control agent (Smart phone for this example) can manage and control the user
device through the wireless connection with HF-LPB module.
3.3.2. Remote Management Application
Figure 32. Remote Management Application
For this remote management application, HF-LPB works as STA mode and connects to Internet
through wireless AP. Module configured as TCP Client and communicates with remote TCP server at
Internet. Module’s serial port connects to user device.
So, user device’s data or sampling information can send to remote TCP server for storage or
processing. Also remote TCP server can send command to control and manage the user device
through the wireless network.
3.3.3. Transparent Serial Port Application
For this transparent serial port application, two HF-LPB modules connect as below figures to build up
a transparent serial port connection. HF-LPB works as Ad-Hoc mode to connect each other.
When HF-LPB power up, it will default works as transparent transmission mode, then user can switch
to configuration mode by serial port command. HF-LPB UART default parameters setting as below
figure,
Figure 34. HF-LPB Default UART Port Parameters
In configuration mode, user can setting the module through AT+ instruction set, which cover all web
page setting function.
4.1.1. Switch to Configuration Mode
Two steps to finish switching from transparent transmission mode to configuration mode.
¾ UART input “+++”, after module receive “+++”, and feedback “a” as confirmation.
¾ UART input “a”, after module receive “a” and feedback “+ok” to go into AT+
instruction set configuration mode.
Figure 35. Switch to Configuration Mode
Notes:
1. When user input “+++” (No “Enter” key required), the UART port will display feedback information
2. Any other input or wrong step to UART port will cause the module still works as original mode
“a”, and not display input information”+++” as above UART display.
(transparent transmission).
www.hi-flying.com
- 36 -
HF-LPB Low Power WiFi Module User Manual
4.2. AT+ Instruction Set Overview
User can input AT+ Instruction through hyper terminal or other serial debug terminal, also can
program the AT+ Instruction to script. User can also input “AT+H” to list all AT+ Instruction and
description to start.
Figure 36. ”AT+H” Instruction for Help
4.2.1. Instruction Syntax Format
AT+Instruction protocol is based on the instruction of ASCII command style, the description of syntax
format as follow.
¾ Format Description
< >: Means the parts must be included
[ ]: Means the optional part
¾ Command Message
AT+<CMD>[op][para-1,para-2,para-3,para-4…]<CR>
AT+: Prefix of command message;
CMD: Command string;
[op]: Symbol of command operator,
“=” : The command requires parameters input;
“NULL”: Query the current command parameters setting;
[para-n]: Parameters input for setting if required;
<CR>:”Enter” Key, it’s 0x0a or 0x0d in ASCII;
+: Prefix of response message;
RSP: Response string;
“ok” : Success
“ERR”: Failure
[op] : =
[para-n]: Parameters if query command or Error code when error happened;
<CR>: ASCII 0x0d;
<LF>: ASCIII 0x0a;
¾ Error Code
Error Code Description
-1 Invalid Command Format
-2 Invalid Command
-3 Invalid Operation Symbol
-4 Invalid Parameter
-5 Operation Not Permitted
4.2.2. AT+ Instruction Set
Instruction Description
<null> NULL
Managment Instruction Set
E Open/Close show back function
WMODE Set/Query Wi-Fi work mode (AP/STA/APSTA)
ENTM Set module into transparent transition mode
TMODE Set/Query module data transfer mode
MID Query module ID information
VER Query module software version information
RELD Restore to factory default setting
Z Re-start module
H Help
UART Instruction Set
UART Set/Query serial port parameters
UARTF Open/Close UART auto-frame function
UARTFT Set/Query UART auto-frame trigger time
UARTFL Set/Query UART auto-frame trigger length
UARTTE Set/Query UART free-frame triggerf time between two bytes
Command Mode Set
SEND Send Data at Command Mode
RECV Receive Data at Command Mode
Network Instruction Set
PING Network ”Ping” Instruction
NETP Set/Query network protocol parameters
TCPLK Query if TCP link already build-up
TCPTO Set/Query TCP timeout
TCPDIS Open/Close TCP link
Wi-Fi STA Instruction Set (Effective when module works as STA)
WSKEY Set/Query STA security parameters
WSSSID Set/Query associated AP SSID parameters
WANN Set/Query STA’s network parameters
WSMAC Set/Query STA’s MAC address
WSLK Query STA Wi-Fi link status
WSLQ Query STA Wi-Fi signal strength
WSCAN Scan AP
WiFi AP Instruction Set (Effective when module works as AP)
LANN Set/Query AP’s network parameters
WAP Set/Query AP Wi-Fi parameters
WAKEY Set/Query AP security parameters
WAMAC Set/Query AP MAC address
WADHCP Set/Query AP DHCP Server status
Webpage Management Instruction Set
WEBSWITCH Set Webpage Option
Power Management Instruction Set
PSPAR Set/Query power save parameters at NORMAL mode
MSOPT Set/Query wake up option parameters
MSLP Set/Query deep sleep/standby mode parameters
TSPAR Set/Query timeout wake up parameters
Others Instruction Set
WRMID Set module ID
ASWD Set/Query WiFi configuration code
<Notes>:
All Power Management Instruction Set NOT support in this version.
4.2.2.1. AT+E
Function: Open/Close show back function;
Format:
AT+E<CR>
+ok<CR>< LF ><CR>< LF >
When HF-LPB module firstly switch from transparent transmission to configuration mode, show back
status is open, input “AT+E” to close show back function, input“AT+E” again to open show back
function.
Parameters:
When query, sta.: Feedback if TCP Client can be link,
On, TCP link close
off,TCP link on
When setting, “off” means close TCP link. After finish this command, module disconnect
TCP link and not connect again. “On” means open TCP link. After finish this command,
module re-connect TCP server right away.
4.2.2.22. AT+WSSSID
Function: Set/Query Wi-Fi associated AP SSID parameters.
Format:
Note: Module AP mode’s MAC address is related to STA mode’s MAC address. If user need
changeto others, please contact with high-flying technical people.
4.2.2.33. AT+WADHCP
Function: Set/Query AP DHCP server status;
Format:
Query Operation
AT+WADHCP<CR>
+ok=<status><CR>< LF ><CR>< LF >
Set Operation
AT+ WADHCP=<status><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
status:AP’s DHCP server function status:
on:DHCP Server Open;
off:DHCP Server Close:
4.2.2.34. AT+WEBSWITCH
Function: Set Web page display option;
Format:
Set Operation
AT+ WEBSWITCH=<web><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
web:module’s web page option:
iw: select internal reduced version web page as default web page;
ew: select full version web page as default web page;
Note:
“iw” web page only used to upgrade and upload customized web page; “ew” web
page provide more configuration option.
4.2.2.35. AT+PSPAR
Function: Set/ Query power save parameters at Normal mode;
Format:
Note: These 3 options can multi-selection, such as 0b0111 means all three wakes up option enabled.
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
- 50 -
HF-LPB Low Power WiFi Module User Manual
4.2.2.38. AT+TSPAR
Function: Set/Query timeout wake up parameters;
Format:
Detailed HF-LPB Evluation Board design source files, pls access High-Flying web download page or
contact with High-Flying technical support people to acquire.
-----------------------------------------------------------------------------------------------------------Address: Room.511/510, Building 7, No.365, Chuanhong Road, Pudong New Area,
Shanghai, China, 201202
Web: www.hi-flying.com
Service Online: 400-189-3108
Sales Contact: sales@hi-flying.com
The EUT conforms to the following standards and certification requirements:
802.11 b/g/n
FCC
❒ 47 CFR Part 1 - RF radiation exposure limits
❒ 47 CFR Part 2 - Equipment authorization
❒ 47 CFR Part C - WIFI
1.3 FCC certification requirements.
According to the definition of mobile and fixed device is described in Part 2.1091(b), this device is a
mobile device.
And the following conditions must be met:
1. The EUT is a mobile device; maintain at least a 20 cm separation between the EUT and the user’s
body and must not transmit simultaneously with any other antenna or transmitter.
2. The device is only for fixed operation mode. (A Class II Change would be required for near-body
Host applications.)
3. A label with the following statements must be attached to the host end product: This device
contains Tx FCC ID:
4. To comply with FCC regulations limiting both maximum RF output power and human exposure to
AZY-HF-LPB.
RF radiation, maximum antenna gain (including cable loss) must not exceed:
5. This module must not transmit simultaneously with any other antenna or transmitter
6. The host end product must include a user manual that clearly defines operating requirements and
conditions that must be observed to ensure compliance with current FCC RF exposure guidelines.
For portable devices, in addition to the conditions 3 through 6 described above, a separate approval
is required to satisfy the SAR requirements of FCC Part 2.1093
If the device is used for other equipment that separate approval is required for all other operating
configurations, including portable configurations with respect to 2.1093 and different antenna
configurations.
For this device, OEM integrators must be provided with labeling instructions of finished products.
Please refer to KDB784748 D01 v07, section 8. Page 6/7 last two paragraphs:
A certified modular has the option to use a permanently affixed label, or an electronic label. For a
permanently affixed label, the module must be labelled with an FCC ID - Section 2.926 (see 2.2
Certification (labelling requirements) above). The OEM manual must provide clear instructions
explaining to the OEM the labelling requirements, options and OEM user manual instructions that
are required (see next paragraph).
For a host using a certified modular with a standard fixed label, if (1) the module’s FCC ID is not
visible when installed in the host, or (2) if the host is marketed so that end users do not have
straightforward commonly used methods for access to remove the module so that the FCC ID of the
module is visible; then an additional permanent label referring to the enclosed module:“ Contains
Transmitter Module FCC ID:
The host OEM user manual must also contain clear instructions on how end users can find and/or
access the module and the FCC ID.
AZY-HF-LPB” or “Contains FCC ID: AZY-HF-LPB” must be used.
www.hi-flying.com
- 57 -
HF-LPB Low Power WiFi Module User Manual
The user manual or instruction manual for an intentional or unintentional radiator shall caution the
user that changes or modifications not expressly approved by the party responsible for compliance
could void the user's authority to operate the equipment. In cases where the manual is provided
only in a form other than paper, such as on a computer disk or over the Internet, the information
required by this section may be included in the manual in that alternative form, provided the user
can reasonably be expected to have the capability to access information in that form.
This device complies with part 15 of the FCC Rules. Operation is subject to the following two
conditions: (1) This device may not cause harmful interference, and (2) this device must accept any
interference received, including interference that may cause undesired operation.
Caution: Changes or modifications not expressly approved by the manufacturer could void the user’s
authority to operate the equipment.
1.4 FCC RF exposure requirements
1. Radiated transmit power must be equal to or lower than that specified in the FCC Grant of
Equipment Authorization for FCC ID:
2. To comply with FCC regulations limiting both maximum RF output power and human exposure to
RF radiation, maximum antenna gain (including cable loss) must not exceed:
❒ 802.11b band < 0.8 dBi
❒ 802.11g band < 0.8 dBi
❒ 802.11n band <0.8 dBi
3. This module must not transmit simultaneously with any other antenna or transmitter.
4. To ensure compliance with all non-transmitter functions the host manufacturer is
responsible for ensuring compliance with the module(s) installed and fully operational. For
example, if a host was previously authorized as an unintentional radiator under the
Declaration of Conformity procedure without a transmitter certified module and a module is
added, the host manufacturer is responsible for ensuring that the after the module is installed
and operational the host continues to be compliant with the Part 15B unintentional radiator
requirements.