High-Flying HF-LPT220 User manual

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 1 -
HF-LPT220
Low Power WiFi Module User Manual
V 1.5
Overview of Characteristic
Support IEEE802.11b/g/n Wireless Standards
Based on Self-developed High Cost Effective SOC
Support UART/GPIO Data Communication Interface
Support Work As STA/AP Mode
Support Smart Link Function (APP program provide)
Support Wireless and Remote Firmware Upgrade Function
Support Internal/External Pin Antenna Option
Single +3.3V Power Supply
Smallest Size: 22mm x 13.5mm x 3.8mm , SMT17 Package
FCC/CE/SRRC/RoHS Certificated

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 2 -
TABLE OF CONTENTS
LIST OF FIGURES...................................................................................................................................5
LIST OF TABLES ....................................................................................................................................6
HISTORY..................................................................................................................................................7
1. PRODUCT OVERVIEW ................................................................................................................8
1.1. General Description.................................................................................................................8
1.1.1 Device Features..................................................................................................................8
1.1.2 Device Paremeters .............................................................................................................9
1.1.3 Key Application...................................................................................................................9
1.2. Hardware Introduction...........................................................................................................10
1.2.1. Pins Definition...................................................................................................................10
1.2.2. Electrical Characteristics ..................................................................................................12
1.2.3. Mechanical Size................................................................................................................12
1.2.4. On-board Chip Antenna....................................................................................................13
1.2.5. External Antenna ..............................................................................................................13
1.2.6. Evaluation Kit....................................................................................................................14
1.2.7. Order Information..............................................................................................................15
1.2.8. Hardware Typical Application...........................................................................................16
2. FUNCTIONAL DESCRIPTION ..................................................................................................18
2.1. Wireless Networking..............................................................................................................18
2.1.1. Basic Wireless Network Based On AP (Infrastructure) ....................................................18
2.1.2. Wireless Network Based On STA.....................................................................................18
2.2. Work Mode : Transparent Transmission Mode...................................................................19
2.3. Encryption ..............................................................................................................................19
2.4. Parameters Configuration.....................................................................................................19
2.5. Firmware Update....................................................................................................................20
2.6. SOCKET B Function ..............................................................................................................20
2.7. Multi-TCP Link Connection (Reserved) ...............................................................................20
3. OPERATION GUIDELINE ..........................................................................................................22
3.1. Configuration..........................................................................................................................22
3.1.1. Open Web Management Interface ...................................................................................22
3.1.2. System Page.....................................................................................................................23
3.1.3. Work Mode Page..............................................................................................................23
3.1.4. STA Setting Page .............................................................................................................24
3.1.5. AP Setting Page ...............................................................................................................25
3.1.6. Other Setting Page ...........................................................................................................25
3.1.7. Account Management Page .............................................................................................26
3.1.8. Upgrade Software Page ...................................................................................................26
3.1.9. Restart Page.....................................................................................................................26
3.1.10. Restore Page ................................................................................................................27

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 3 -
3.1.11. Internal Webpage..........................................................................................................27
3.2. Usage Introduction ................................................................................................................28
3.2.1. Software Debug Tools ......................................................................................................28
3.2.2. Network Connection .........................................................................................................28
3.2.3. Default Parameter Setting ................................................................................................28
3.2.4. Module Debug...................................................................................................................29
3.3. Typical Application Examples ..............................................................................................30
3.3.1. Wireless Control Application.............................................................................................30
3.3.2. Remote Management Application.....................................................................................30
3.3.3. Transparent Serial Port Application..................................................................................31
4. AT+INSTRUCTION INTRODUCTION ......................................................................................32
4.1. Configuration Mode...............................................................................................................32
4.1.1. Switch to Configuration Mode...........................................................................................32
4.2. AT+Instruction Set Overview................................................................................................33
4.2.1. Instruction Syntax Format.................................................................................................33
4.2.2. AT+Instruction Set ............................................................................................................34
4.2.2.1. AT+E .............................................................................................................................36
4.2.2.2. AT+WMODE .................................................................................................................36
4.2.2.3. AT+ENTM .....................................................................................................................36
4.2.2.4. AT+MID.........................................................................................................................36
4.2.2.5. AT+VER ........................................................................................................................37
4.2.2.6. AT+BVER......................................................................................................................37
4.2.2.7. AT+RELD......................................................................................................................37
4.2.2.8. AT+FCLR ......................................................................................................................37
4.2.2.9. AT+Z..............................................................................................................................37
4.2.2.10. AT+H .........................................................................................................................37
4.2.2.11. AT+CFGTF................................................................................................................38
4.2.2.12. AT+UART ..................................................................................................................38
4.2.2.13. AT+NETP ..................................................................................................................39
4.2.2.14. AT+MAXSK ...............................................................................................................39
4.2.2.15. AT+TCPLK ................................................................................................................39
4.2.2.16. AT+TCPTO................................................................................................................40
4.2.2.17. AT+TCPDIS...............................................................................................................40
4.2.2.18. AT+SOCKB ...............................................................................................................40
4.2.2.19. AT+TCPDISB ............................................................................................................41
4.2.2.20. AT+TCPTOB .............................................................................................................41
4.2.2.21. AT+TCPLKB..............................................................................................................42
4.2.2.22. AT+WSSSID..............................................................................................................42
4.2.2.23. AT+WSKEY...............................................................................................................42
4.2.2.24. AT+WANN.................................................................................................................43
4.2.2.25. AT+WSMAC..............................................................................................................43
4.2.2.26. AT+WSLK..................................................................................................................44
4.2.2.27. AT+WSLQ .................................................................................................................44
4.2.2.28. AT+WSCAN...............................................................................................................44

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 4 -
4.2.2.29. AT+LANN ..................................................................................................................44
4.2.2.30. AT+WAP....................................................................................................................45
4.2.2.31. AT+WAKEY...............................................................................................................45
4.2.2.32. AT+WADHCP............................................................................................................45
4.2.2.33. AT+WALK..................................................................................................................46
4.2.2.34. AT+WALKIND............................................................................................................46
4.2.2.35. AT+WAPMXSTA .......................................................................................................46
4.2.2.36. AT+OTA.....................................................................................................................47
4.2.2.37. AT+UPURL................................................................................................................47
4.2.2.38. AT+DISPS .................................................................................................................47
4.2.2.39. AT+PLANG................................................................................................................48
4.2.2.40. AT+WEBU .................................................................................................................48
4.2.2.41. AT+WRMID ...............................................................................................................48
4.2.2.42. AT+ASWD.................................................................................................................48
4.2.2.43. AT+SMTLK................................................................................................................49
4.2.2.44. AT+SMEM .................................................................................................................49
4.2.2.45. AT+NDBGL................................................................................................................49
5. PACKAGE INFORMATION ........................................................................................................51
5.1. Recommended Reflow Profile ..............................................................................................51
5.2. Device Handling Instruction (Module IC SMT Preparation)...............................................51
5.3. Shipping Information.............................................................................................................52
APPENDIX A: HW REFERENCE DESIGN......................................................................................53
APPENDIX B: HTTP PROTOCOL TRANSFER..............................................................................54
B.1. Sending HTTP Raw Data in Throughput Mode......................................................................54
APPENDIX C:REFERENCES............................................................................................................55
C.1.High-Flying Mass Production Tool........................................................................................55
C.2.SmartLink APP V7 Config Tool..............................................................................................55
C.3.EVK Quick Start Guide ...........................................................................................................55
C.4.Module Upgrade......................................................................................................................55
C.5.Other Tools..............................................................................................................................55
C.6.SDK Software Develop Kit......................................................................................................55
APPENDIX D: CONTACT INFORMATION ......................................................................................56

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 5 -
LIST OF FIGURES
Figure 1. HF-LPT220 Pins Map...........................................................................................................10
Figure 2. HF-LPT220 Mechanical Dimension......................................................................................12
Figure 3. HF-LPT220 PCB Symbol Size .............................................................................................13
Figure 4. Suggested Module Placement Region.................................................................................13
Figure 5. LPT120/LPT220 EVK...........................................................................................................14
Figure 6. HF-LPT220 Order InformationTypical Application ...............................................................15
Figure 7. HF-LPT220 Hardware Typical Application...........................................................................16
Figure 8. HF-LPT220 Basic Wireless Network Structure ....................................................................18
Figure 9. HF-LPT220 STA Network Structure.....................................................................................18
Figure 10. Socket B function demo....................................................................................................20
Figure 11. Multi-TCP Link Data Transmition Structure......................................................................21
Figure 12. Open Web Management page..........................................................................................22
Figure 13. System Web Page............................................................................................................23
Figure 14. Work Mode Page..............................................................................................................23
Figure 15. STA Setting Page .............................................................................................................24
Figure 16. STA Scan Page ................................................................................................................24
Figure 17. AP Setting Page ...............................................................................................................25
Figure 18. Other Setting Page ...........................................................................................................25
Figure 19. Account Page....................................................................................................................26
Figure 20. Upgrade SW page ............................................................................................................26
Figure 21. Restart Page.....................................................................................................................27
Figure 22. Restore Page....................................................................................................................27
Figure 23. Internal Webpage .............................................................................................................28
Figure 24. STA Interface Debug Connection.....................................................................................28
Figure 25. AP Interface Debug Connection.......................................................................................28
Figure 26. “CommTools” Serial Debug Tools ....................................................................................29
Figure 27. “TCPUDPDbg” Tools Create Connection.........................................................................29
Figure 28. “TCPUDPDbg” Tools Setting ............................................................................................30
Figure 29. “TCPUDPDbg” Tools Connection .....................................................................................30
Figure 30. Wireless Control Application.............................................................................................30
Figure 31. Remote Management Application.....................................................................................31
Figure 32. Transparent Serial Port Application..................................................................................31
Figure 33. HF-LPT220 Default UART Port Parameters.....................................................................32
Figure 34. Switch to Configuration Mode...........................................................................................32
Figure 35. ”AT+H” Instruction for Help ...............................................................................................33
Figure 36. Reflow Soldering Profile ...................................................................................................51
Figure 37. Shipping Information.........................................................................................................52

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 6 -
LIST OF TABLES
HF-LPT220 Module Technical Specifications ........................................................................9Table1.
HF-LPT220 Pins Definition...................................................................................................10Table2.
Absolute Maximum Ratings:.................................................................................................12Table3.
Power Supply & Power Consumption: .................................................................................12Table4.
HF-LPT220 External Antenna Parameters ..........................................................................14Table5.
HF-LPT220 Evaluation Kit Interface Description..................................................................15Table6.
HF-LPT220 Web Access Default Setting.............................................................................22Table7.
Error Code Describtion.........................................................................................................34
Table8.
AT+Instruction Set List.........................................................................................................34Table9.
Reflow Soldering Parameter ................................................................................................51Table10.

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 7 -
HISTORY
Ed. V1.0 01-05-2016 First Version.
Ed. V1.1 01-29-2015 Update AT command supported by 2.0.03 version firmware. Add support for
AT+E、AT+SOCKB、AT+TCPDISB、AT+TCPTOB、AT+TCPLKB、AT+WALK、AT+WALKIND
command. Correct the AT+NETP command description.
Ed. V1.2 03-14-2015 Update AT command supported by 2.0.04 version firmware. Add
support for AT+MAXSK、AT+WAPMXSTA command. Update AT+NETP、AT+UART command. All
the reserved function is not supported yet. See appendix C to get new firmware.
Ed. V1.3 04-29-2016 Update AT command supported by 2.0.06 version firmware. Add
support for AT+UPURL. Modify AT+UART flow control, modify AT+DISPS function. Update the new
EVK data. See appendix C for new firmware. See LPB120 manual for the module usage and AT
command list.
Ed. V1.4 10-25-2016 Update boot GPIO requirement.
Ed. V1.5 12-19-2016 Update 2.09-6 firmware webpage function, add the whole function into
this manual.

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 8 -
1.PRODUCT OVERVIEW
1.1. General Description
The HF-LPT220 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 interface for data transfer.HF-
LPT220 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-LPT220 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-LPT220 integrates all Wi-Fi functionality into a low-profile, 22x13.5x 3.8mm SMT module
package that can be easily mounted on main PCB with application specific circuits. Also, module
provides built-in antenna, external pad 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 SOC
Includes all the protocol and configuration functions for Wi-Fi connectivity.
Support STA/AP Mode
Support Smart Link Function
Support Wireless and Remote Firmware Upgrade Function
Integrated chip antenna, antenna connector options.
Compact surface mount module 22mm x 13.5mm x 3.8mm, SMT17 Package
Single supply –3.3V operation.
CE/FCC/SRRC Certified.
RoHS compliant.

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 9 -
1.1.2 Device Paremeters
HF-LPT220 Module Technical SpecificationsTable1.
Class
Item
Parameters
Wireless
Parameters
Certification
FCC/CE/SRRC/RoHS
Wireless standard
802.11 b/g/n
Frequency range
2.412GHz-2.484GHz
Transmit Power
802.11b: +16 +/-2dBm (@11Mbps)
802.11g: +14 +/-2dBm (@54Mbps)
802.11n: +13 +/-2dBm (@HT20, MCS7)
Receiver Sensitivity
802.11b: -87 dBm (@11Mbps ,CCK)
802.11g: -73 dBm (@54Mbps, OFDM)
802.11n: -71 dBm (@HT20, MCS7)
Antenna Option
External: Pad interface
Internal:On-board Chip antenna
Hardware
Parameters
Data Interface
UART
GPIO
Operating Voltage
2.95~3.6V
Operating Current
Peak (Continuous TX): 280mA
Average(STA, Continuous TX): 100mA
Average(STA, No TX data). 30mA
Average(AP): 120mA
Operating Temp.
-20℃- 85℃
Storage Temp.
-40℃- 125℃
Dimensions and Size
22mm×13.5mm×3.8mm
Software
Parameters
Network Type
STA /AP
Security Mechanisms
WEP/WPA-PSK/WPA2-PSK
Encryption
WEP64/WEP128/TKIP/AES
Update Firmware
Local Wireless, Remote
Customization
Support SDK for application develop
Network Protocol
IPv4, TCP/UDP/HTTP
User Configuration
AT+instruction set. Android/ iOS
Smart Link APP tools
1.1.3 Key Application
Remote equipment monitoring
Asset tracking and telemetry
Security
Industrial sensors and controls
Home automation
Medical devices

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 10 -
1.2. Hardware Introduction
1.2.1. Pins Definition
Figure 1. HF-LPT220 Pins Map
HF-LPT220 Pins DefinitionTable2.
Pin
Describtion
Net Name
Signal Type
Comments
1
N.C
No connect
2
N.C
No connect
3
N.C
No connect
4
PWM/GPIO
GPIO_8
I/O,PU
GPIO_8
5
UART0
UART0_TX
O,PU
UART0 Communication Output
GPIO_20
6
UART0
UART0_RX
I
UART0 Communication Input
GPIO_19
7
UART1_RXD
UART0_CTS
I/O
UART1 Debug Input
GPIO_6, Leave it if not use
Detailed functions see <Notes>
8
UART1_TXD
UART0_RTS
I/O,PU
UART1 Debug Output
GPIO_5, Leave it if not use
Detailed functions see <Notes>
9
GPIO
GPIO_1
I/O,PU
GPIO1
10
Module Reset
EXT_RESETn
I,PU
“Low” effective reset input.
11
Module Boot Up Indicator
nReady
O
“0” – Boot-up OK;
“1” – Boot-up No OK;
GPIO_3
12
Multi-Function
nReload
I,PU
Detailed functions see <Notes>
GPIO_2
13
Wi-Fi Status
nLink
O
“0” – Wi-Fi connect to router
“1” – Wi-Fi unconncted;
Detailed functions see <Notes>
GPIO_15
14
GPIO18
GPIO18
I/O
GPIO_18

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 11 -
Pin
Describtion
Net Name
Signal Type
Comments
15
+3.3V Power
DVDD
Power
16
Ground
GND
Power
17
2.4GHz Antenna PAD
Ant_2.4G
O
50ohm Impendence
<Notes>
When bootup, module PIN4/5/8/9 must be high, otherwise the module will fail to work
I —Input;O —Output
PU—Internal Resistor Pull Up;I/O: Digital I/O;Power—Power Supply
nReload Pin (Button) function:
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 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 ) and loose to make
the module go into “Smart Link “ config mode, waiting for APP to set password and
other information. (See Appendix to download SmartLink APP)
3. After module is powered up, long press this button ( “Low” > 4s ) and loose 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.
nReady Pin (LED) function(Low effective):
1. OS initial finished indicator. Only after this pin output low, can the UART function be
used.
nLink Pin (LED) function(Low effective):
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.
UART1 Debug :
1. Enable UART1 log information output by AT+NDBGL=1,1 via UART0, UART1 baud
rate is fixed at 115200.
2. After UART1 is enabled, it will output system run log information and it can direct
process AT command(No need to enter command mode like UART0)

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 12 -
1.2.2. Electrical Characteristics
Absolute Maximum Ratings:Table3.
Parameter
Condition
Min.
Typ.
Max.
Unit
Storage temperature range
-40
125
°C
Maximum soldering temperature
IPC/JEDEC J-STD-020
260
°C
Supply voltage
0
3.6
V
Voltage on any I/O pin
0
3.6
V
ESD (Human Body Model HBM)
TAMB=25°C
2.5
KV
ESD (MM)
TAMB=25°C
0.25
KV
Power Supply & Power Consumption:Table4.
Parameter
Condition
Min.
Typ.
Max.
Unit
Operating Supply voltage
2.95
3.3
3.6
V
Supply current, peak
Continuous Tx
280
mA
Supply current,
STA No data transfer
30
mA
Supply current,
STA Continuous data
transfer
100
mA
Supply current,
AP
120
mA
1.2.3. Mechanical Size
HF-LPT220 modules physical size (Unit: mm)as follows:
Figure 2. HF-LPT220 Mechanical Dimension
HF-LPT220 Module PCB symbol size (mm) as follows:

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 13 -
Figure 3. HF-LPT220 PCB Symbol Size
1.2.4. On-board Chip Antenna
HF-LPT220 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 (5x5mm) 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
antenna at least 10mm;
Figure 4. Suggested Module Placement Region
High-Flying suggest HF-LPT220 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-LPT220 module supports internal antenna and external antenna(I-PEX or SMA) option for user
dedicated application.

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 14 -
If user select external antenna, HF-LPT220 modules must be connected to the 2.4G antenna
according to IEEE 802.11b/g/n standards. We can provide external antenna if needed. Contact with
our salesman.
The antenna parameters required as follows:
HF-LPT220 External Antenna ParametersTable5.
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-LPT220 module with the RS-
232 UART, USB (Internal USB to UART convetor) or Wireless interface to configure the parameters,
manage the module or do the some functional tests.
Figure 5. LPT120/LPT220 EVK
Notes: User need download USB to UART port driver from High-Flying web or contact with technical
support people for more detail.(There are two kinds of EVK provided as the above picture, mostly we
will provide the EVK Type 2)
The external interface description for evaluation kit as follows:
Item
Parameters
Frequency range
2.4~2.5GHz
Impedance
50 Ohm
VSWR
2 (Max)
Return Loss
-10dB (Max)
Connector Type
I-PEX or populate directly

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 15 -
HF-LPT220 Evaluation Kit Interface Description
Table6.
1.2.7. Order Information
Base on customer detailed requirement, HF-LPT220 series modules provide different variants and
physical type for detailed application.
Figure 6. HF-LPT220 Order InformationTypical Application
Function
Name
Description
External
Interface
RS232
Main data/command RS-232 interface
USB
USB to UART interface
DC5V
DC jack for power in, 5V input.
LED
Power
Power LED
Ready
nReady LED
Link
nLink LED
Button
nReload
Restore factory default configuration after push this
pin more than 4s.
See 1.2.1

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 16 -
1.2.8. Hardware Typical Application
Figure 7. HF-LPT220 Hardware Typical Application
Notes:
nReset- Module hardware reset signal. Input. Logics “0” effective.
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.

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 18 -
2.FUNCTIONAL DESCRIPTION
2.1. Wireless Networking
HF-LPT220 module can be configured as both wireless STA and AP base on network type. Logically
there are two interfaces in HF-LPT220. One is for STA, and another is for AP. When HF-LPT220
works as AP, other STA equipments are able to connect to HF-LPT220 module directly. Wireless
Networking with HF-LPT220 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 8. HF-LPT220 Basic Wireless Network Structure
2.1.2. Wireless Network Based On STA
HF-LPT220 module support STA network mode.
Figure 9. HF-LPT220 STA Network Structure

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 19 -
2.2. Work Mode : Transparent Transmission Mode
HF-LPT220 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:
Wireless Network Parameters
Wireless Network Name(SSID)
Security Mode
Encryption Key
TCP/UDP Linking Parameters
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. Encryption
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-LPT220 module supports following:
WEP
WPA-PSK/TKIP
WPA-PSK/AES
WPA2-PSK/TKIP
WPA2-PSK/AES
2.4. Parameters Configuration
HF-LPT220 module supports two methods to configuration parameters: AT+instruction set.

HF-LPT220 Low Power WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com) - 20 -
AT+instruction set configuration means user configure parameters through serial interface command.
Refer to “AT+instruction set” chapter for more detail.
2.5. Firmware Update
HF-LPT220 module supports multiple upgrade methods:
UART upgrade
Local Network upgrade
Remote upgrade
HF-LPT220 module support upgrade from remote HTTP server, keep module connects to AP router
before excute remote HTTP upgrade.
Direct Download and Upgrade
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.6. SOCKET B Function
HF-LPT220 support double socket communication, the socket B function is disabled by default.
Figure 10. Socket B function demo
2.7. Multi-TCP Link Connection (Reserved)
When HF-LPT220 module SOCK A configured as TCP Server, it supports Multi-TCP link connection,
and maximum 5 TCP clients permitted to connect to HF-LPT220 module. User can realize multi-TCP
link connection at each work mode.
Other manuals for HF-LPT220
1
Table of contents
Other High-Flying Wireless Router manuals