Waveshare WIFI-LPT100-B Скачать руководство пользователя страница 22

WIFI-LPT100-B User Manual 

 

 

 

22

 / 

60

 

2) Respond  

 

 

 

Table 10 Response of Query Command 

No. 

Name 

Bytes 

Description 

Head 

Fixed value: 0xFF 

Length 

length from Length (not 

include) to Check word (not 

included) 

Command byte 

11 

type of command, 0x81: 

response of query 

number of AP 

The number of AP searched 

SSID1 

 

SSID of router 1 

end mark 

Fixed: 0x00 

strength of signal 1 

signal strength of router 1 

network. Range: 0~100 (related 

real value: 0%~100%) 

end mark 

0x0D, 0x0A 

 

 

 

 

SSID n 

 

SSID of router n 

M+1 

end mark 

Fixed: 0x00 

M+2 

Strength of signal n 

signal strength of router n 

network. Range: 0~100 (related 

real value: 0%~100%) 

M+3 

end mark 

0x0D, 0x0A 

M+4 

Check word 

the sum of the bytes from Head 

(not included) to Check word 

(not included) 

 

For example: 

 

Phone to Module (HEX): FF 00 01 01 02 

 

Module reply to phone (HEX): FF 00 14 81 02 54 45 53 54 31 00 40 0D 0A 54 

45 53 54 32 00 37 0D 0A 1F 

 

Description: Phone send query command to module to query the information 

of router. And the information replied from module is that: there are 2 routers, the 

SSID of router 1 is “TEST1”, its signal strength is 

64%. And the SSID of router 2 is 

“TEST2”, its signal strength

 is 55% 

Note

: the information is order according to the signal strength of router. 

3

Set Command 

 

 

 

 

 

Table 11 Set Command 

No. 

Name 

Bytes 

Description 

Содержание WIFI-LPT100-B

Страница 1: ...WIFI LPT100 B User Manual Revision History Rev Issue Date Revised Content V1 0 2017 12 07 Preliminary...

Страница 2: ...f developed High Performance MCU Ultra Low Power for Battery Applications with Excellent Power Save Scheme Support Work As STA AP AP STA Mode Support RFC2217 auto baud function Support usrlink quick n...

Страница 3: ...escription 9 2 2 Device Features 9 2 3 Device Parameters 10 2 4 Module Feature Comparison 11 2 5 Key Application 11 2 6 Package Information 12 2 7 Device Handle Instruction 12 2 8 Shipping Information...

Страница 4: ...Parameter Configuration 27 4 9 Firmware and WEB upgrade 28 5 Module Parameter Configuration 28 5 1 WEB 28 5 1 1 Web Brief Description 28 5 1 2 Open Web Management Interface 28 5 1 3 System Page 29 5 1...

Страница 5: ...uggest users follow the guide to test module at first and will have a good understanding of the modules Users can also choose the chapter which you are interested in to read For specific details and i...

Страница 6: ...none UART 115200 8 1 None Network parameters TCP Server 8899 10 10 100 254 IP DHCP 0 0 0 0 0 0 0 0 0 0 0 0 We just need to follow the parameters of the corresponding set of network communication para...

Страница 7: ...o COM Port PC WIFI Module WIFI Module Serial Port PC 1 4 Application Examples 1 4 1 Wireless remote control applications In the wireless remote control applications WIFI LPT100 B module works in AP mo...

Страница 8: ...Transmission In this application two WIFI LPT100 WIFI LPB100 modules connect by Wi Fi as shown below this application is to build a transparent serial channel between two user devices The following fi...

Страница 9: ...d handheld device personal medical application and industrial control that have lower data rates and transmit or receive basis data at low rate WIFI LPT100 B integrates all Wi Fi functionality into a...

Страница 10: ...802 11n 68 dBm HT20 MCS7 Antenna Option External I PEX connector WIFI LPT100 B Internal On board PCB antenna WIFI LPB100 Hardware Parameters Data Interface UART Operating Voltage 3 0 3 6V Operating C...

Страница 11: ...tB UART WIFI Transparent transmission Embedded Web AT Command UART No Smartlink No WPS No usrlink No No No REC2217 auto baud No No No Sonic Intelligent Networking No No No No PWM 3 4 4 0 GPIO 3 6 6 0...

Страница 12: ...plied Baked required with 24 hours at 125 5 before rework process for two modules one is new module and two is board with module Recommend to store at 10 RH with vacuum packing If SMT process needs tw...

Страница 13: ...20 245 34 mm 1 tray 5 20 pcs 100 pcs 1 box 2 trays 2 100 pcs 200pcs 1 carton 4 boxes 4 200 pcs 800pcs 3 Hardware Introduction 3 1 Pins Definition The pins definition of WIFI LPT100 B Figure 9 Shipping...

