background image

HF-LPC3X0 Series Wi-Fi&BLE User Manual 

 

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

 

- 40 - 

4.

 

AT+INSTRUCTION INTRODUCTION 

4.1.

 

Configuration Mode 

When HF-LPC300 power up, it will default works as transparent transmission mode, then user can 

switch to configuration mode by serial port command. HF-LPC300 UART default parameters setting 

as below figure,            

                  

 

Figure 40.

 

HF-LPC300 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 41.

 

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 infor++” as above UART display. 

Содержание HF-LPC300

Страница 1: ...EE802 11b g n and BLE4 2 Wireless Standards Based on ARM9E SOC 120MHz CPU 256KB RAM 2MB 2MB 8MB Flash Support UART Data Communication with Wi Fi or BLE Support Wi Fi STA AP AP STA Mode Support BLE Sma...

Страница 2: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 2 Size HF LPC300 23 1mm x 32 8mm x 3 5mm SMT37 HF LPC330 22mm x 15 6mm x 8mm DIP10...

Страница 3: ...oard Antenna 21 1 2 8 External Antenna 22 1 2 9 Order Information 22 1 2 10 Hardware Typical Application 24 2 FUNCTIONAL DESCRIPTION 26 2 1 Wi Fi Wireless Networking 26 2 1 1 Basic Wireless Network Ba...

Страница 4: ...4 1 Configuration Mode 40 4 1 1 Switch to Configuration Mode 40 4 1 2 Send AT Command in Transparent Transmission Mode 41 4 2 AT Instruction Set Overview 41 4 2 1 Instruction Syntax Format 42 4 2 2 AT...

Страница 5: ...4 2 2 43 AT WAPMXSTA 58 4 2 2 44 AT OTA 58 4 2 2 45 AT UPURL 58 4 2 2 46 AT DISPS 58 4 2 2 47 AT PLANG 59 4 2 2 48 AT WEBU 59 4 2 2 49 AT WRMID 60 4 2 2 50 AT ASWD 60 4 2 2 51 AT SMTLK 60 4 2 2 52 AT...

Страница 6: ...ual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 6 C 1 High Flying Mass Production Tool 67 C 2 SmartLink V8 67 C 3 SmartAPLink 67 C 4 SmartBleLink 67 C 5 Firmware 67 C 6 SDK 67...

Страница 7: ...ure 17 Socket B function demo 29 Figure 18 Multi TCP Link Data Transmition Structure 29 Figure 19 Open Web Management page 30 Figure 20 System Web Page 31 Figure 21 Work Mode Page 31 Figure 22 STA Set...

Страница 8: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 8 Figure 43 Reflow Soldering Profile 64...

Страница 9: ...ies Module Technical Specifications 12 Table2 HF LPC300 Pins Definition 14 Table3 HF LPC330 Pins Definition 16 Table4 Absolute Maximum Ratings 18 Table5 HF LPC300 External Antenna Parameters 22 Table6...

Страница 10: ...eries Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 10 HISTORY Ed V1 0 03 26 2019 First Version Ed V1 1 05 31 2019 Add HF LPC330 Ed V1 2 09 12 2019 Add 8MB...

Страница 11: ...Fi protocol and configuration functionality and networking stack in embedded firmware to make a fully self contained 802 11b g n Wi Fi and BLE solution for a variety of applications The HF LPC3X0 seri...

Страница 12: ...ters Antenna Option Internal PCB antenna External IPEX antenna Data Interface UART GPIO SPI PWM I2S I2C SDIO Operating Voltage 3 0 3 6V Operating Current Peak Continuous TX 440mA Average STA No data 2...

Страница 13: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 13 Figure 1 HF LPC300 Appearance Figure 2 HF LPC330 Appearance...

Страница 14: ...Power Power Input 2 N C 3 N C 4 GPIO28 GPIO28 I O GPIO28 leave it open if not use 5 SPI_CLK SPI_CLK I O GPIO14 leave it open if not use Addition 8MB Flash use this pin 6 SPI_MOSI SPI_MOSI I O GPIO16 l...

Страница 15: ...6 PWM1 PWM1 I O GPIO7 leave it open if not use 27 UART0 UART0_RX I 3 3V TTL UART0 Input 28 PWM0 PWM0 I O GPIO6 leave it open if not use 29 Wi Fi Status nLink I O 0 Wi Fi connect to router 1 Wi Fi unco...

Страница 16: ...tes GPIO9 leave it open if not use 4 Module Reset RESET I PU Low effective reset input 10ms There is RC reset circuit internally Leave it open if not use 5 UART0 UART0_RX I 3 3V TTL UART0 Input 6 UART...

