background image

High-Flying

HF-LPT100 Low Power WiFi Module User Manual 

Shanghai High-Flying Electronics Technology Co., Ltd(www.hi-flying.com)

 

- 63 - 

APPENDIX B: CONTROL GPIO/PWM 

FUNCTION WITH NETWORK COMMANDS 

Send command data to control module

’s GPIO, PWM port after make network connection with 

TCP or UDP protocol. The status of GPIO won

’t be changed if the module is reset. 

B.1 Network Command 

B.1.1 

GPIO <channel> OUT <value> 

 

Function: Set GPIO Channel value temporarily.

 

 

Parameters: 

 

channel:GPIO Channel number, it can be 11

12

18(GPIO Pin Number ) 

 

value:GPIO Channel value,1(high voltage)

0(low voltage) 

 

Return Data: 

 

GPIO OK: Command successful 

 

GPIO NOK: Command failed 

 

B.1.2 

GPIO <channel> GET 

 

Function: Query GPIO Channel value 

 

Parameters: 

 

channel: GPIO Channel number,it can be 11

12

18(GPIO Pin Number ) 

 

Return Data: 

 

+ok=<value> 

 

value:GPIO Channel value 

 

GPIO NOK: Command failed 

Summary of Contents for HF-LPT100

Page 1: ...T100F Support Maximum 5 Channel PWM output LPT100S Support Maximum 4 Channel PWM output LPT100 Support Maximum 3 Channel PWM Output LPT100F Support Copper Line Antenna or IPEX conector Output LPT100S Support Copper Line Antenna Output LPT100 Support IPEX connector The Other Hardware and Software Feature of LPT100 LPT100S LPT100F is the same We recommend to use LPT100F for design due to more IO con...

Page 2: ...r 3 3V 250mA 3 Restore Configuration nReload I PU Detailed functions see Notes 4 PWM Channel 5 PWM_5 I O Can be configured as PWM output GPIO23 5 UART0 UART0_RX I GPIO5 No connect if not use 6 UART0 UART0_TX O GPIO6 No connect if not use 7 PWM Channel 4 PWM_4 I O Can be configured as PWM output GPIO20 8 PWM Channel 3 PWM_3 I O Can be configured as WPS GPIO18 No connect if not use 9 PWM Channel 2 P...

Page 3: ...uration nReload I PU Detailed functions see Notes 4 Module Reset EXT_RESETn I PU Low effective reset input 5 UART0 UART0_RX I GPIO5 No connect if not use 6 UART0 UART0_TX O GPIO6 No connect if not use 7 PWM Channel 4 PWM_4 I O Can be configured as PWM output GPIO20 8 PWM Channel 3 PWM_3 I O Can be configured as WPS GPIO18 No connect if not use 9 PWM Channel 2 PWM_2 I O Can be configured as nReady ...

Page 4: ...onfiguration nReload I PU Detailed functions see Notes 4 Module Reset EXT_RESETn I PU Low effective hardware reset input 5 UART0 UART0_RX I GPIO5 No connect if not use 6 UART0 UART0_TX O GPIO6 No connect if not use 7 Power Control Switch PWR_SW I PU Reserved 8 PWM Channel 3 PWM_3 I O Can be configured as WPS GPIO18 No connect if not use 9 PWM Channel 2 PWM_2 I O Can be configured as nReady GPIO12 ...

Page 5: ...ng Electronics Technology Co Ltd www hi flying com 5 1 1 2 Order Information Base on customer detailed requirement HF LPT100 series modules provide different variants and physical type for detailed application Figure 4 HF LPT100F Order Information Figure 5 HF LPT100S Order Information ...

Page 6: ...T100 Low Power WiFi Module Difference Shanghai High Flying Electronics Technology Co Ltd www hi flying com 6 Figure 6 HF LPT100 Order Information 1 1 3 Module Application Please refer to LPT100 User Manual for moudle application ...

Page 7: ... Power for Battery Applications with Excellent Power Save Scheme Support UART PWM GPIO Data Communication Interface Support Work As STA AP AP STA Mode Support Smart Link Function APP program provide Support Wireless and Remote Firmware Upgrade Function support WPS Function Support Multi TCP Link 5 Channel Apllication Support Dial Switch Power Control Reserved Support External I PEX or Pad Interfac...

Page 8: ...pplication 16 1 3 2 Smart LED Application Hardware Typical Connection 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 AP STA 18 2 2 Work Mode Transparent Transmission Mode 19 2 3 UART Frame Scheme 20 2 3 1 UART Free Frame 20 2 3 2 UART Auto Frame 20 2 4 Encryption 20 2 5 Parameters Configuration 21...

Page 9: ...ent Serial Port Application 33 4 AT INSTRUCTION INTRODUCTION 34 4 1 Configuration Mode 34 4 1 1 Switch to Configuration Mode 34 4 2 AT Instruction Set Overview 35 4 2 1 Instruction Syntax Format 35 4 2 2 AT Instruction Set 36 4 2 2 1 AT E 38 4 2 2 2 AT WMODE 39 4 2 2 3 AT ENTM 39 4 2 2 4 AT TMODE 39 4 2 2 5 AT MID 39 4 2 2 6 AT VER 40 4 2 2 7 AT LVER 40 4 2 2 8 AT FWSZ 40 4 2 2 9 AT RELD 40 4 2 2 ...

Page 10: ...N 49 4 2 2 40 AT WSMAC 49 4 2 2 41 AT WSLK 50 4 2 2 42 AT WSLQ 50 4 2 2 43 AT WSCAN 50 4 2 2 44 AT WSDNS 50 4 2 2 45 AT LANN 51 4 2 2 46 AT WAP 51 4 2 2 47 AT WAKEY 51 4 2 2 48 AT WAMAC 52 4 2 2 49 AT WADHCP 52 4 2 2 50 AT WADMN 52 4 2 2 51 AT WALK 53 4 2 2 52 AT WALKIND 53 4 2 2 53 AT PLANG 53 4 2 2 54 AT UPURL 54 4 2 2 55 AT UPFILE 54 4 2 2 56 AT LOGSW 54 4 2 2 57 AT LOGPORT 55 4 2 2 58 AT UPST ...

Page 11: ...ping Information 61 APPENDIX A HW REFERENCE DESIGN 62 APPENDIX B CONTROL GPIO PWM FUNCTION WITH NETWORK COMMANDS 63 B 1 Network Command 63 B 2 Hexadecimal Network Command 66 APPENDIX C HTTP PROTOCOL TRANSFER 68 C 1 HTTP AT command 68 C 1 1 AT HTTPURL 68 C 1 2 AT HTTPTP 68 C 1 3 AT HTTPPH 68 C 1 4 AT HTTPCN 69 C 1 5 AT HTTPUA 69 C 1 6 AT HTTPDT 69 C 2 HTTP Example 69 APPENDIX D REFERENCES 71 D 1 Hi...

Page 12: ... page 24 Figure 13 System Web Page 25 Figure 14 Work Mode Page 25 Figure 15 STA Setting Page 26 Figure 16 AP Setting Page 26 Figure 17 Other Setting Page 27 Figure 18 Account Page 27 Figure 19 Upgrade SW page 28 Figure 20 Restart Page 28 Figure 21 Restore Page 29 Figure 22 Internal Webpage 29 Figure 23 STA Interface Debug Connection 30 Figure 24 AP Interface Debug Connection 30 Figure 25 CommTools...

Page 13: ...LPT100 Pins Definition 11 Table 3 Absolute Maximum Ratings 12 Table 4 Power Supply Power Consumption 12 Table 5 HF LPT100 External Antenna Parameters 14 Table 6 HF LPT100 Evaluation Kit Interface Description 14 Table 7 HF LPT100 GPIO PWM Pin Mapping Table 22 Table 8 HF LPT100 Web Access Default Setting 24 Table 9 Error Code Describtion 36 Table 10 AT Instruction Set List 36 Table 11 Reflow Solderi...

Page 14: ... demo Add auto frame function Ed V1 3 10 18 2013 Add nReload Pin wireless upgrade and config description add nLink Pin wireless upgrade indication description Ed V1 4 12 02 2013 Update AT command add AT WALK AT WALKIND AT WPS AT FWSZ add update order information Ed V1 5 01 02 2014 Update AT command add AT SMTLK AT LPTIO Ed V1 51 01 22 2014 Update shipping information Ed V1 6 05 10 2014 Update GPIO...

Page 15: ... application and industrial control that have lower data rates and transmit or receive data on an infrequent basis The HF LPT100 integrates all Wi Fi functionality into a low profile 23 1x32 8x 2 7mm SMT module package that can be easily mounted on main PCB with application specific circuits Also module provides built in antenna external antenna option 1 1 1 Device Features Single stream Wi Fi 2 4...

Page 16: ...Data Interface UART PWM GPIO Operating Voltage 2 8 3 6V Operating Current Peak Continuous TX 200mA Normal WiFi ON OFF DTIM 100ms Average 12mA Peak 200mA Standby 200uA Reserved Power Down Switch 10uA Reserved Operating Temp 40 85 Storage Temp 45 125 Dimensions and Size 22mm x 13 5mm x 6mm External Interface 1x10 2mm DIP Software Parameters Network Type STA AP STA AP Security Mechanisms WEP WPA PSK ...

Page 17: ...er Down Mode 1 Normal mode Reserved 8 PWM Channel 3 PWM_3 I O Can be configured as WPS GPIO18 No connect if not use 9 PWM Channel 2 PWM_2 I O Can be configured as nReady GPIO12 No connect if not use 10 PWM Channel 1 PWM_1 I O Can be configured as nLink GPIO11 Detailed functions see Notes Notes nReload Pin Button function 1 When this pin is set to low during module boot up the module will enter wir...

Page 18: ...tus indicator High Flying strongly suggest customer fan out this pin to LED 1 2 2 Electrical Characteristics Table 3 Absolute Maximum Ratings Parameter Condition Min Typ Max Unit Storage temperature range 45 125 C Maximum soldering temperature IPC JEDEC J STD 020 260 C Supply voltage 0 3 8 V Voltage on any I O pin 0 3 3 V ESD Human Body Model HBM TAMB 25 C 2 KV ESD Charged Device Model CDM TAMB 25...

Page 19: ...hanical Dimension 1 2 4 External Antenna HF LPT100 supports two way of external antenna as the following picture show The I PEX interface or the PAD interface remove the I PEX connector The user may choose one of them If user select external antenna HF LPT100 modules must be connected to the 2 4G antenna according to IEEE 802 11b g n standards The antenna parameters required as follows Figure 3 HF...

Page 20: ...age the module or do the some functional tests The EVK support 5V DC power supply Figure 4 HF LPT100 Evaluation Kit The external interface description for evaluation kit as follows Table 6 HF LPT100 Evaluation Kit Interface Description 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 Function Name Description Exte...

Page 21: ...Shanghai High Flying Electronics Technology Co Ltd www hi flying com 15 1 2 6 Order Information Base on customer detailed requirement HF LPT100 series modules provide different variants and physical type for detailed application Figure 5 HF LPT100 Order Information ...

Page 22: ...lying Electronics Technology Co Ltd www hi flying com 16 1 3 Typical Application 1 3 1 Hardware Typical Application Figure 6 HF LPT100 Hardware Typical Application 1 3 2 Smart LED Application Hardware Typical Connection Figure 7 HF LPT100 Smart LED Application Hardware Connection ...

Page 23: ...rocess If nReload function not required can leave this pin open UART0_TXD RXD UART port data transmit and receive signal PWM n PWM control signal output It can also be configured as GPIO output AT LPTIO on command configure PWM_1 pin as nLink PWM_2 pin as nReady nReset Module hardware reset signal Input Logics 0 effective There is pull up resister internal and no external pull up required When mod...

Page 24: ...tre 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 net...

Page 25: ...rent 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 th...

Page 26: ...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 LPT100 support UART auto frame function If user select open this function and setting auto frame trigger length and auto frame trigger time parameters...

Page 27: ...0 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 LPT100 HF LPT100 module also support upgrade from remote HTTP server keep module connects to AP router before excuate remote HTTP upgrade Remote upgrade have two methods Direct Download and Upgrade Con...

Page 28: ...O OK or GPIO NOK GPIO n OUT 1 Set GPIOn as output and output 1 Response GPIO OK or GPIO NOK GPIO n GET Read GPIOn pin status Response ok 1 or GPIO NOK GPIO n SET Save GPIOn set Response GPIO OK or GPIO NOK PWM n frequency duty Set PWMn Channel output Response GPIO OK or GPIO NOK PWM n GET Read PWMn Channel set Response ok frequency duty or PWM NOK PWM n SET Save PWMn Channel set Response PWM OK or...

Page 29: ...ients permit to connect to HF LPT100 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 T...

Page 30: ... modules The external webpage is for web management The internal webpage is only for upgrading Step 1 Connect laptop to SSID HF LPB100 of HF LPT100 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 12 Open Web Management page The HF LPT100 web m...

Page 31: ...Work Mode Page HF LPT100 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 14 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...

Page 32: ...ireless and network parameters Most of the system support DHCP to achieve IP address so we suggest to Enable DHCP server in most applications Figure 16 AP Setting Page 3 1 6 Other Setting Page HF LPT100 usually works at data transparent transmission mode At this mode the user device which connected with HF LPT100 will connect and communicate with remote PC or server At this page user need setting ...

Page 33: ... Flying Electronics Technology Co Ltd www hi flying com 27 Figure 17 Other Setting Page 3 1 7 Account Management Page This page set web server s user name and password Figure 18 Account Page 3 1 8 Upgrade Software Page User can upgrade new software firmware version through Wi Fi ...

Page 34: ... the settting and configuration can only effective after system restart User shall restart after finish all setting Figure 20 Restart Page 3 1 10 Restore Page After module restore factory default setting all user configuration profile will lose User can access http 10 10 100 254 to set again and user name and password is admin HF LPT100 will restore to AP mode for factory default setting ...

Page 35: ...0 100 254 iweb html It is for upgrading application and external webpage Please contact High Flying if need support on custimization for external webpage Figure 22 Internal Webpage 3 2 HF LPT100 Usage Introduction 3 2 1 Software Debug Tools High Flying use two common software tools debugging and applying HF LPT100 module User can also select other tools used to debug serial port Serial Debugging S...

Page 36: ...Connection Use HF LPT100 AP interface Debug PC2 connect to HF LPT100 through wireless connection another PC1 or user device connect to HF LPT100 module with serial port Figure 24 AP Interface Debug Connection 3 2 3 Default Parameter Setting Default SSID HF LPB100 Deault security mode open none User UART parameter setting 115200 8 1 None Default network parameter setting TCP Server 8899 10 10 100 2...

Page 37: ...w connection If HF LPT100 configured as Server mode TCPUDPDbg Tools shall create Client mode connection Or otherwise create a Server mode connection Figure 26 TCPUDPDbg Tools Create Connection Then setting the TCP UDP connection parameters Default as following Figure 27 TCPUDPDbg Tools Setting Then click Create button to create a connection Figure 28 TCPUDPDbg Tools Connection ...

Page 38: ...s serial port connects to user device So control agent Smart phone for this example can manage and control the user device through the wireless connection with HF LPB100 module 3 3 2 Remote Management Application Figure 30 Remote Management Application For this remote management application HF LPB100 works as STA mode and connects to Internet through wireless AP Module configured as TCP Client and...

Page 39: ...Co Ltd www hi flying com 33 3 3 3 Transparent Serial Port Application For this transparent serial port application two HF LPT100 modules connect as below figures to build up a transparent serial port connection HF LPT100 works as Ad Hoc mode to connect each other Figure 31 Transparent Serial Port Application ...

Page 40: ...lt 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 instru...

Page 41: ...n mode Like the following sequence 4 2 AT Instruction Set Overview User can input AT Instruction through hyper terminal or other serial debug terminal also can program the AT Instruction to script User can also input AT H to list all AT Instruction and description to start Figure 34 AT H Instruction for Help 4 2 1 Instruction Syntax Format AT Instruction protocol is based on the instruction of ASC...

Page 42: ...ts will not change as you input Response Message RSP op para 1 para 2 para 3 para 4 CR LF CR LF Prefix of response message RSP Response string ok Success ERR Failure op para n Parameters if query command or Error code when error happened CR ASCII 0x0d LF ASCIII 0x0a Error Code Table 9 Error Code Describtion Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbo...

Page 43: ...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 MAXSK Set Query TCP Client connection number TCPLK Query if TCP link already build up TCPTO Set Query TCP timeout TCPDIS Open Close TCP link SOCKB Set Query SOCKB parameters TCPDISB Open Close SOCKB TCP link TCPTOB Set Query SOCK...

Page 44: ...anagement Instruction Set MSLP Set Query deep sleep standby mode parameters Network Time Set NTPRF Set Query time calibration interval NTPEN Enable Disable time calibration function NTPTM Query time NTPSER Set Query NTP server IP Others Instruction Set WRMID Set module ID RLDEN Set Query GPIO45 status ASWD Set Query WiFi configuration code MDCH Set Wi Fi Auto Switch Function TXPWR Set Query Wi Fi ...

Page 45: ...on Set module into transparent transmition mode Format AT ENTM CR ok CR LF CR 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 Setting is valid after reset Format Query Operation AT TMODE CR ok tmode CR LF CR LF Set Operation AT TMODE tmode CR ok CR LF CR LF Parameters tmode data transf...

Page 46: ... 7 AT LVER Function Query module detailed software version information Format Query Operation AT LVER CR ok ver CR LF CR LF Parameters ver Module software detailed version information 4 2 2 8 AT FWSZ Function Query Wi Fi driver size Format Query Operation AT FWSZ CR ok size CR LF CR LF Parametewrs size Wi Fi driver size Byte 4 2 2 9 AT RELD Function module restore to factory default setting Format...

Page 47: ...Operation AT CFGRD CR ok config CR LF CR LF Parameters config the first two bytes means the length of configuration parameters 4 2 2 14 AT CFGWR Function Batch Write User Configure Parameters Format Set Operation AT CFGWR config CR ok CR LF CR LF Parameters config the first two bytes means the length of configuration parameters 4 2 2 15 AT CFGFR Function Batch Read Factory Default Configure Parame...

Page 48: ...ok baudrate data_bits stop_bit parity CR LF CR LF Set Operation AT UART baudrate data_bits stop_bit parity CR ok CR LF CR LF Parameters baudrate 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 380400 460800 921600 data_bits 8 stop_bits 1 2 parity NONE EVEN ODD Flowctrl CTSRTS NFC No hardware flow control FC hardware flow control 4 2 2 18 AT UARTF Function Open Close UART auto fram...

Page 49: ...on Set Query UART auto frame trigger length Format Query Operation AT UARTFL CR ok len CR LF CR LF Set Operation AT UARTFL len CR ok CR LF CR LF Parameters len Range 8 1000 Unit Byte Auto frame trigger length 4 2 2 21 AT UARTTE Function Set Query UART free frame trigger time between two bytes Format Query Operation AT UARTTE CR ok mode CR LF CR LF Set Operation AT UARTTE mode CR ok CR LF CR LF Par...

Page 50: ...t AT RECV data_lenth CR ok data_lenth data_content CR LF CR LF Parameters data_lenth Lenth of receive data Range 0 1000 Byte data_content contents of receive data If not receive any data in 3 second then feedback ok 0 4 2 2 24 AT PING Function Network PING Instruction Format Set Operation AT PING IP_address CR ok sta CR LF CR LF Parameters sta feedback result Success Timeout Unknown host 4 2 2 25 ...

Page 51: ...nt to the IP address and port set by this command 4 2 2 26 AT MAXSK Function Set Query TCP Client connection number Format Query Operation AT MAXSK CR ok num CR LF CR LF Set Operation AT MAXSK num CR ok CR LF CR LF Parameters num TCP Client connection number Range 1 5 5 is the default value it means when the module work in TCP server it accepts max 5 TCP client connect to it 4 2 2 27 AT TCPLK Func...

Page 52: ...F CR LF Parameters When query sta Feedback if TCP Client can be link On TCP link close off TCP link on When setting off means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this command module re connect TCP server right away 4 2 2 30 AT SOCKB Function Set Query SOCKB parameters Setting is valid after reset Format Query...

Page 53: ...hen setting off means close TCP link After finish this command module disconnect TCP link and not connect again On means open TCP link After finish this command module re connect TCP server right away 4 2 2 32 AT TCPTOB Function Set Query Operation SOCKB timeout Setting is valid after reset Format Query Operation AT TCPTOB CR ok time CR LF CR LF Set Operation AT TCPTOB time CR ok CR LF CR LF Param...

Page 54: ...k CR LF CR LF Parameters data_lenth Lenth of send data Range 0 1000 Byte The UART port will wait 3 seconds for input after this command is sent OK The data received from UART port is sent to SOCKB If the interval of two bytes is more than 10ms the data will be sent instantly 4 2 2 36 AT RCVB Function Receive datas from SOCKB at Command Mode Format AT RCVB data_lenth CR ok data_lenth data_content C...

Page 55: ...hm NONE When auth OPEN effective WEP When auth OPEN or SHARED effective TKIP When auth WPAPSK or WPA2PSK effective AES When auth WPAPSK WPA2PSK effective key password ASCII code shall less than 64 bit and greater than 8bit 4 2 2 39 AT WANN Function Set Query STA network setting Setting is valid after reset Format Query Operation AT WANN CR ok mode address mask gateway CR LF CR LF Set Operation AT ...

Page 56: ...tion Query STA WiFi link status Format Query Operation AT WSLK CR ok ret CR LF CR LF Parameters ret Disconnected if no WiFi connection AP SSID AP s MAC if WiFi connection available 4 2 2 42 AT WSLQ Function Query STA WiFi signal strength Format Query Operation AT WSLQ CR ok ret CR LF CR LF Parameters ret Disconnected if no WiFi connection AP s WiFi signal strength if WiFi connection available 4 2 ...

Page 57: ... LANN CR ok ipaddress mask CR LF CR LF Set Operation AT LANN ipaddress mask CR ok CR LF CR LF Parameters ipaddress AP s IP address mask AP s net mask 4 2 2 46 AT WAP Function Set Query AP Wi Fi parameters Setting is valid after reset Format Query Operation AT WAP CR ok wifi_mode ssid channel CR LF CR LF Set Operation AT WAP wifi_mode ssid channel CR ok CR LF CR LF Parameters wifi_mode Wi Fi mode i...

Page 58: ...ion Query AP MAC address parameters Format Query Operation AT WAMAC CR ok mac_address CR LF CR LF Parameters mac_address AP s MAC address Note Module AP mode s MAC address is related to STA mode s MAC address If user need changeto others please contact with high flying technical people 4 2 2 49 AT WADHCP Function Set Query AP DHCP server status Setting is valid after reset Format Query Operation A...

Page 59: ...ting to module AP No Connection No STA device connecting to module AP 4 2 2 52 AT WALKIND Function Enable Disable indication of module AP connection status Format Query Operation AT WALKIND CR ok status CR LF CR LF Set Operation AT WALKIND status CR ok CR LF CR LF Parameters status indication of module AP connection status on Enable nLink indication function When STA device connecting to module AP...

Page 60: ... optional and not saved parameter If provide this file name here the module will start upgrade right away 4 2 2 55 AT UPFILE Function Set Query remote upgrade configure file name Format Query Operation AT UPFILE CR ok filename CR LF CR LF Set Operation AT UPFILE filename CR ok CR LF CR LF Parameters filename the upgrade configure file name within 20 characters 4 2 2 56 AT LOGSW Function Open Close...

Page 61: ...ters log feedback the status of remote upgrade Note After execute this command the HF LPB100 will automatic start upgrade base on the setting of UPURL UPFILE command contents 4 2 2 59 AT WEBU Function Set Query webpage user name and password Setting is valid after reset Format Query Operation AT WEBU CR ok username password CR LF CR LF Set Operation AT WEBU username password CR ok CR LF CR LF Para...

Page 62: ...ault 30 minutes 10 minutes for each step set 0 means no time calibration automatically 4 2 2 62 AT NTPEN Function Enable Disable time calibration function Setting is valid after reset Format Query Operation AT NTPEN CR ok status CR LF CR LF Set Operation AT NTPEN status CR ok CR LF CR LF Parameters status status of time calibration on Enable time calibration off Disable time calibration 4 2 2 63 A...

Page 63: ...D Format Set Operation AT WRMID wrmid CR LF CR LF Parameters wrmid set module s ID within 20 characters 4 2 2 66 AT RLDEN Function Set Query nReload Pin function status Format Query Operation AT RLDEN CR ok status CR LF CR LF Set Operation AT RLDEN status CR ok CR LF CR LF Parameters status The status of module s nReload pin function on nReload pin function is enabled off nReload pin function is d...

Page 64: ...al to reset itself when abnormal 4 2 2 69 AT TXPWR Function Set Query Wi Fi Transmit Power Real Transmit Power Default Transmit Power 16dBm Setting Value 0 5dBm Setting is valid after reset Format Query Operation AT TXPWR CR ok num CR LF CR LF Set Operation AT TXPWR num CR ok CR LF CR LF Parameters num Setting Value The default is 0 it can be sent from 0 24 If set to 24 the moudule transmit power ...

Page 65: ...CR ok status CR LF CR LF Set Operation AT WPSBTNEN status CR ok CR LF CR LF Parameters status on Enable WPS function off Disable WPS function Note The router WPS function must be open first then enable module WPS Scan function The module will quit WPS scan status if there is no WPS router in 5 seconds 4 2 2 73 AT LPTIO Function nReady nLink WPS function mapping Setting is valid after reset Format ...

Page 66: ... 168 hours 3 Recommend to oven bake with N2 supplied 4 Recommend end to reflow oven with N2 supplied 5 Baked required with 24 hours at 125 5 before rework process for two modules one is new module and two is board with module 6 Recommend to store at 10 RH with vacuum packing 7 If SMT process needs twice reflow 1 Top side SMT and reflow 2 Bottom side SMT and reflow Case 1 Wifi module mounted on top...

Page 67: ...User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 61 5 3 Shipping Information TRAY BOX Size 350 260 20 mm Size 350 260 160 mm inside Figure 36 Shipping Information Note 1 tray 20 6pcs 120 pcs 1 box 8 trays 8 120 pcs 960pcs ...

Page 68: ...l Shanghai High Flying Electronics Technology Co Ltd www hi flying com 62 APPENDIX A HW REFERENCE DESIGN Detailed HF LPT100 Evluation Board design source files pls access High Flying web download page or contact with High Flying technical support people to acquire ...

Page 69: ...on t be changed if the module is reset B 1 Network Command B 1 1 GPIO channel OUT value Function Set GPIO Channel value temporarily Parameters channel GPIO Channel number it can be 11 12 18 GPIO Pin Number value GPIO Channel value 1 high voltage 0 low voltage Return Data GPIO OK Command successful GPIO NOK Command failed B 1 2 GPIO channel GET Function Query GPIO Channel value Parameters channel G...

Page 70: ...IO Channel number it can be 11 12 18 GPIO Pin Number Return Data GPIO OK Command successful GPIO NOK Command failed B 1 4 PWM channel frequency duty Function Set PWM Channel output temporarily Parameters channel PWM Channel number it can be 11 12 18 GPIO Pin Number frequency PWM Channel frequency it can be 500 60000 duty PWM Channel duty it can be 0 100 Return Data PWM OK Command successful PWM NO...

Page 71: ... Technology Co Ltd www hi flying com 65 B 1 5 PWM channel GET Function Query PWM Channel output Parameters channel PWM Channel number it can be 11 12 18 GPIO Pin Number Return Data ok frequency duty frequency PWM Channel frequency duty PWM Channel duty PWM NOK Command failed B 1 6 PWM channel SET ...

Page 72: ...PWM Channel 1 GPIO12 frequency value4 Low byte of PWM Channel 1 GPIO12 frequency value5 High byte of PWM Channel 2 GPIO18 frequency value6 Low byte of PWM Channel 2 GPIO18 frequency value7 Not used value8 Not used B 2 2 Write PWM Channel Frequency Send Data 32 channel value1 value2 channel PWM Channel number value1 High byte of PWM Channel frequency value2 Low byte of PWM Channel frequency Return ...

Page 73: ...te All PWM Channel Duty Send Data 24 value1 value2 value3 Return Data a4 value1 value2 value3 value1 Duty of PWM Channel 0 value2 Duty of PWM Channel 1 value3 Duty of PWM Channel 2 B 2 6 Save Present GPIO PWM Setting Send Data 7a Return Data fa B 2 7 Read Resources of module Send Data 7e Return Data fe value1 value2 value3 value1 Module s GPIO ouput pin number value2 Module s GPIO input pin number...

Page 74: ...y HTTP server IP address and Port Number Format Query Operation AT HTTPURL CR ok IP Port CR LF CR LF Set Operation AT HTTPURL IP Port CR ok CR LF CR LF Parameters IP IP address Port Port number C 1 2 AT HTTPTP Function Set Query HTTP request type Format Query Operation AT HTTPTP CR ok Type CR LF CR LF Set Operation AT HTTPTP Type CR ok CR LF CR LF Parameters Type GET default or POST C 1 3 AT HTTPP...

Page 75: ...P protocol header Format Query Operation AT HTTPUA CR ok Parameter CR LF CR LF Set Operation AT HTTPUA Parameter CR ok CR LF CR LF Parameters Parameter Max length is 20 bytes C 1 6 AT HTTPDT Function Send HTTP request or data Format Set Operation AT HTTPDT Data CR ok CR LF CR LF Parameters Data HTTP request data send AT HTTPDT directly if no data to be sent C 2 HTTP Example HTTP parameter settings...

Page 76: ...Connection keep alive User Agent lwip1 3 2 Content Length 0 Host 192 168 0 127 8999 If send AT HTTPDT abcd the data packet will be sent as the following instance POST abcd HTTP 1 1 Connection keep alive User Agent lwip1 3 2 Content Length 4 Host 192 168 0 127 8999 abcd The data received from HTTP server will be output to serial port and end with ok If the module hasn t received data from HTTP serv...

Page 77: ...p gb hi flying com download_detail_dc downloadsId a8be10d9 f687 4984 8bec 90b7f2cb3e08 comp_stats comp FrontDownloads_list01 dc html Android Platform http gb hi flying com download_detail_dc downloadsId 3fe69600 8aed 4c8f a5d0 ceea5f5b8f2e comp_stats comp FrontDownloads_list01 dc html D 3 EVK Quick Start Guide Download Address http www hi flying com download_detail_dc downloadsId b545c662 4ec7 49a...

Page 78: ...site http www hi flying com en END OF DOCUMENT Copyright High Flying May 2011 The information disclosed herein is proprietary to High Flying and is not to be used by or disclosed to unauthorized persons without the written consent of High Flying The recipient of this document shall respect the security status of the information The master of this document is stored on an electronic database and is...

Reviews: