LIST OF FIGURES ................................................................................................................................... 6
LIST OF TABLES .................................................................................................................................... 7
HISTORY .................................................................................................................................................. 8
example. Correct AT+WADHCP、AT+WSKEY、AT+NTPTM、AT+WAP command description. Add
AT+SMTLKVER(LPB100U). Modify company address.
Ed. V1.9 07-20-2015. Delete the reserved function description(PWR pin function description
and so on). Modify the module label. Add 3 more PWM Channel.
The HF-LPB100 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 interface for data transfer.HFLPB100 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.
The HF-LPB100 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-LPB100 integrates all Wi-Fi functionality into a low-profile, 23.1x32.8x 2.7mm SMT module
package that can be easily mounted on main PCB with application specific circuits. Also, module
provides built-in antenna, external antenna option.
1.1.1 Device Features
Single stream Wi-Fi @ 2.4 GHz with support for WEP security mode as well as WPA/WPA2
Based on Self-developed High Cost Performance MCU
Ultra-low-power operation with all kinds of power-save modes.
Includes all the protocol and configuration functions for Wi-Fi connectivity.
Support STA/AP/AP+STA Mode
Support Smart Link Function
Support Wireless and Remote Firmware Upgrade Function
Support Max 8 Channel PWM/GPIO Output
Integrated pcb antenna, antenna connector options.
Compact surface mount module 23.1mm x 32.8mm x (3.45±0.3)mm.
Full IPv4 stack.
Low power RTOS and drivers.
CE/FCC/TELEC Certified.
RoHS compliant.
Single supply – 3.3V operation.
1. When this pin is set to “low” during module boot up, the module will enter wireless
firmware and config upgrade mode. This mode is used for customer manufacture.
(See Appendix D to download software tools for customer batch configuration and
upgrade firmware during mass production)
2. After module is powered up, short press this button ( “Low” < = 2s ) to make the
module go into “Smart Link “ config mode, waiting for APP to set password and
other information. (See Appendix D to download SmartLink APP)
3. After module is powered up, long press this button ( “Low” >= 4s ) to make the
module recover to factory setting.
High-Flying strongly suggest customer fan out this pin to connector or button for
“Manufacture” and “ Smart Link” application.
nLink Pin (LED) function:
1. At wireless firmware and config upgrade mode , this LED used to indicate configure
and upgrade status.
2. At “Smart Link “ config mode, this LED used to indicate APP to finish setting.
3. At normal mode, it’s Wi-Fi link status indicator
High-Flying strongly suggest customer fan out this pin to LED.
1.2.4. On-board PCB Antenna
HF-LPB100 module support internal on-board PCB 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 shielded by any metal enclosure;
Figure 5. Suggested Module Placement Region
High-Flying suggest HF-LPB100 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. External Antenna
HF-LPB100 module supports internal antenna and external antenna(I-PEX or SMA) option for user
dedicated application.
If user select external antenna, HF-LPB100 modules must be connected to the 2.4G antenna
according to IEEE 802.11b/g/n standards.
The antenna parameters required as follows:
UART to USB debug interface. (For PC without
RS232, need load driver). Can be Power input.
USB DEBUG
USB2.0 data interface.(Reserved)
DC Jack
DC jack for power in, 5~18V input.
DC5-18V
DC jack for power in, 5~18V input.
BAT
2 Li-Battery Power Supply.
EXT PORT
HF-LPB100 GPIO function extend interface
connector
1.2.6. 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-LPB100 module with the RS232 UART, RS485, USB (Internal USB to UART convetor) or Wireless port to configure the
parameters, manage the module or do the some functional tests.
Figure 6. HF-LPB100 Evaluation Kit
Notes: User need download USB to 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:
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.
(This pin is recommend to connect to LED, indicate status when the module in wireless
upgrade mode)
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 nLink 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.
nReload- Module restore to factory default configuration.Input. Logics “0” effective.
(This pin is recommend to connect to button, is used to enter wireless upgrade mode)
User can de-assert nReload signal “0” more than 4s through button or MCU pin, then release, module
will restore to factory default configuration and re-start boot up process.. If nReload function not
required, can leave this pin open.
UART0_TXD/RXD- UART port data transmit and receive signal.
HF-LPB100 module can be configured as both wireless STA and AP base on network type. Logically
there are two interfaces in HF-LPB100. One is for STA, and another is for AP. When HF-LPB100
works as AP, other STA equipments are able to connect to HF-LPB100 module directly. Wireless
Networking with HF-LPB100 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.
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.2. Work Mode : Transparent Transmission Mode
HF-LPB100 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.
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-LPB100 support UART free-frame function. If user select open this function, module will check the
intervals between any two bytes when receiving UART data. If this interval time exceeds defined value
(50ms default), HF-LPB100 will think it as the end of one frame and transfer this free-frame to WiFi
port, or HF-LPB100 will receive UART data until 1000 bytes, then transfer 1000 bytes frame to WiFi
port.
HF-LPB100‟s default interval time is 50ms. (If the UART data interval is less than 300ms, the data
may be packaged into one fragment ) User can also set this interval to fast through AT command. The
UART data may be divided as fragment.
Through AT command: AT+UARTTE=fast/normal, We recommend to use just normal parameter.
2.3.2. UART Auto-Frame
HF-LPB100 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-LPB100 module supports following:
HF-LPB100 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-LPB100
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.6. Firmware Update
HF-LPB100 module supports two on-line upgrade methods:
Webpage Wi-Fi Upgrade
Remote Upgrade
Webpage based Wi-Fiupgrade,please refer to 3.1.8 firmware upgrade page , user can upload
firmware file from PC to HF-LPB100.
HF-LPB100 module also support upgrade from remote HTTP server, keep module connects to AP
router before excute remote HTTP upgrade. Remote upgrade have two methods: Direct Download and Upgrade, Configure File Based Upgrade.
Configure File Based Upgrade
AT+UPURL command to set the remote directory which the configuration file located, such as
AT+UPURL=http://www.hi-flying.com/!admin/down/
Notes: The last ‟/‟ can‟t be remove
AT+UPFILE command to set the configuration file name, such as AT+UPFILE=config.txt
AT+UPST command to start remote Application upgrade. After excuate this command, the module will
firstly download configuration file (“config.txt”), then download the upgrade file base on the URL
address listed in the configure file.
General “config.txt” file format as following example:
[URL]=http://10.10.100.100:80/lpb.bin
AT+UPURL command to set the remote directory and file name, such as:
AT+UPURL=http://www.hi-flying.com/!admin/down/,lpb.bin
After excuate this command, the module will directly download the “lpb.bin” file from remote directory
and start upgrade Application.
Notes: please contact with high-flying technical people before upgrade firmware, or maybe damage
the module and can‟t work again.
2.7. GPIO/PWM Function
HF-LPB100 module can provide many GPIOs, which include max 6 PWM/GPIO control pins. User
devices can read/write GPIO/PWM pins status.
Table 7 HF-LPB100 GPIO/PWM Pin Mapping Table
When module works at PWM mode, PC and other devices can setup connection (TCP/UDP) through
WiFi, then read/write GPIO/PWM information through command data.
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 GET, Read GPIOn pin status, Response +ok=1 or GPIO NOK
GPIO n SET, Save GPIOn set, Response GPIO OK or GPIO NOK
PWM n frequency duty, Set PWMn Channel output, Response GPIO OK or GPIO NOK
PWM n GET, Read PWMn Channel set, Response +ok=frequency duty or PWM NOK
PWM n SET, Save PWMn Channel set, Response PWM OK or PWM NOK
Notes: Please refer to Appendix B for details to use GPIO/PWM.
2.8. SOCKET B Function
HF-LPB100 support double socket communication, the socket B function is disabled by default.
When HF-LPB100 module SOCK A configured as TCP Server, it supports Multi-TCP link connection,
and maximum 5 TCP clients permitted to connect to HF-LPB100 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 replicate and broadcast to every TCP connection
or client.
Detailed multi-TCP link data transmission structure as following figure:
Figure 12. Multi-TCP Link Data Transmition Structure
When first use HF-LPB100 modules, user may need some configuration. User can connect to HFLPB100 module‟s wireless interface with following default setting information and configure the
module through laptop.
Table 8 HF-LPB100 Web Access Default Setting
3.1.1. Open Web Management Interface
There is internal webpage and external webpage in modules. The external webpage is for web
management. The internal webpage is only for upgrading.
Step 1: Connect laptop to SSID “HF-LPB100” of HF-LPB100 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 13. Open Web Management page
The HF-LPB100 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”.
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.
Figure 14. System Web Page
3.1.3. Work Mode Page
HF-LPB100 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 15. 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 17. AP Setting Page
3.1.6. Other Setting Page
HF-LPB100 usually works at data transparent transmission mode. At this mode, the user device which
connected with HF-LPB100 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.1.9. Restart Page
Most of the settting and configuration can only effective after system restart. User shall restart after
finish all setting.
Figure 21. Restart Page
3.1.10. Restore Page
After module restore factory default setting, all user configuration profile will lose.
User can access http://10.10.100.254to set again, and user name and password is “admin”. HFLPB100 will restore to AP mode for factory default setting.
After wireless connection is OK. Open Wen browser and access “http://10.10.100.254/iweb.html”; It
is for upgrading application and external webpage. Please contact High-Flying if need support on
custimization for external webpage.
Figure 23. Internal Webpage
3.2. HF-LPB100 Usage Introduction
3.2.1. Software Debug Tools
High-Flying use two common software tools debugging and applying HF-LPB100 module.
(User can also select other tools used to debug serial port).
Serial Debugging Software: ComTools
Ethernet Debugging Software: TCPUDPDbg
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.
3.3. Typical Application Examples
3.3.1. Wireless Control Application
Figure 30. Wireless Control Application
For this wireless control application, HF-LPB100 works as AP 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 -LPB100 module.
3.3.2. Remote Management Application
Figure 31. Remote Management Application
For this remote management application, HF-LPB100 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.
When HF-LPB100 power up, it will default works as transparent transmission mode, then user can
switch to configuration mode by serial port command. HF-LPB100 UART default parameters setting as
below figure,
Figure 33. HF-LPB100 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 34. Switch to Configuration Mode
Notes:
1. When user input “+++” (No “Enter” key required), the UART port will display feedback information
“a”, and not display input information”+++” as above UART display.
2. Any other input or wrong step to UART port will cause the module still works as original mode
(transparent transmission).
3. “+++” and “a” should be input in a certain period of time to make the module switch to configuration
mode. Like the following sequence.
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 35. ”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
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;
Notes: When input AT+Instruction, “AT+<CMD>” character will display capital letter automatic and otherparts will not change as you input.
fast: No free-frame trigger time, the uart data may be break into two fragment
normal: free-frame trigger time between two bytes is 50ms;
4.2.2.19. AT+SEND
Function: Send Data to SOCKA at Command Mode.
Format:
AT+SEND=<data_lenth><CR> +ok<CR><LF><CR><LF>
Parameters:
data_lenth: Lenth of send data. Range: 0~1000 Byte
The UART port will wait 3 seconds for input after this command is sent OK. The data received
from UART port is sent to SOCKA. If the interval of two bytes is more than 10ms, the data will be
sent instantly.
4.2.2.20. AT+RECV
Function: Receive Data from SOCKA at Command Mode.
Format:
CLIENT
Port: protocol port ID: Decimal digit and less than 65535
IP: Server‟s IP address when module set as client
If set as UDP SERVER, the module will save the IP address and port of the latest UDP
packet received. The data will be sent to the saved IP address and port. If the module hasn‟t
saved any IP address and port when power up. The data will be sent to the IP address and port
which is set by this command.
If set as UDP,CLIENT, the data will always be sent to the IP address and port set by this
command.
Function: Set/Query TCP timeout; Setting is valid after reset.
Format:
Query Operation
AT+TCPTO<CR>
+ok=<time><CR><LF><CR><LF>
Set Operation
AT+TCPTO=<time ><CR>
+ok<CR><LF><CR><LF>
Parameters:
time: TCP timeout time.
<= 600, (600s);
>=0, (0 means no timeout);
Default, 300s;
Module begin to count time when TCP channel don‟t receive any data, clecherar time
counter when TCP channel receive any data. If the time counter reaches the TCPTO, the tcp
channel will be break. If the module work in TCP Client, it will connect the TCP server
instantly and when the module work in TCP Server, the TCP client device should make the
connection itself.
4.2.2.26. AT+TCPDIS
Function: Open/Close TCP link;
Format:
Query Opera
AT+TCPDIS<CR>+ok=<sta><CR><LF><CR><LF>
Set Operation
AT+TCPDIS =<on/off><CR>
+ok<CR><LF><CR><LF>
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.27. AT+SOCKB
Function: Set/Query SOCKB parameters. Setting is valid after reset.
Format:
UDPS: UDP Server
Port: Protocol Port in decimal, less than 65535
IP: Destination IP address, domain name is support
If set as UDP SERVER, the module will save the IP address and port of the latest UDP
packet received. The data will be sent to the saved IP address and port. If the module hasn‟t
saved any IP address and port when power up. The data will be sent to the IP address and
port which is set by this command.
If set as UDP,CLIENT, the data will always be sent to the IP address and port set by this
command.
4.2.2.28. AT+TCPDISB
Function: Open/Close SOCKB connection
Format:
Query Operation
AT+TCPDISB<CR> +ok=<sta><CR><LF><CR><LF>
Set Operation
AT+TCPDISB =<on/off><CR>
+ok<CR><LF><CR><LF>
Parameters:
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 reconnect TCP server right away.
4.2.2.29. AT+TCPTOB
Function: Set/Query Operation SOCKB TCP timeout. Setting is valid after reset.
<= 600:600s
>=0:0 means no timeout
Default:300s
If the SOCKB TCP don't receive any data from TCP server for TCP tmeout setting, the
module will break and reconnect the TCP server. If it receive data from server, the timeout
counter will be clear.
4.2.2.30. AT+TCPLKB
Function:Query SOCKB connection status
Format:
AT+TCPLKB<CR>
+ok=<sta><CR><LF><CR><LF>
Parameters:
sta.: SOCKB connection status
on: TCP connected
off: TCP disconnected
4.2.2.31. AT+SNDB
Function: Send datas to SOCKB at Command Mode
Format:
AT+SNDB=<data_lenth ><CR>
+ok<CR><LF><CR><LF>
Parameters:
data_lenth: Lenth of send data. Range: 0~1000 Byte
The UART port will wait 3 seconds for input after this command is sent OK. The data received
from UART port is sent to SOCKB. If the interval of two bytes is more than 10ms, the data will be
sent instantly.
4.2.2.32. AT+RCVB
Function: Receive datas from SOCKB at Command Mode
NONE: When “auth=OPEN”, effective
WEP-H: When “auth=OPEN” or “SHARED”, effective, in HEX format
WEP-A: When “auth=OPEN” or “SHARED”, effective, in ASCII format
TKIP: When ”auth= WPAPSK” or “WPA2PSK”, effective
AES: When “auth= WPAPSK” “WPA2PSK”, effective
key: password. When encry is WEP-H, password is in HEX format, password
length is 10 or 26. When encry is WEP-A, password is in ASCII format, password
length is 5 or 13. When encry is TKIP or AES, password is in ASCII code,
password length shall be less than 64 andgreater than 8.
4.2.2.35. AT+WANN
Function: Set/Query STA network setting. Setting is valid after reset.
AES: When “auth=WPA2PSK” available;
key: security code, ASCII code, smaller than 64bit and bigger than 8 bit;
4.2.2.44. AT+WAMAC
Function: Query AP MAC address parameters;
Format:
Query Operation
AT+WAMAC<CR>
+ok=<mac_address><CR><LF><CR><LF>
Parameters:
mac_address:AP‟s MAC address;
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.45. AT+WADHCP
Function: Set/Query AP DHCP server status; Setting is valid after reset.
Format:
url: the upgrade file url address; the last charter shall be “/” (within 20 characters).
filename: the upgrade file name, it‟s optional and not saved parameter. If provide
this file name here, the module will start upgrade right away;
SmartLink is a One-Key config function. Config the module connecting to router easily. After start
SmartLink function , the module work in SmartLink status and nLink LED is fast flashing waiting for
APP to push information. See the Appendix for more details.
ver:3- Use SmartLink V3 version, sniffer mode, 4- SmartLink V4 version, sonic
mode. The corresponding APP can be downloaded from our website. See
appendix D for details.
4.2.2.68.AT+WPS
Function: Start WPS function
Format:
Query Operation
AT+WPS<CR>
+ok=<status> <CR><LF><CR><LF>
Parameters:
status: WPS status. The module will reboot and work in STA mode connecting to
specific router when WPS communication is OK.
WPS Scan Failed: WPS communication is failed.
Note: The router WPS function must be open first then enable module WPS Scan function.
The module will quit WPS scan status if there is no WPS router in 5 seconds. If the router's
WPS is enabled, the module will reboot and enter WPS mode without reply +ok.
Note: The router WPS function must be open first then enable module WPS Scan function.
The module will quit WPS scan status if there is no WPS router in 5 seconds.
4.2.2.70. AT+LPTIO
Function: nReady,nLink, WPS function mapping. Setting is valid after reset.
Format:
Query Operation
AT+LPTIO<CR>
+ok=<status> <CR><LF><CR><LF>
Set Operation
AT+LPTIO =<status><CR>
+ok<CR><LF><CR><LF>
Parameters:
status: nReady,nLink, WPS function mapping.
off/lpb100: nReady,nLink, WPS function are mapping to HF-LPB100
corresponding pin.(Pin44, Pin43, Pin15)
on/lpt100: nReady,nLink, WPS function are mapping to HF-LPT100
corresponding pin.(Pin9, Pin10, Pin8)
lpt200: nReady,nLink, WPS function are mapping to HF-LPT200
corresponding pin.(Pin11, Pin13, Pin14)
4.2.2.71. AT+WIFI
Function: Enable/Disable Wi-Fi Command, need to update to V1.0.05 firmware to use
Note: Some Wi-Fi status change command(AT+WMODE and so on)need to reboot before
valid. But may use this command only to reboot the Wi-Fi Chip to make the corresponding
command valid.This is AT+WIFI=DOWN and then AT+WIFI=UP.
Detailed HF-LPB100 Evluation Board design source files, pls access High-Flying web download page
or contact with High-Flying technical support people to acquire.
APPENDIX B: CONTROL GPIO/PWM
FUNCTION WITH NETWORK COMMANDS
Send command data to control module‟s GPIO, PWM port after make network connection with TCP or
UDP protocol. The status of GPIO won‟t be changed if the module is reset
B.1 Network Command
B.1.1 GPIO <channel> OUT <value>
Function: Set GPIO Channel value temporarily.。
Parameters:
channel:GPIO Channel number, it can be 11、12、15、18、20、23(GPIO Pin
Function: Set PWM Channel output temporarily
Parameters:
channel:PWM Channel number, it can be 11、12、18、20(GPIO Pin number)
frequency:PWM Channel frequency, it can be 500~60000
duty:PWM Channel duty, it can be 0~100.
value1: High byte of PWM Channel 0(GPIO11) frequency
value2: Low byte of PWM Channel 0(GPIO11) frequency
value3: High byte of PWM Channel 1(GPIO12) frequency
value4: Low byte of PWM Channel 1(GPIO12) frequency
value5: High byte of PWM Channel 2(GPIO18) frequency
value6: Low byte of PWM Channel 2(GPIO18) frequency
value7: High byte of PWM Channel 3(GPIO20) frequency
value8: Low byte of PWM Channel 3(GPIO20) frequency
B.2.4 Write PWM Channel Frequency
Send Data:【32 <channel value1 value2】:
channel: PWM Channel number
value1: High byte of PWM Channel frequency
value2: Low byte of PWM Channel frequency
Return Data:【b2 <channel value1 value2>】
Channel: PWM Channel number
value1: High byte of PWM Channel frequency
value2: Low byte of PWM Channel frequency
Function:Set/Query Connection of HTTP protocol header
Format:
Query Operation
AT+HTTPCN<CR>
+ok=<Connection><CR><LF><CR><LF>
Set Operation
AT+HTTPCN=<Connection><CR>
+ok<CR><LF><CR><LF>
Parameters:
Connection:Max length is 20 bytes.
C.1.5. AT+HTTPUA
Function:Set/Query User-Agent of HTTP protocol header.
Format:
Query Operation
AT+HTTPUA<CR>
+ok=<Parameter><CR><LF><CR><LF>
Set Operation
AT+HTTPUA=<Parameter><CR>
+ok<CR><LF><CR><LF>
Parameters:
Parameter:Max length is 20 bytes.
C.1.6. AT+HTTPDT
Function: Send HTTP request or data.
Format:
Set Operation
AT+HTTPDT=<Data><CR>
+ok<CR><LF><CR><LF>
Parameters:
Data:HTTP request data, send AT+HTTPDT directly if no data to be sent.
C.2. HTTP Example
HTTP parameter settings are as follows:
AT+HTTPURL=192.168.1.1,80 Set HTTP server address and port
AT+HTTPTP=POST Set HTTP request type
AT+HTTPPH=/abcd Set HTTP protocol header path
AT+HTTPCN= keep-alive Set HTTP Connection area
AT+HTTPUA= lwip1.3.2 Set HTTP User-Agent area
If send “AT+HTTPDT”, the data packet will be sent as the following instance including the two
new line:
POST /abcd HTTP/1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:0
Host:192.168.0.127:8999
If send AT+HTTPDT=abcd, the data packet will be sent as the following instance:
POST /abcd HTTP/1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:4
Host:192.168.0.127:8999
abcd
The data received from HTTP server will be output to serial port and end with “+ok”.
If the module hasn‟t received data from HTTP server for 5 second, it will cut the TCP link with
HTTP server.
C.3. Sending HTTP Raw Data in Throughput Mode(Recommend)
Step 1、 Configure HTTP server information
Step 2、Configure module connecting to router AP and reboot.
Step 3、 Sending HTTP raw data via UART, end the data with<CR><LF><CR><LF>
1. 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.
(2) This device must accept any interference received, including interference that may cause
undesired operation.
2. Changes or modifications not expressly approved by the party responsible for compliance
could void the user's authority to operate the equipment.
NOTE: This equipment has been tested and found to comply with the limits for a Class B
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation.
This equipment generates uses and can radiate radio frequency energy and, if not installed
and used in accordance with the instructions, may cause harmful interference to radio
communications.
However, there is no guarantee that interference will not occur in a particular installation. If
this equipment does cause harmful interference to radio or television reception, which can be
determined by turning the equipment off and on, the user is encouraged to try to correct the
interference by one or more of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
Consult the dealer or an experienced radio/TV technician for help.
FCC Radiation Exposure Statement
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled
environment. For a “Portable” application, this equipment should be installed and operated
with a minimum distance of 12.7cm between the radiator and your body. For a “Mobile”
application, this equipment should be installed and operated with a minimum distance of
20cm between the radiator and your body.
FCC INFORMATION (additional)
OEM INTEGRATION INSTRUCTIONS:
This module has been approved for use in two configurations:
A. Mobile Configuration (The module must be installed in the host equipment such that a
minimum distance of 20 cm is maintained between the antenna and user)
B. Portable Configuration (The module must be installed in the host equipment such that a
minimum of 12.7 cm is maintained between the antenna and user)
This device is intended only for OEM integrators under the following conditions:
1. The module must be installed in the host equipment such that specified minimum distance
is maintained between the antenna and user (20cm for “Mobile” application, 12.7cm for
“Portable” application)
2. The transmitter module may not be co-located with any other transmitter or antenna.
3. The module shall be only used with the external antenna(s) that has been originally tested
and certified with this module
As long as 3 conditions above are met, further transmitter test will not be required. However,
the OEM integrator is still responsible for testing their end-product for any additional
compliance requirements required with this module installed.
Validity of using the module certification:
In the event that these conditions cannot be met (for example certain laptop
configurations or co-location with another transmitter), then the FCC authorization for this
module in combination with the host equipment is no longer considered valid and the
FCC ID of the module cannot be used on the final product. In these circumstances, the
OEM integrator will be responsible for re-evaluating the end product (including the
transmitter) and obtaining a separate FCC authorization.
End product labeling:
This transmitter module is authorized only for use in device where the antenna may
beinstalled such that 12.7 cm may be maintained between the antenna and users. The final
end product must be labeled in a visible area with the following: “Contains FCC ID: AZYHFLPB100”.
Information that must be placed in the end user manual:
For a “Portable” application, maintain a minimum separation distance of 12.7cm or more from
all persons during operation. For “Mobile” application, maintain a minimum separation
distance of 20cm or more from all persons during operation. Installations requiring less
distance, or installations using antennas with gain greater than that with which this was
Certified will require additional testing/approvals.