Страница 14: ...store to factory setting 4 RESET I Reset Low to reset 5 UART_RX I Receive Pin of UART 6 UART_TX O Transmit Pin of UART 7 PWR_SW N unavailable 8 WPS N unavailable 9 RELADY O Indicator Pin of module wor...

Страница 15: ...LPT100 B External Antenna Parameters Item Parameters Frequency range 2 4 2 5GHz Impedance 50 Ohm VSWR 2 Max Return Loss 10dB max Connector Type I PEX Connector Note For customer PCB component cannot b...

Страница 16: ...des transparent mode Command mode HTTPD Client mode The switching method of work mode is in 5th Chapter Transparent Mode In this mode the module can transparent transmit data between the common serial...

Страница 17: ...l cable of users original serial devices is directly replaced with the module user devices can be easy for wireless data transmission without any changes Transparent mode can fully compatible with use...

Страница 18: ...se this connection a TCP Server Mode If Socket is set as TCP Server it can support up to 5 TCP Client connection If there is multi TCP Client connected the data transmit through TCP will be forwarded...

Страница 19: ...type 4 HTPHD Query Set HTTP head 5 HTPURL Query Set HTTP URL 6 HTPFT Query Set whether filtering HTTP head information 7 HTPTO Query Set timeout 4 2 UART Parameters Table 6 UART Port Parameters Item P...

Страница 20: ...e related setting and have no response If the command is unavailable it will be treated as common data packet and forwarded by UART port All the TCP Client TCP Server UDP Client and UDP Server support...

Страница 21: ...n AP mode it will enable an UDP port to receive command of usrlink the port is 48899 same as the LAN search port configurable Connect your phone to WIFI wireless network directly and use UDP protocol...

Страница 22: ...nal n 1 signal strength of router n network Range 0 100 related real value 0 100 M 3 end mark 2 0x0D 0x0A M 4 Check word 1 the sum of the bytes from Head not included to Check word not included For ex...

Страница 23: ...x00 5 Checksum 1 Checksum of Password If the format of password is correct the value will be 0x01 otherwise it will be 0x00 6 Check word 1 the sum of the bytes from Head not included to Check word not...

Страница 24: ...ket function 2 HEARTTP Set Query the transmit type of Heartbeat Packet 3 HEARTDT Set Query the data of Heartbeat Packet 4 HEARTTM Set Query the interval of Heartbeat Packet transmitting 4 6 Wireless N...

Страница 25: ...g as AP If the module work as AP module can quickly connect to phone PAD PC and transmit data without any setting One AP support to connect at most three STA devices And user could login to the WEB fo...

Страница 26: ...eadable to unwanted parties adding a degree of secure communications There are different protocols for providing encryption and the WIFI LPT100 B module supports following WEP WPA PSK TKIP WPA PSK AES...

Страница 27: ...ructure as following figure 4 7 2 Socket B Socket B has three work mode TCP Client UDP Client UDP Server the setting method please refer to the AT SOCKB command instruction With variety work mode sock...

Страница 28: ...command the following will describe the detail of two methods 5 1 WEB 5 1 1 Web Brief Description When first use WIFI LPT100 B modules user may need some configuration User can connect to WIFI LPT100...

Страница 29: ...nd click Apply button The main menu includes nine pages System Work Mode STA Setting AP Setting Other Setting Account Upgrade SW Restart Restore 5 1 3 System Page At this page user can check current d...

Страница 30: ...re at AP STA mode which provide very flexible application for customers 5 1 5 STA Setting Page User can push Scan button to auto search Wi Fi AP router nearby and can connect with associate AP through...

Страница 31: ...ess so we suggest to Enable DHCP server in most applications 5 1 7 Other Setting Page WIFI LPT100 B usually works at transparent mode At this mode the user device which connected with WIFI LPT100 WIFI...

Страница 32: ...32 60 5 1 8 Account Management Page This page set web server s user name and password 5 1 9 Upgrade Software Page User can upgrade new software firmware version through Wi Fi Figure 27 Other Setting P...

Страница 33: ...00 power up it will default works as throughput mode then user can switch to command mode by serial port command WIFI LPB100 UART default parameters setting as below figure In command mode user can se...

Страница 34: ...configuration mode Note 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 ste...

Страница 35: ...t 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 AT com...

Страница 36: ...ription Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operation Not Permitted 5 2 3 AT Instruction Introduction Table 15 AT Command...

Страница 37: ...trength 26 WSCAN Scan AP 27 WSDNS Set Query STA s Static DNS server address WIFI AP Command 28 LANN Set Query AP s network parameters 29 WAP Set Query AP Wi Fi parameters 30 WAKEY Set Query AP securit...