Страница 17: ...loose to make the module go into SmartLink V8 config mode when in SmartLink V8 config mode and short press this button again to go into SmartAPLink and SmartBleLink config mode waiting for APP to set...

Страница 18: ...e connect to router AP or other STA connect to it when in AP mode High Flying strongly suggest customer fan out this pin to LED 1 2 3 Electrical Characteristics Table4 Absolute Maximum Ratings Paramet...

Страница 19: ...Shanghai High Flying Electronics Technology Co Ltd www hi flying com 19 1 2 4 HF LPC300 Mechanical Size HF LPC300 modules physical size Unit mm as follows Figure 7 HF LPC300 Mechanical Dimension 1 2...

Страница 20: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 20 Figure 8 HF LPC330...

Страница 21: ...gested Module Placement Region High Flying suggest module better locate in following region at customer board which to reduce the effect to antenna and wireless signal and better consult High Flying t...

Страница 22: ...pports external antenna I PEX option for user dedicated application If user select external antenna HF LPC3X0 series Wi Fi modules must be connected to the 2 4G antenna according to IEEE 802 11b g n s...

Страница 23: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 23 Figure 11 HF LPC300 Order Information Figure 12 HF LPC330 Order Information...

Страница 24: ...ll output 0 This signal used to judge if module already at WiFi connection status Thers is pull up resister internal and no external pull up required If nLink function not required can leave this pin...

Страница 25: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 25 UART0_TXD RXD UART port data transmit and receive signal...

Страница 26: ...e 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...

Страница 27: ...n 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 ser...

Страница 28: ...nd the HF LPC300 module supports following WEP WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES 2 5 Parameters Configuration HF LPC300 module supports two methods to configuration parameters AT ins...

Страница 29: ...ted to connect to HF LPC300 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 connect...

Страница 30: ...eb Management Interface There is internal webpage and external webpage in modules The external webpage is for web management The internal webpage is only for upgrading But the internal webpage is the...

Страница 31: ...check current device s important information and status such as device ID MID software version wireless work mode and related Wi Fi parameters Figure 20 System Web Page 3 1 3 Work Mode Page HF LPC300...

Страница 32: ...ting 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 w...

Страница 33: ...system support DHCP to achieve IP address so we suggest to Enable DHCP server in most applications Figure 24 AP Setting Page 3 1 6 Other Setting Page HF LPC300 usually works at data transparent trans...

Страница 34: ...r name and password Figure 26 Account Page 3 1 8 Upgrade Software Page User can upgrade new software firmware version through Wi Fi After upgrade success need reboot it manually before new firmware va...

Страница 35: ...ult 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 LPC300 will restore to AP mode for factory default setting F...

Страница 36: ...ging Software TCPUDPDbg 3 2 2 Network Connection User can select two methods to connect HF LPC300 module base on dedicated application Use HF LPC300 STA interface HF LPC300 and debug PC2 connect to a...

Страница 37: ...0 0 0 0 3 2 4 Module Debug PC1 open CommTools program setting the same serial port parameters with HF LPC300 module and open serial port connection Figure 33 CommTools Serial Debug Tools PC2 open TCPU...

Страница 38: ...rred 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 Fi...

Страница 39: ...odule 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...

Страница 40: ...arameters 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 t...

Страница 41: ...CMDPW command value the module support response AT command for special data format as prefix AT comman r it is very useful for query some status in transparent transmission mode It saves the steps of...

Страница 42: ...Means the parts must be included Means the optional part Command Message AT CMD op para 1 para 2 para 3 para 4 CR AT Prefix of command message CMD Command string op Symbol of command operator The comm...

Страница 43: ...n null NULL Managment Instruction Set E Open Close show back function WMODE Set Query Wi Fi work mode AP STA ENTM Set module into transparent transition mode TMODE Set Query module data transfer mode...

Страница 44: ...parameters WAP Set Query AP Wi Fi parameters WAKEY Set Query AP security parameters WADHCP Set Query AP DHCP Server status WALK Query MAC address of STA device connecting to module AP WALKIND Enable...

Страница 45: ...mat Query Operation AT CMDPW CR ok data CR LF CR LF Set Operation AT CMDPW data CR ok CR LF CR LF Parameters mode Default is blank for disable t his function The maximum is 20 chacter length once has...

Страница 46: ...n AT TMODE CR ok tmode CR LF CR LF Set Operation AT TMODE tmode CR ok CR LF CR LF Parameters tmode data transfer mode include throughput throughput mode cmd command mode 4 2 2 6 AT MID Function Query...

Страница 47: ...this command module will restore to factory default setting and reboot 4 2 2 10 AT FCLR Function Erase factory setting Format Query Operation AT FCLR CR ok status CR LF CR LF 4 2 2 11 AT Z Function R...

Страница 48: ...e default is UART0 0 UART0 Channel baudrate 4800 9600 19200 38400 57600 115200 230400 380400 460800 921600 data_bits 8 stop_bits 1 parity NONE EVEN ODD Flowctrl CTSRTS NFC No hardware flow control FC...

Страница 49: ...port If the module hasn t saved any IP address and port when power up The data will be sent to the IP address and port which is set by this command If set as UDP CLIENT the data will always be sent t...

Страница 50: ...the tcp channel will be break If the module work in TCP Client it will connect the TCP server instantly and when the module work in TCP Server the TCP client device should make the connection itself...

Страница 51: ...AT SOCKB Function Set Query SOCKB parameters Setting is valid immediately Format Query Operation AT SOCKB CR ok protocol port IP CR LF CR LF Set Operation AT SOCKB protocol port IP CR ok CR LF CR LF P...

Страница 52: ...ry Operation AT TCPTOB CR ok time CR LF CR LF Set Operation AT TCPTOB time CR ok CR LF CR LF Parameters Time TCP timeout 600 600s 0 0 means no timeout Default 300s If the SOCKB TCP don t receive any d...

Страница 53: ...second then feedback ok 0 4 2 2 29 AT UDPLCPT Function Set Query UDP local port of Socket A and Socket B Format Query Operation AT UDPLCPT CR ok porta portb CR LF CR LF Set Operation AT UDPLCPT porta...

Страница 54: ...mat password length is 10 or 26 When encry is WEP A password is in ASCII format password length is 5 or 13 When encry is TKIP or AES password is in ASCII code password length shall be 8 63 4 2 2 32 AT...

Страница 55: ...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 35 AT WSLQ Function Query STA WiFi si...

Страница 56: ...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 include 11B 1...

Страница 57: ...f DHCP Server Close ip1 DHCP allocate IP start value ip2 DHCP allocate IP end value 4 2 2 41 AT WALK Function Query MAC address of STA device connecting to module AP Format Query Operation AT WALK CR...

Страница 58: ...rmat Set Operation AT OTA CR ok CR LF CR LF Note See Appendix C Module Upgrade for detail 4 2 2 45 AT UPURL Function Set Query remote upgrade URL address Format Query Operation AT UPURL CR ok url CR L...

Страница 59: ...id in auto mode 2 integer value default is 3 seconds when value is 0 the default waiting time is still 3 seconds 4 2 2 47 AT PLANG Function Set Query webpage language option Format Query Operation AT...

Страница 60: ...function Format Query Operation AT SMTLK CR SmartLink is a One Key config function Config the module connecting to router easily After start SmartLink function the module work in SmartLink status and...

Страница 61: ...Parameters status Wi Fi status UP boot default status Enable Wi Fi Chip DOWN Disable Wi Fi Chip it will take several seconds max 10 to disable the Wi Fi if response with ERR 5 means disable failed us...

Страница 62: ...Query Operation AT SMARTAPSTART CR ok CR LF CR LF Note Reset to quit this config mode 4 2 2 57 AT SMARTBTSTART Function Start SmartBleLink function Format Query Operation AT SMARTBTSTART CR ok CR LF...

Страница 63: ...AZ 12 characters max 4 2 2 60 AT BLENTFUUID Function Config Query BLE server UUID Format Query Operation AT BLENTFUUID CR ok serverUUID read write CR LF CR LF Set Operation AT BLENTFUUID serverUUID r...

Страница 64: ...with window time 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 6 Recommend to store...

Страница 65: ...HF LPC3X0 Series Wi Fi BLE User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 65 APPENDIX A HW REFERENCE DESIGN Refer to HF LPX30 Series EVK...

Страница 66: ...LPC300 module support http data transfer in throughput mode If any detailed HTTP protocol contact us and we may support customization B 1 Sending HTTP Raw Data in Throughput Mode Step 1 Configure HTT...

Страница 67: ...ss http www hi flying com download center 1 applications 1 download item smartlink v8 C 3 SmartAPLink Download Address http www hi flying com download center 1 applications 1 download item smartaplink...

Страница 68: ...p 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 witho...

Отзывы: