High Flying Electronics Technology HF-LPB Embedded WIFI module User Manual AZY HF LPB Rev1
High-Flying Electronics Technology Co.,Ltd Embedded WIFI module AZY HF LPB Rev1
AZY-HF-LPB_User Manual Rev1
HF-LPB Low Power WiFi Module User Manual HF-LPB Low Power WiFi Module User Maunal V 1.1 Copyright Hi-flying is a registered trademark of Hi-flying Incorporated. Copyright © 2012 Hi-flying Incorporated. All rights reserved. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. Hi-flying Incorporated reserves the right to make changes in technical and product specifications without provisional notification. This module is limited to OEM installation only and must not be sold to endusers. OEM integrators must be instructed to ensure that the end-user has no manual instructions to remove or install the device. The end-user can not remove or install this module to any other devices. Changes or modifications not expressly approved by the manufacturer 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 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -1- HF-LPB Low Power WiFi Module User Manual Overview of Characteristic Support IEEE802.11b/g/n Wireless Standards Fully Self-Contained Serial-to-Wireless Functionality 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 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. Evaluation Kit ....................................................................................................................14 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -2- HF-LPB Low Power WiFi Module User Manual 1.2.6. 1.3. Order Information..............................................................................................................15 Typical Application ................................................................................................................16 1.3.1. 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 AP+STA..............................................................................18 2.1.3. Wi-Fi Direct Network .........................................................................................................19 2.2. Work Mode : Transparent Transmission Mode ..................................................................20 2.3. UART Frame Scheme ............................................................................................................21 2.3.1. UART Free-Frame ............................................................................................................21 2.3.2. UART Auto-Frame ............................................................................................................21 2.4. Encryption ..............................................................................................................................22 2.5. Network Protocal ...................................................................................................................22 2.6. Multi-TCP Link Connection ...................................................................................................23 2.7. Power Save Scheme ..............................................................................................................23 2.8. Parameters Configuration .....................................................................................................25 2.9. Firmware Update ....................................................................................................................25 2.10. 3. Hardware Typical Application ...........................................................................................16 GPIO Function ....................................................................................................................25 OPERATION GUIDELINE ..........................................................................................................27 3.1. Configuration via Web Accessing ........................................................................................27 3.1.1. Open Web Management Interface ...................................................................................27 3.1.2. System Page.....................................................................................................................27 3.1.3. Work Mode Page ..............................................................................................................28 3.1.4. STA Setting Page .............................................................................................................28 3.1.5. AP Setting Page ...............................................................................................................29 3.1.6. Other Setting Page ...........................................................................................................29 3.1.7. Account Management Page .............................................................................................30 3.1.8. Upgrade Software Page ...................................................................................................30 3.1.9. Restart Page .....................................................................................................................31 3.1.10. 3.2. HF-LPB Usage Introduction ..................................................................................................32 3.2.1. Software Debug Tools ......................................................................................................32 3.2.2. Network Connection .........................................................................................................32 3.2.3. Default Parameter Setting ................................................................................................33 3.2.4. Module Debug ..................................................................................................................33 3.3. 4. Restore Page ................................................................................................................31 Typical Application Examples ..............................................................................................34 3.3.1. Wireless Control Application .............................................................................................34 3.3.2. Remote Management Application ....................................................................................35 3.3.3. Transparent Serial Port Application ..................................................................................35 AT+INSTRUCTION INTRODUCTION ......................................................................................36 4.1. Configuration Mode ...............................................................................................................36 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -3- HF-LPB Low Power WiFi Module User Manual 4.1.1. 4.2. Switch to Configuration Mode ...........................................................................................36 AT+ Instruction Set Overview ...............................................................................................37 4.2.1. Instruction Syntax Format .................................................................................................37 4.2.2. AT+ Instruction Set ...........................................................................................................38 4.2.2.1. AT+E .............................................................................................................................39 4.2.2.2. AT+WMODE .................................................................................................................40 4.2.2.3. AT+ENTM .....................................................................................................................40 4.2.2.4. AT+TMODE...................................................................................................................40 4.2.2.5. AT+MID .........................................................................................................................40 4.2.2.6. AT+VER ........................................................................................................................41 4.2.2.7. AT+RELD ......................................................................................................................41 4.2.2.8. AT+Z .............................................................................................................................41 4.2.2.9. AT+H .............................................................................................................................41 4.2.2.10. AT+UART ..................................................................................................................41 4.2.2.11. AT+ UARTF ...............................................................................................................42 4.2.2.12. AT+ UARTFT .............................................................................................................42 4.2.2.13. AT+ UARTFL .............................................................................................................43 4.2.2.14. AT+ UARTTE.............................................................................................................43 4.2.2.15. AT+ SEND .................................................................................................................43 4.2.2.16. AT+ RECV .................................................................................................................43 4.2.2.17. AT+ PING ..................................................................................................................44 4.2.2.18. AT+NETP ..................................................................................................................44 4.2.2.19. AT+ TCPLK ...............................................................................................................44 4.2.2.20. AT+ TCPTO ...............................................................................................................45 4.2.2.21. AT+TCPDIS ...............................................................................................................45 4.2.2.22. AT+WSSSID ..............................................................................................................45 4.2.2.23. AT+WSKEY ...............................................................................................................46 4.2.2.24. AT+ WANN ................................................................................................................46 4.2.2.25. AT+ WSMAC .............................................................................................................46 4.2.2.26. AT+ WSLK .................................................................................................................47 4.2.2.27. AT+ WSLQ ................................................................................................................47 4.2.2.28. AT+WSCAN...............................................................................................................47 4.2.2.29. AT+ LANN .................................................................................................................47 4.2.2.30. AT+WAP ....................................................................................................................48 4.2.2.31. AT+WAKEY ...............................................................................................................48 4.2.2.32. AT+WAMAC ..............................................................................................................49 4.2.2.33. AT+WADHCP ............................................................................................................49 4.2.2.34. AT+WEBSWITCH .....................................................................................................49 4.2.2.35. AT+PSPAR ................................................................................................................49 4.2.2.36. AT+MSLP ..................................................................................................................50 4.2.2.37. AT+MSOPT ...............................................................................................................50 4.2.2.38. AT+TSPAR ................................................................................................................51 4.2.2.39. AT+WRMID ...............................................................................................................51 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -4- HF-LPB Low Power WiFi Module User Manual 4.2.2.40. 5. AT+ASWD .................................................................................................................51 PACKAGE INFORMATION ........................................................................................................52 5.1. Recommended Reflow Profile ..............................................................................................52 5.2. Device Handling Instruction (Module IC SMT Preparation) ...............................................52 5.3. Shipping Information .............................................................................................................53 APPENDIX A: HW REFERENCE DESIGN ......................................................................................54 APPENDIX B: CONTACT INFORMATION ......................................................................................55 1 STANDARDS AND REGULATORY COMPLIANCE .........................................................................56 1.2 Standards and certification...................................................................................................56 1.3 FCC certification requirements. ...........................................................................................56 1.4 FCC RF exposure requirements ...........................................................................................58 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -5- HF-LPB Low Power WiFi Module User Manual LIST OF FIGURES Figure 1. HF-LPB Demo ..................................................................................................................10 Figure 2. HF-LPB Pins Map .............................................................................................................10 Figure 3. HF-LPB Mechanical Dimension ........................................................................................13 Figure 4. HF-LPB PCB Symbol Size................................................................................................13 Figure 5. Suggested Module Placement Region .............................................................................13 Figure 6. HF-LPB Evaluation Kit ......................................................................................................14 Figure 7. HF-LPB Order Information ................................................................................................15 Figure 8. HF-LPB Hardware Typical Application .............................................................................16 Figure 9. HF-LPB Basic Wireless Network Structure ......................................................................18 Figure 10. HF-A11 AP+STA Network Structure ................................................................................19 Figure 11. HF-LPB 1:1 P2P Networking ...........................................................................................19 Figure 12. HF-LPB 1:N P2P Networking ..........................................................................................20 Figure 13. HF-LPB Concurrent Operation Networking ......................................................................20 Figure 14. Multi-TCP Link Data Transmition Structure ......................................................................23 Figure 15. Open Web Management page .........................................................................................27 Figure 16. System Web Page ............................................................................................................28 Figure 17. Work Mode Page ..............................................................................................................28 Figure 18. STA Setting Page .............................................................................................................29 Figure 19. AP Setting Page ...............................................................................................................29 Figure 20. Other Setting Page ...........................................................................................................30 Figure 21. Account Page ...................................................................................................................30 Figure 22. Upgrade SW page ............................................................................................................31 Figure 23. Restart Page .....................................................................................................................31 Figure 24. Restore Page ....................................................................................................................32 Figure 25. STA Interface Debug Connection .....................................................................................32 Figure 26. AP Interface Debug Connection .......................................................................................33 Figure 27. “CommTools” Serial Debug Tools ....................................................................................33 Figure 28. “TCPUDPDbg” Tools Create Connection .........................................................................33 Figure 29. “TCPUDPDbg” Tools Setting ............................................................................................34 Figure 30. “TCPUDPDbg” Tools Connection .....................................................................................34 Figure 31. Wireless Control Application .............................................................................................34 Figure 32. Remote Management Application ....................................................................................35 Figure 33. Transparent Serial Port Application ..................................................................................35 Figure 34. HF-LPB Default UART Port Parameters ..........................................................................36 Figure 35. Switch to Configuration Mode ...........................................................................................36 Figure 36. ”AT+H” Instruction for Help ...............................................................................................37 Figure 37. Reflow Soldering Profile ...................................................................................................52 Figure 38. Shipping Information .........................................................................................................53 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -6- HF-LPB Low Power WiFi Module User Manual LIST OF TABLES Table 1 HF-LPB Module Technical Specifications ...............................................................................9 Table 2 HF-LPB Pins Definition ..........................................................................................................10 Table 4 HF-LPB Evaluation Kit Interface Description ........................................................................15 Table 5 HF-LPB IP Stack Features ....................................................................................................22 Table 6 Difference Between Deelp Sleep And Standby Mode ..........................................................24 Table 7 Power Consumption with Different Power Save Mode .........................................................24 Table 8 HF-LPB GPIO Pin Mapping Table ........................................................................................25 Table 9 HF-LPB Web Access Default Setting ....................................................................................27 Table 10 Error Code Describtion ........................................................................................................38 Table 11 AT+ Instruction Set List .......................................................................................................38 Table 12 Reflow Soldering Parameter .................................................................................................52 HISTORY Ed. V1.0 Created on 1-29-2013. Ed. V1.1 02-24-2013. Update AT command contents. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -7- HF-LPB Low Power WiFi Module User Manual 1. PRODUCT OVERVIEW 1.1. General Description 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 Single stream Wi-Fi @ 2.4 GHz with support for WEP security mode as well as WPA/WPA2 Fully self-contained serial-to-wireless functionality. 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 Wi-Fi Direct Mode Support WPS Support Wireless and Remote Firmware Upgrade Function Support User-Defined Web Page Upload Integrated chip antenna options. Compact surface mount module 23mm x 32.5mm x 2.7mm. Full IPv4 and IPv6 stack. Low power RTOS and drivers. FCC Certified. RoHS and CE compliant. Single supply – 3.3V operation. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -8- HF-LPB Low Power WiFi Module User Manual 1.1.2 Device Paremeters Table 1 Class Wireless Parameter HF-LPB Module Technical Specifications Item Parameters Certification Wireless standard US Frequency range EU Frequency range FCC/CE 802.11 b/g/n 2.412GHz-2.462GHz 2.412GHz-2.472GHz 802.11b: +18dBm (Max.) 802.11g: +14dBm (Max.) 802.11n: +11dBm (Max.) Configurable 802.11b: -93 dBm (@11Mbps ,CCK) 802.11g: -85 dBm (@54Mbps, OFDM) 802.11n: -82 dBm (@HT20, MCS7) Internal:On-board PCB antenna UART USB, SPI, PWM… Others: GPIO, ADC/DAC, RTC… 3.1~3.6V Peak [Continuous TX]: ~200mA Normal [WiFi ON/OFF, DTIM=100ms]: Average. ~5mA, Peak: 200mA Deep Sleep: [WiFi OFF]: ~2mA Standby [WiFi Shutdown]: <2uA -40℃- 85℃ -45℃- 125℃ 23mm×32.5mm×2.7mm STA /AP/STA+AP/Wi-Fi Direct Transmit Power Receiver Sensitivity Antenna Option Data Interface Operating Voltage Hardware Parameter Software Parameter Operating Current Operating Temp. Storage Temp. Dimensions and Size Network Type Security Mechanisms Encryption Update Firmware Customization Serial command Network Protocol User Configuration WEP/WPA-PSK/WPA2-PSK/WPS WEP64/WEP128/TKIP/AES Local Wireless, Remote Web Page Upgrade Support SDK for application develop AT+instruction set IPv4, IPv6,TCP/UDP/FTP/HTTP AT+instruction set. Android/ iOS 1.1.3 Key Application Remote equipment monitoring Asset tracking and telemetry Security Industrial sensors and controls Home automation Medical devices Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com -9- HF-LPB Low Power WiFi Module User Manual 1.2. Hardware Introduction Figure 1. 1.2.1. HF-LPB Demo Pins Definition Figure 2. Table 2 HF-LPB Pins Map HF-LPB Pins Definition Pin Describtion Net Name 1,17,32,48 Ground JTAG Function JTAG Function JTAG Function JTAG Function GND JTAG_TCK JTAG_TDO JTAG_TDI JTAG_TMS Signal Type Power I, PU I,PU I,PU Comments JTAG/Debug functional pin, No connect if not use. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 10 - HF-LPB Low Power WiFi Module User Manual 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 38 39 40 41 42 43 RTC Input 1 RTC Output 1 +3.3V Power A/D Input 1 A/D Input 2 RTC Input 2 USB 5V Detect GPIO USB Interface USB Interface PWM Output0+ PWM Output0GPIO SPI Interface SPI Interface SPI Interface SPI Interface +3.3V Power +3.3 Power GPIO UART0 UART0 UART0 UART0 Wi-Fi Status N.C ALARM1 RTC_OUT1 DVDD N.C ADC1 ADC2 ALARM2 N.C N.C USB_PIO N.C N.C GPIO20 USBUSB+ PWMH0 PWML0 N.C GPIO26 SPI_MISO SPI_CLK SPI_CS SPI_MOSI DVDD N.C DVDD GPIO35 N.C N.C N.C UART0_TX UART0_RTS UART0_RX UART0_CTS nLink O, PD I/O,PD I,PD I/O, PD O,PU I.PD Power I/O,PD I/O,PD I,PD I/O I/O,PD I/O I/O I/O,PD I/O, PU I/O, PU I/O,PU I/O.PD Power Power I/O,PD Module Boot Up Indicator nReady O,PU 45 Restore Configuration nReload I,PU PWM Fault Input0 PWMFI0 Module Reset EXT_RESETn No connect GPIO11, No connect if not use. GPIO12, No connect if not use. GPIO13, No connect if not use. No connect No connect GPIO16, No connect if not use. No connect No connect GPIO20, No connect if not use. 90 ohm Diff. Line 90 ohm Diff. Line GPIO23, No connect if not use. GPIO24, No connect if not use. No connect GPIO26, No connect if not use. No connect if not use. No connect if not use. No connect if not use. No connect if not use. No connect 44 46 47 No connect GPIO7, Sleep_RQ Pin GPIO8, Sleep_ON Pin I,PU GPIO35, WPS functional pin No connect No connect No connect UART Communication Pin UART Communication Pin UART Communication Pin UART Communication Pin “0”- Wi-Fi Linked “1”- No WIFI Linked No connect if not use. “0” – Boot-up OK; “1” – Boot-up No OK; No connect if not use.; Module will restore factory default after set this pin “0” more than 1s, then set “1”. No connect if not use; GPIO46, No connect if not use. “Low” effective reset input. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 11 - HF-LPB Low Power WiFi Module User Manual 1.2.2. Electrical Characteristics Absolute Maximum Ratings: Parameter Condition Max. Unit -45 125 °C 260 °C Supply voltage 3.8 Voltage on any I/O pin 3.3 Storage temperature range Maximum soldering temperature Min. Typ. IPC/JEDEC J-STD-020 ESD (Human Body Model HBM) TAMB=25°C KV ESD (Charged Device Model, CDM) TAMB=25°C KV Typ. Max. Unit 3.3 3.8 Power Supply & Power Consumption: Parameter Condition Operating Supply voltage Min. 3.1 Supply current, peak Continuous Tx 200 mA Supply current, IEEE PS DTIM=100ms mA Output high voltage Sourcing 6mA Output low voltage Sinking 6mA Input high voltage 2.8 0.2 2.2 Input low voltage 0.8 Input leakage current +/-25 nA Analog input range Analog output range 1.2.3. Mechanical Size HF-LPB modules physical size (Unit: mm) as follows: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 12 - HF-LPB Low Power WiFi Module User Manual Figure 3. HF-LPB Mechanical Dimension HF-LPB Module PCB symbol size (mm) as follows: Figure 4. 1.2.4. HF-LPB PCB Symbol Size 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 antenna at least 10mm; Figure 5. Suggested Module Placement Region Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 13 - HF-LPB Low Power WiFi Module User Manual 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: Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 14 - HF-LPB Low Power WiFi Module User Manual Table 4 Function External Interface LED Button 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 UART to USB debug interface. (For PC without RS232, need load driver). Can be Power input. USB DEBUG USB2.0 data interface. 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-LPB GPIO function extend interface connector JMP1,JMP2 JMP3 JMP6 Power nLink nReady Sleep_ON nReset Reserved, No Jumper required. 4Pin USB or RS232 Jumper. Left jump select USB. 3Pin RS485 Jumper. No jump selects RS232. 3.3V Power Indicator nLink -WiFi LINK Indicator nReady – Module Bootup Ready Indicator Sleep_ON-Module asleep or awake Indicator Used to reset the module. Restore factory default configuration after push this pin more than 3s. WPS Button Pin Sleep Control button, more than 1s to put module in standby mode. nReload WPS Sleep_RQ 1.2.6. HF-LPB Evaluation Kit Interface Description Order Information Base on customer detailed requirement, HF-LPB series modules provide different variants and physical type for detailed application. Figure 7. HF-LPB Order Information Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 15 - HF-LPB Low Power WiFi Module User Manual 1.3. Typical Application 1.3.1. Hardware Typical Application Figure 8. HF-LPB 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. 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 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 16 - HF-LPB Low Power WiFi Module User Manual module acquire password and build link. Next time, module will link with same AP without autonegotiation 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 17 - HF-LPB Low Power WiFi Module User Manual 2. FUNCTIONAL DESCRIPTION 2.1. Wireless Networking 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. 2.1.2. HF-LPB Basic Wireless Network Structure 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, Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 18 - HF-LPB Low Power WiFi Module User Manual Figure 10. HF-A11 AP+STA Network Structure 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: ¾ 1:1 P2P Networking; ¾ 1:N P2P Networking; ¾ Concurrent Operation Networking; Figure 11. HF-LPB 1:1 P2P Networking Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 19 - HF-LPB Low Power WiFi Module User Manual Figure 12. HF-LPB 1:N P2P Networking Figure 13. HF-LPB Concurrent Operation Networking 2.2. Work Mode : Transparent Transmission Mode 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: ¾ Wireless Network Parameters Wireless Network Name(SSID) Security Mode Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 20 - HF-LPB Low Power WiFi Module User Manual ¾ ¾ 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. 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 autoframe 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 21 - HF-LPB Low Power WiFi Module User Manual 2.4. 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-LPB module supports following: WEP WPA-PSK/TKIP WPA-PSK/AES WPA2-PSK/TKIP WPA2-PSK/AES 2.5. Network Protocal 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. The Frame size limits are (including IP headers): Tranmit TCP/UDP/ICMP (v4): 1576 ICMP (v6): 1576 UCP/UDP (v6): 1220 Receive TCP/UDP (v4): 1516 TCP/UDP (v6): 1496 ICMPv4 and ICMPv6: 5000 Table 5 HF-LPB IP Stack Features Feature Support ARP Supported Forwarding Supported Fragmentation/Reassembly Planned IPv4/v6 Header Processing Supported UDP/TCP Socket Support DHCP v4 Supported Supported Neighbor Discovery Supported Broadcast/Multicast Path MTU Discovery Supported Supported Address Auto-Configuration Supported Multicast Planned TCP Zero Copy Feature Supported Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 22 - HF-LPB Low Power WiFi Module User Manual 2.6. Multi-TCP Link Connection 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 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 23 - HF-LPB Low Power WiFi Module User Manual 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 Deep Sleep Wake Up Method Wi-Fi MCU Current UART GPIO Timeout AT Commond OFF ON ~2mA ON Yes Yes Yes Standby OFF OFF <2uA OFF Yes Yes Notes: For GPIO wake up, if trigger time <1s, then only wake up MCU. No 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 Current Peak 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 Up Option 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 theAT Instruction parameters Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 24 - HF-LPB Low Power WiFi Module User Manual 2.8. Parameters Configuration 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 GPIO7 GPIO8 GPIO11 GPIO12 GPIO13 GPIO16 GPIO20 GPIO23 GPIO24 GPIO26 Configured Function Sleep_RQ Sleep_ON A/D Input 1 A/D Input 2 RTC Input 2 USB 5V Track GPIO PWM Dif. Out+ PWM Dif. OutGPIO GPIO35 GPIO46 WPS Input PWM Fault Input Describtion Wakeup/Sleep A/D RTC USB GPIO PWM GPIO WPS PWM Default Setting Sleep_RQ Sleep_ON GPIO11 GPIO12 GPIO13 GPIO16 GPIO20 GPIO23 GPIO24 GPIO26 GPIO35 GPIO46 Type I,PD I/O,PD I/O,PD I,PD I/O I/O I/O I/O,PD I/O When module works at GPIO mode, PC and other equipts can setup connection (TCP/UDP) through WiFi, then read/write GPIO information through command. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 25 - HF-LPB Low Power WiFi Module User Manual ¾ GPIO n IN, ¾ 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 input, Response GPIO OK or GPIO NOK; 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 high”,”output low”,”output high” Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 26 - HF-LPB Low Power WiFi Module User Manual 3. OPERATION GUIDELINE 3.1. Configuration via Web Accessing 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 SSID Default Setting HF-LPB IP Address 10.10.100.254 Subnet Mask 255.255.255.0 User Name Admin Admin Password 3.1.1. Open Web Management Interface 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 27 - HF-LPB Low Power WiFi Module User Manual Figure 16. System Web Page 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 28 - HF-LPB Low Power WiFi Module User Manual Figure 18. STA Setting Page 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 29 - HF-LPB Low Power WiFi Module User Manual Figure 20. Other Setting Page 3.1.7. Account Management Page This page set web server’s user name and password. Figure 21. Account Page 3.1.8. Upgrade Software Page User can upgrade new software (firmware) version through Wi-Fi. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 30 - HF-LPB Low Power WiFi Module User Manual Figure 22. Upgrade SW page 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 23. Restart Page 3.1.10. Restore Page After module restore factory default setting, all user configuration profile will lose. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 31 - HF-LPB Low Power WiFi Module User Manual User can access http://10.10.100.254 to set again, and user name and password is “admin”. HF-LPB will restore to AP mode for factory default setting. Figure 24. Restore Page 3.2. HF-LPB Usage Introduction 3.2.1. Software Debug Tools High-Flying use two common software tools debugging and applying HF-LPB module. (User can also select other tools used to debug serial port). 3.2.2. Serial Debugging Software: ComTools Ethernet Debugging Software: TCPUDPDbg Network Connection User can select two methods to connect HF-LPB module base on dedicated application. ¾ Use HF-LPB STA interface. HF-LPB and debug PC2 connect to a wireless AP, another PC1 (or user device) connect to HF-LPB module with serial port: Figure 25. STA Interface Debug Connection ¾ Use HF-LPB AP interface. Debug PC2 connect to HF-LPB through wireless connection, another PC1 (or user device) connect to HF-LPB module with serial port. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 32 - HF-LPB Low Power WiFi Module User Manual Figure 26. AP Interface Debug Connection 3.2.3. 3.2.4. Default Parameter Setting Default SSID: HF-LPB; Deault security mode: open,none; User UART parameter setting:115200,8,1,None; Default network parameter setting:TCP,Server,8899,10.10.100.254; Module IP address: dhcp,0.0.0.0,0.0.0.0,0.0.0.0; 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. Figure 28. “TCPUDPDbg” Tools Create Connection Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 33 - HF-LPB Low Power WiFi Module User Manual 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. 3.3. Typical Application Examples 3.3.1. Wireless Control Application Figure 31. Wireless Control Application Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 34 - HF-LPB Low Power WiFi Module User Manual 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. Figure 33. Transparent Serial Port Application Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 35 - HF-LPB Low Power WiFi Module User Manual 4. AT+INSTRUCTION INTRODUCTION 4.1. Configuration Mode 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 “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). Shanghai High-Flying Electronics Technology Co., Ltd 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+ [op][para-1,para-2,para-3,para-4…] AT+: CMD: Command string; [op]: Prefix of command message; Symbol of command operator, “=” : The command requires parameters input; “NULL”: Query the current command parameters setting; [para-n]: Parameters input for setting if required; :”Enter” Key, it’s 0x0a or 0x0d in ASCII; Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 37 - HF-LPB Low Power WiFi Module User Manual Notes: When input AT+Instruction, “AT+ ” character will display capital letter automatic and other parts will not change as you input. ¾ Response Message + [op] [para-1,para-2,para-3,para-4…] ¾ +: Prefix of response message; RSP: Response string; “ok” : Success “ERR”: Failure [op] : = [para-n]: Parameters if query command or Error code when error happened; : ASCII 0x0d; : ASCIII 0x0a; Error Code Table 10 4.2.2. Error Code Describtion Error Code -1 -2 Description Invalid Command Format Invalid Command -3 -4 -5 Invalid Operation Symbol Invalid Parameter Operation Not Permitted AT+ Instruction Set Table 11 AT+ Instruction Set List Instruction Description NULL Managment Instruction Set 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 Re-start module 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 Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 38 - HF-LPB Low Power WiFi Module User Manual 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 : 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 +ok < LF > < 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. Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 39 - HF-LPB Low Power WiFi Module User Manual 4.2.2.2. AT+WMODE Function: Set/Query WIFI work mode; Format: Query Operation AT+WMODE +ok= < LF > < LF > Set Operation AT+ WMODE= +ok < LF > < LF > Parameters: mode:Wi-Fi work mode AP STA APSTA 4.2.2.3. AT+ENTM Function: Set module into transparent transmition mode; Format: AT+ENTM +ok < LF > < LF > When operate this command, module switch from configuration mode to transparent transmission mode. 4.2.2.4. AT+TMODE Function: Set/Query module data transfer mode. Format: Query Operation AT+TMODE +ok= < LF > < LF > Set Operation AT+TMODE= +ok < LF > < LF > Parameters: tmode: data transfer mode, include: throughput cmd 4.2.2.5. AT+MID Function: Query module ID information; Format: Query Operation AT+MID +ok= < LF > < LF > Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 40 - HF-LPB Low Power WiFi Module User Manual Parameters: module_id: Module ID information; HF-LPB; Notes: User can set this parameter through AT+WRMID. 4.2.2.6. AT+VER Function: Query module software version information; Format: Query Operation AT+VER +ok= < LF > < LF > Parameters: ver: Module software version information; 4.2.2.7. AT+RELD Function: module restore to factory default setting; Format: Set Operation AT+ RELD +ok=rebooting… < LF > < LF > When operate this command, module will restore to factory default setting and reboot. 4.2.2.8. AT+Z Function: Re-start module; Format: AT+ Z 4.2.2.9. AT+H Function: Help; Format: Query Operation AT+H +ok= < LF > < LF > Parameters: command help: command introduction; 4.2.2.10. AT+UART Function: Set/Query serial port parameters; Format: Query Operation AT+UART +ok= < LF > < LF > Set Operation AT+UART= Shanghai High-Flying Electronics Technology Co., Ltd www.hi-flying.com - 41 - HF-LPB Low Power WiFi Module User Manual +ok < LF > < LF > Parameters: baudrate: 300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400, 380400,460800. data_bits: stop_bits: 1,2 parity: NONE EVEN ODD Flowctrl: (CTSRTS) NFC: No hardware flow control FC: hardware flow control 4.2.2.11. AT+ UARTF Function: Open/Close UART auto-frame function; Format: Query Operation AT+ UARTF +ok= < LF > < LF > Set Operation AT+ UARTF= +ok < LF > < LF > Parameters: para: disable - Close auto-frame function; enable - Open auto-frame function; 4.2.2.12. AT+ UARTFT Function: Set/Query UART auto-frame trigger time; Format: Query Operation AT+ UARTFT +ok=
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.4 Linearized : Yes XMP Toolkit : Adobe XMP Core 4.0-c320 44.284297, Sun Apr 15 2007 17:19:00 Format : application/pdf Title : Microsoft Word - AZY-HF-LPB_User Manual Rev1 Creator : Administrator Create Date : 2013:04:09 11:38:32+08:00 Creator Tool : PScript5.dll Version 5.2 Modify Date : 2013:04:09 11:38:32+08:00 Producer : Acrobat Distiller 8.1.0 (Windows) Document ID : uuid:a211dce2-d01c-4d83-9dd4-f42fbaecbc34 Instance ID : uuid:cec37579-6e6b-41b3-9143-c6d7e6039d06 Page Count : 59 Author : AdministratorEXIF Metadata provided by EXIF.tools