Страница 38: ...me 59 RPTMAC Query if MAC report function is enable 60 WRRPTMAC Set MAC report function 61 HEARTEN Set Query Heartbeat Packet function 62 HEARTTP Set Query Heartbeat Packet transmit way 63 HEARTDT Set...

Страница 39: ...alid 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 Transparent transparent mode cmd command mode 5 AT MID Function Query...

Страница 40: ...ers to Factory Default Parameters Format Query Operation AT CFGTF CR ok status CR LF CR LF Parameters Status feedback operation status 10 AT UART Function Set Query serial port parameters Setting is v...

Страница 41: ...ARTF para CR ok CR LF CR LF Parameters Para disable Close auto frame function enable Open auto frame function 12 AT UARTTE Function Set Query auto frame trigger time Format Query Operation AT UARTTE C...

Страница 42: ...he IP address and port which is set by this command If set as UDP CLIENT the data will always be sent to the IP address and port set by this command 14 AT TCPTO Function Set Query TCP timeout Format Q...

Страница 43: ...CP link on When query Operation sta Feedback if SOCKA TCP Client is link When Set Operation off means close TCP link After finish this command module disconnect TCP link and not connect again On means...

Страница 44: ...command 18 AT TCPTOB Function Set Query Operation SOCKB timeout time Format Query 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...

Страница 45: ...on status on TCP connected off TCP disconnected 21 AT WSTA Function Set Query associated AP s SSID and password Format Query Operation AT WSTA CR ok ssid password CR LF CR LF Set Operation AT WSSSID s...

Страница 46: ...SHARED effective HEX format WEP A When auth OPEN or SHARED effective ASCII format TKIP When auth WPAPSK WPA2PSK effective AES When auth WPAPSK WPA2PSK effective Key password when encry WEP H the passw...

Страница 47: ...r reset Format Query Operation AT WSMAC CR ok mac_address CR LF CR LF Set Operation AT WSMAC code mac_address CR ok CR LF CR LF Parameters Code security code 8888 default value mac_address STA MAC add...

Страница 48: ...ap_site_n AP site has been searched format Ch SSID BSSID Security Indicator Ch Channel of WIFI SSID SSID of router BSSID MAC address of router Security Security type of router Indicator Signal strengt...

Страница 49: ...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 11BG 11BGN Default Value Ssid...

Страница 50: ...HTPSV Function Query Set HTTPD server address and port Format Query Operation AT HTPSV CR CR LF OK address port CR LF Set Operation AT HTPSV address port CR ok CR LF Parameters address server address...

Страница 51: ...et HTTPD request URL Format Query Operation AT HTPURL CR ok url CR LF CR LF Set Operation AT HTPURL url CR ok CR LF CR LF Parameters url HTTP request url 37 AT HTPFT Function Query Set if flit the HTT...

Страница 52: ...language option Format Query Operation AT PLANG CR ok language CR LF CR LF Set Operation AT PLANG language CR ok CR LF CR LF Parameters Language webpage s language CN Chinese Version Default EN Engli...

Страница 53: ...CR ok status CR LF CR LF Set Operation AT DTDDIS status CR ok CR LF CR LF Parameters status on off 42 AT DTDID Function Query Set D2D registration ID Format Query Operation AT DTDID CR ok id CR LF CR...

Страница 54: ...CR ok CR LF CR LF Parameters reg data of customized registration packet length 32 bits 45 AT REGENA Function Query Set registration packet mechanism Format Query Operation AT REGENA CR ok status meth...

Страница 55: ...IP_address CR ok fb CR LF CR LF Parameters Fb feedback result Success Timeout Unknown host 48 AT WRMID Function Set module ID Format AT WRMID wrmid CR LF CR LF Parameters wrmid set module s ID within...

Страница 56: ...AT PRTMAC Function Query if report MAC Format AT RPTMAC CR ok status CR LF CR LF Parameters status ON OFF 52 AT WRRPTMAC Function Set if report MAC Format AT WRRPTMAC status CR ok CR LF CR LF Paramete...

Страница 57: ...e Format Query Operation AT NTPSER CR ok ip tmzone CR LF CR LF Set Operation AT NTPSER ip tmzone CR ok CR LF CR LF Parameters ip NTP server ip address tmzone time zone 56 AT NTPRF Function Set Query c...

Страница 58: ...TDT data CR ok CR LF CR LF Parameters data in HEX 80 bytes 59 AT HEARTTM Function Query Set interval of Heartbeat Packet transmitting Format Query Operation AT HEARTTM CR ok time CR LF CR LF Set Opera...

Страница 59: ...e exception handing function ON Open the WIFI mode switch function if connecting failed at STA mode module will auto switch to APSTA mode If the module auto switch to APSTA and succeed connecting to n...

Страница 60: ...onsibility declared in the product sale clause WS does not assume any other responsibilities In addition WS does not make any warranties for the sale and use of this product including the suitability...

Отзывы: