Home

WiFi Module Features: Technical Parameters

image

Contents

1. Operator could be to input Parameters and Null for query Response Format lt Response gt operator parameter1 parameter2 lt CR gt lt LF gt lt CR gt lt LF gt lt Response gt could be ok if success and ERR for failure operator will be Parameter could be query command or Error code when error happened There are different value of Error Code as described below Error Code Description 1 Invalid Command Format 2 Invalid Command 3 Invalid Operation Symbol 4 Invalid Parameter 5 Operation Not Permitted Once in command mode try entering AT H lt CR gt and you will receive following response WiFi Module User Manual Page 4 of 33 AT H ok AT NONE command reply ok AT ASWD Set Query WiFi configuration code AT E Echo ON off to turn on off command line echo function AT ENTM Goto Through mode AT NETP Set Get the Net Protocol Parameters AT UART Set Get the UART Parameters AT UARTF Enable disable UART AutoFrame function AT UARTFT Set Get time of UART AutoFrame AT UARTFL Set Get frame length of UART AutoFrame AT UARTTE Set Query UART free frame triggerf time between two byte AT PING General PING command AT WAP Set Get the AP parameters AT WAKEY Set Get the Security Parameters of WIFI AP Mode AT WMODE Set Get the WIFI Operation Mode AP or STA AT WSKEY Set Get the Security Parameters of WIFI STA Mode AT WSSSID Set Get the AP s SSID of WI
2. AT TMODE lt CR gt ok lt tmode gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT TMODE lt tmode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o tmode data transfer mode include gt throughput throughput mode gt cmd command mode gt pwm PWM GPIO mode Function Query module ID information Format o Query Operation AT MID lt CR gt ok lt module_id gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o module_id Module ID information gt MegavizonW1 Function Re start module Format AT Z lt CR gt Function Help Format o Query Operation WiFi Module User Manual Page 8 of 33 AT UART AT UARTF AT H lt CR gt ok lt commandhelp gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o command help command introduction Function Set Query serial port parameters Setting is valid after reset Format o Query Operation AT UART lt CR gt ok lt baudrate data_bits stop_bit parity gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT UART lt baudrate data_bits stop_bit parity gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o baudrate 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 230400 380400 460800 o data_bits 8 o stop_bits 1 2 o parity gt NONE gt EVEN gt ODD o Flowctrl CTSRTS gt NFC No hardware flow control gt FC hardware flow control Function Open Clo
3. Leonardo e Select COM port e Upload following sketch void setup pinMode 13 OUTPUT digitalWrite 13 LOW initialize serial communication at 115200 bits per second Serial begin 115200 while Serial wait for serial port to connect Needed for Leonardo only Serial1 begin 115200 delay 100 delay in between reads for stability void loop read from port 1 send to port 0 if Seriall available Serial write Serial1 read read from port 0 send to port 1 if Serial available Serial1 write Serial read Open Serial Terminal such as Arduino Serial Monitor Input E via UART Module will respond with a input a Module will respond atok WiFi Module User Manual Page 3 of 33 input input input input a lt 300ms lt 300ms lt 3s feedback a AT Instruction Set Once in Configuration Command mode user can enter AT command with Carriage Return after each command in Serial Terminal Syntax of AT Commands AT Instruction is based on the instruction of ASCII command style the description of syntax format is as follow Legend lt gt Part inside the lt and gt is compulsory Part inside the and is optional lt CR gt Carriage return Enter Key OxOa or OxOd in ASCII Command Format AT lt Command gt Operator parameter1 parameter2 parameter3 lt CR gt
4. it s optional and not saved parameter If provide this file name here the module will start upgrade right away Function Set Query remote upgrade configure file name Format o Query Operation AT UPFILE lt CR gt ok lt filename gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT UPFILE lt filename gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o filename upgrade configure file name within 20 characters Function Open Close remote upgrade log file Format o Query Operation WiFi Module User Manual Page 23 of 33 AT LOGPORT AT UPST AT LOGSW lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT LOGSW lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status gt on Open The UART Port will print some upgrade status when upgrading the log file will be sent to UDP Port after successfully gt off Close Function Set Query remote upgrade UDP port of log file Format o Query Operation AT LOGPORT lt CR gt ok lt port gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT LOGPORT lt port gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters port The remote upgrade UDP port of log file Function Start remote upgrade Format o Query Operation AT UPST lt CR gt ok lt log gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o log feed
5. CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WIFI lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status Wi Fi status gt UP boot default status Enable Wi Fi Chip gt DOWN Disable Wi Fi Chip Function Query the RAM status Format o Query Operation AT SMEM lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt WiFi Module User Manual Page 29 of 33 Parameters o status The RAM status HTTP commands AT HTTPURL AT HTTPTP AT HTTPPH Function Set Query HTTP server IP address and Port Number Format o Query Operation AT HTTPURL lt CR gt ok lt IP Port gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT HTTPURL lt IP Port gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o IP IPaddress o Port Port number Function Set Query HTTP request type Format o Query Operation AT HTTPTP lt CR gt ok lt Type gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT HTTPTP lt Type gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Type GET default or POST Function Set Query HTTP protocol header path Format o Query Operation AT HTTPPH lt CR gt ok lt Path gt lt CR gt lt LF gt lt CR gt lt LF gt WiFi Module User Manual Page 30 of 33 AT HTTPCN AT HTTPUA AT HTTPDT o Set Operation AT HTTPPH lt Path gt lt CR
6. Parameters o data_lenth Length of received data Range 0 1000 Byte o data_content contents of received data WiFi Module User Manual Page 16 of 33 If not receive any data in 3 second then feedback ok 0 AT WSSSID AT WSKEY Function Set Query Wi Fi associated AP SSID parameters Setting is valid after reset Format o Query Operation AT WSSSID lt CR gt ok lt ap sssid gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WSSSID lt ap s ssid gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o ap s ssid AP s SSID Within 32 character Function Set Query STA security parameters Setting is valid after reset Format o Query Operation AT WSKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WSKEY lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o auth Authentication mode gt OPEN gt SHARED gt WPAPSK gt WPA2PSK o encry Encryption algorithm gt NONE When auth OPEN effective gt WEP When auth OPEN or SHARED effective gt TKIP When auth WPAPSK or WPA2PSK effective gt AES Whe auth WPAPSK WPA2PSK effective o key password ASCII code shall less than 64 bit and greater than 8bit WiFi Module User Manual Page 17 of 33 AT WANN AT WSMAC AT WSLK Function Set Quer STA network setting Setting is valid
7. after reset Format o QueryO on AT WANNK lt CR gt ok lt mode address mask gateway gt lt CR gt lt LF gt lt CR gt lt LF gt o et Operation AT WANN lt mode address mask gateway gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o mode STA s IP network setting gt static Static IP gt DHCP Dynamic IP o address STA IP address o mask STA subnet mask o gateway STA gateway address Function Set Query STA MAC address parameters Setting is valid after reset Format o Query Operation AT WSMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WSMAC lt code mac_address gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o code security code gt 8888 default value o Mac_address STA MAC address such as ACCF23FF1234 Function Query STA WiFi link status Format o Query Operation AT WSLK lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt WiFi Module User Manual Page 18 of 33 AT WSLQ AT WSCAN AT WSDNS Parameters 0 ret gt Disconnected if no WiFi connection gt AP SSID AP s MAC if WiFi connection available Function Query STA WiFi signal strength Format o Query Operation AT WSLQ lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters 0 ret gt Disconnected if no WiFi connection gt AP s WiFi signal strength
8. gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Path Max length is 50 bytes Function Set Query Connection of HTTP protocol header Format o Query Operation AT HTTPCN lt CR gt ok lt Connection gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT HTTPCN lt Connection gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Connection Max length is 20 bytes Function Set Query User Agent of HTTP protocol header Format o Query Operation AT HTTPUA lt CR gt ok lt Parameter gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT HTTPUA lt Parameter gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Parameter Max length is 20 bytes Function Send HTTP request or data Format o Set Operation AT HTTPDT lt Data gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt WiFi Module User Manual Page 31 of 33 Parameters o Data HTTP request data send AT HTTPDT directly if no data to be sent HTTP Example HTTP parameter settings are as follows Set HTTP server address and port optional Set HTTP request type Set HTTP protocol header path Set HTTP Connection area Set HTTP User Agent area AT HTTPURL 192 168 1 1 80 AT HTTPTP POST AT HTTPPH abcd AT HTTPCN keep alive AT HTTPUA MangoCube If send AT HTTPDT the data packet will be sent as the following instance including the two new line POST abcd HTT
9. 0 default 30 minutes 10 minutes for each step set O means no time calibration automatically Function Enable Disable time calibration function Setting is valid after reset Format o Query Operation AT NTPEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT NTPEN lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status Status of time calibration gt on Enable time calibration gt off Disable time calibration Function Query network time Format o Query Operation AT NTPTM lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o time network time for example 2015 02 15 15 10 31 Sun if it shows Not Available means that the time calibration function is not enabled or the module isn t connect to the internet Function Set Query NTP server IP address Format o Query Operation AT NTPSER lt CR gt ok lt ipaddress gt lt CR gt lt LF gt lt CR gt lt LF gt WiFi Module User Manual Page 26 of 33 AT WRMID AT ASWD AT MDCH o Set Operation AT NTPSER lt ipaddress gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o ipaddress NTP network server IP address Function Set module ID Format o Set Operation AT WRMID lt wrmid gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o wrmid set module s ID within 20 characters Function Set Query WiFi Configu
10. CH1 CH11 Function Set Query AP Wi Fi security parameters Setting is valid after reset Format o Query Operation WiFi Module User Manual Page 20 of 33 AT WAKEY lt CR gt ok lt auth encry key gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WAKEY lt auth encry key gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt e Parameters o auth include gt OPEN gt WPA2PSK o Encry include gt NONE When auth OPEN available gt AES When auth WPA2PSK available o key security code ASCII code smaller than 64bit and bigger than 8 bit AT WAMAC e Function Query AP MAC address parameters e Format o Query Operation AT WAMAC lt CR gt ok lt mac_address gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o mac_address A s MAC address Note Module AP mode s MAC address is related to STA mode s MAC address AT WADHCP e Function Set Query AP DHCP server status Setting is valid after reset e Format o Query Operation AT WADHCP lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WADHCP lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status AP s DHCP server function status WiFi Module User Manual Page 21 of 33 AT WADMN AT WALK AT PLANG gt on DHCP Server Open gt off DHCP Server Close Function Set Query AP webpage domain name Format o Quer
11. CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o protocol gt TCP gt UDP o CS Network mode gt SERVER gt CLIENT o Port protocol port ID Decimal digit and less than 65535 o _IP Server s IP address when module set as client If set as UDP SERVER the module will save the IP address and port of the latest UDP packet received The data will be sent to the s aved IP address and port If the module hasn t saved any IP address and port when power up The d ata will be sent to t 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 AT MAXSK Function Set Query TCP Client connection number Format o Query Operation WiFi Module User Manual Page 12 of 33 AT TCPLK AT TCPTO AT MAXSK lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT MAXSK lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o 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 Function Query if TCP link already build up Format AT TCPLK lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Sta if module already setup TCP link gt on TCP link setup gt off TCP link not setup Function Set Query TCP t
12. FI STA Mode AT WSLK Get Link Status of the Module Only for STA Mode AT WSLQ Get Link Quality of the Module Only for STA Mode AT WSCAN Get The AP site Survey only for STA Mode AT WEBU Set Get the Login Parameters of WEB page AT TCPLK Get The state of TCP link AT TCPTO Set Get TCP time out AT TCPDIS Connect Dis connect the TCP Client link AT RECV Recv data from UART AT SEND Send data to UART AT WANN Set Get The WAN setting if in STA mode AT LANN Set Get The LAN setting if in ADHOC mode AT RELD Reload the default setting and reboot AT RLDEN Put on off the GPIO12 AT Z Reset the Module AT MID Get The Module ID AT VER Get application version AT H Help List of Commands AT lt enter following instruction gt lt CR gt Instruction Description lt null gt NULL Network Management Instruction Set E 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 Z Re start module H Help UART Instruction Set UART Set Query serial port parameters UARTFT Open Close UART auto frame function UARTFT Set Query UART auto frame trigger time UARTFL Set Query UART auto frame trigger length UARTTE Set Query UART free frame trigger time between two bytes Command Mode Instruction Set SEND Send Data at Command Mode RECV Receive Data at Command Mode Network Instruction Set WiFi Module U
13. P 1 1 Connection keep alive User Agent MangoCube Content Length 0 Host 192 168 0 127 8999 If send AT HTTPDT 1234 the data packet will be sent as the following instance POST abcd HTTP 1 1 Connection keep alive User Agent MangoCube Content Length 4 Host 192 168 0 127 8999 1234 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 server or 5 second it will cut the TCP link with HTTP server Application e Remote control monitoring e Industrial sensors and controls e Telemetering e Homeautomation WiFi Module User Manual Page 32 of 33 e Asset tracking e Wireless Medical devices Examples Coming soon WiFi Module User Manual Page 33 of 33
14. WiFi Module Features Wireless standards supported IEEE 802 11 b g n Low power operation UART interface Supports AT Commands Supports Multi TCP up to 5 channel FCC CE certified Technical Parameters Parameters Specification FCC CE Wireless standard 802 11 b g n Frequency range 2 412GHz 2 484GHz 802 11b 16 2dBm 11Mbps Wireless Parameters Transmit Power Receiver Sensitivity Internal On board Chip antenna Data Interface UART Hardware Operating Current Parameters Peak Continuous T X 200mA Normal Wi Fi ON OFF DTIM 100ms Average 12mA Peak 200mA Standby lt 200uA Reserved Operating Temp 40 C 85 C Storage Temp 45 C 125 C Dimensions and Size 22mmx13 5mmx3mm Network Mode STA AP STA AP Security Mechanism WEP WPA PSK WPA2 PSK Software Parameters Encryption WEP64 WEP128 TKIP AES Network Protocol IPv4 TCP UDP HTTP Use configuration AT instruction set WiFi Module User Manual Page 1 of 33 MangoCube WiFi connections Function Type 1 Wireless Networking There are two Wireless Networking Modes AP Access Point It s a wireless access point Similar example is Wireless Router in home network STA Station Client In wireless networking Station is similar to Mobile Phone tablet PC which connects to Wireless Router AP AP STA It is combination of both AP and STA functionalities Module in AP STA mode can connect to other AP or other STA devi
15. ame trigger time between two bytes is 50ms AT SEND e Function Send Data to SOCKA at Command Mode e Format AT SEND lt data_lenth gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt e Parameters o data_lenth Length of 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 SOCKA If the interval of two bytes is more than 10ms the data will be sentinstantly AT RECV Function Receive Data from SOCKA at Command Mode Format AT RECV lt data_length timeout gt lt CR gt ok lt data_length data_content gt lt CR gt lt LF gt lt CR gt lt LF gt e Parameters o data_length Length of receive data Range 0 1000 Byte o timeout wait for timeout 0 10 sec o data_content contents of receive data If not receive any data in 3 second then feedback ok 0 AT PING Function Network PING Instruction Format o Set Operation WiFi Module User Manual Page 11 of 33 AT NETP AT PING lt IP_address gt lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o sta feedback result gt Success gt Timeout gt Unknownhost Function Set Query network protocol parameters Setting is valid after reset Format o Query Operation AT NETP lt CR gt ok lt protocol CS port IP gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT NETP lt protocol CS port IP gt lt
16. back the status of remote upgrade After execute this command WiFi Module will automatically start upgrading base on the setting of UPURL UPFILE command contents WiFi Module User Manual Page 24 of 33 AT WEBU AT MSLP AT NTPRF Function Set Query webpage user name and password Setting is valid after reset Format o Query Operation AT WEBU lt CR gt ok lt username password gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WEBU lt username password gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o username User Name within 15 characters not support empty o password password within 15 characters support empty Function Set Query deep sleep standby mode parameters Format o Query Operation AT MSLP lt CR gt ok lt ret gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT MSLP lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o ret gt normal normal mode 100ms interval o mode gt normal normal mode 100ms interval gt standby WiFi shut down mode Function Set Query time calibration interval Format o Query Operation AT NTPRF lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation WiFi Module User Manual Page 25 of 33 AT NTPEN AT NTPTM AT NTPSER AT NTPRF lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o num Time calibration inverval range 0 72
17. ces can connect to it which is similar to Tethering in Smart phones Wireless Transparent Transmission The WiFi module supports Serial transparent wireless transmission which is similar to using UART serial communication but wirelessly Once configured the module can automatically connect to the default wireless network and server after power on User can also create customised software App to use module in Wireless transmission mode Following parameters needs to be configured to use the WiFi module in this mode Wireless Network Parameters e Wireless Network Name SSID Default MangoCube e Security Mode Default open e Encryption Key Default none TCP UDP Linking Parameters e Protocol Type Default TCP Default Server Default 8899 Default 10 10 100 254 e Link Type Server or Client e Target Port ID Number e Target Port IP Address Serial Port Parameters e Baud Rate Default 115200 e Data Bit Default 8 e Parity Check Bit Default None e Stop Bit Default 1 e Hardware Flow Control Default None WiFi Module User Manual Page 2 of 33 Configuration Command Mode On power up the WiFi module works in transparent transmission mode by default To configure it to work in different mode function it needs to be entered in configuration AT command mode To get MangoCube WiFi into Configuration AT command mode e Connect the MangoCube WiFi to a PC Mac via USB e Select the Board type as
18. if WiFi connection available Function Scan AP Format AT WSCAN lt CR gt ok lt ap_site gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o ap_site AP searched Function Set Query STA static DNS server address Format o Query Operation AT WSDNS lt CR gt ok lt address gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WSDNS lt address gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o address STA s DNS server address Effective right away WiFi Module User Manual Page 19 of 33 AT LANN AT WAP AT WAKEY Function Set Query AP s network parameters Setting is valid after reset Format o Query Operation AT LANN lt CR gt ok lt ipaddress mask gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT LANN lt ipaddress mask gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o ipaddress AP s IP address o mask AP s net mask Function Set Query AP Wi Fi parameters Setting is valid after reset Format o Query Operation AT WAP lt CR gt ok lt wifi_mode ssid channel gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WAP lt wifi_mode ssid channel gt lt CR gt ok lt CR gt lt LF gt lt CF gt lt LF gt Parameters o wifi_mode Wi Fi mode include gt 11B gt 11BG gt 11BGN Default Value o ssid SSID at AP mode o channel Wi Fi channel selection gt AUTO Default CH1 gt
19. imeout Setting is valid after reset Format o Query Operation AT TCPTO lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT TCPTO lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o time TCP timeout time gt lt 600 600s gt gt 0 0 means no timeout gt Default 300s Module begins to count time when TCP channel don t receive any data clear time counter when TCP channel receive any data If the time WiFi Module User Manual Page 13 of 33 AT TCPDIS AT SOCKB counter reaches the TCPTO the tcp channel will break If the module works as TCP Client it will connect to TCP server instantly and when the module works as TCP Server the TCP client device should make the connection itself e Function Open Close TCP link e Format o Query Opera AT TCPDIS lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt o Set operation AT TCPDIS lt on off gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters When query sta Feedback if TCP Client can be link gt On TCP link close off TCP link on When setting off means close TCP link After finish this command module disconnects TCP link and does not connect again On means open TCP link After finish this command module re connect to TCP server right away e Function Set Query SOCKB parameters Setting is valid after reset e F
20. ormat o Query Operation AT SOCKB lt CR gt ok lt protocol port IP gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT SOCKB lt protocol port IP gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt e Parameters o Protocol Protocol type gt TCP Only for TCP Client gt UDP UDP Client WiFi Module User Manual Page 14 of 33 gt UDPS UDP Server o Port Protocol Port in decimal less than 65535 o IP Destination IP address domain name is support If set as UDP SERVER the module will save the IP address and port of the latest UDP packet received The data will be sent to the saved IP address and 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 to the IP address and port set by this command AT TCPDISB Function Open Close SOCKB connection Format o Query Operation AT TCPDISB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT TCPDISB lt on off gt lt CR gt o0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters When setting off means close TCP link After finish this command module disconnect TCP link and not co nnect again On means open TCP link After finish this command module re connect TCP server right away AT TCPTOB Function Set Query Operation SOCKB TCP timeo
21. protocol header Set Query User Agent of HTTP protocol header Send HTTP request or data Command Description Following is the description about how to use each command Instructions are in Blue and Response in Green colour AT E WiFi Module User Manual Page 6 of 33 Function Enable or disable Echo e Format o Set Operation AT E lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status Echo status gt on Enable echo gt off Disable echo When WiFi Module firstly switches from transparent transmission to configuration mode Echo is On input AT E to close Echo input AT E again to switch Echo On AT WMODE e Function Set Query Wi Fi work mode Setting is valid after reset e Format o Query Operation AT WMODE lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WMODE lt mode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o mode Wi Fi work mode gt AP gt STA gt APSTA AT ENTM e Function Set module into transparent transmission mode Format AT ENTM lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt When operate this command module switch from configuration mode to transparent transmission mode WiFi Module User Manual Page 7 of 33 AT TMODE AT MID AT Z AT H Function Set Query data transfer mode Setting is valid after reset Format o Query Operation
22. ration Password Format o Query Operation AT ASWD lt CR gt ok lt aswd gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT ASWD lt aswd gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o aswd WiFi Configuration Password within 20 characters Function Set Wi Fi Auto Switch Function Setting is valid after reset Format o Query Operation AT MDCH lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT MDCH lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o mode Wi Fi Auto Switch Mode gt off Disable Wi Fi auto switch WiFi Module User Manual Page 27 of 33 gt on Enable Wi Fi auto switch When the module STA mode fail to connect to router it will switch to AP mode itself in one minute gt auto Enable Wi Fi auto detect function The module will reset itself when encounter any abnormal The default time interval is 10 minutes default mode gt 3 120 unit minute S the time interval to reset itself when abnormal 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 o Query Operation AT TXPWR lt CR gt ok lt num gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT TXPWR lt num gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o num Setting Value The default i
23. s 0 it can be sent from 0 24 If set to 24 the module transmit power will be at a minimum of 4dBm Reboot to make this setting change valid It will not restore to default if reload the module AT WPS e Function Start WPS function e Format o Query Operation AT WPS lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status WPS status The module will reboot and work in STA mode connecting to specific router when WPS communication is OK gt WPS Span Failed WPS communication is failed 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 If the router s WPS is enabled the mode will reboot and enter WPS mode without reply tok AT WPSBTNEN WiFi Module User Manual Page 28 of 33 Function Enable Disable WPS function Format o Query Operation AT WPSBTNEN lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WPSBTNEN lt status gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status gt on Enable WPS function gt 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 AT WIFI AT SMEM Function Enable Disable Wi Fi Command Format o Query Operation AT WIFI lt
24. se UART auto frame function Format o Query Operation AT UARTF lt CR gt ok lt para gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation WiFi Module User Manual Page 9 of 33 AT UARTFT AT UARTFL AT UARTTE AT UARTF lt para gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o para gt disable Close auto frame function gt enable Open auto frame function Function Set Query UART auto frame trigger time Format o Query Operation AT UARTFT lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT UARTFT lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o time Range 100 1000ms Function Set Query UART auto frame trigger length Format o Query Operation AT UARTFL lt CR gt ok lt len gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT UARTFL lt len gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o len Range 8 1000 Byte Function Set Query UART free frame trigger time between two bytes Format o Query Operation WiFi Module User Manual Page 10 of 33 AT UARTTE lt CR gt ok lt mode gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT UARTTE lt mode gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o mode lt fast No free frame trigger time the uart data may be break into two fragment normal free fr
25. ser Manual Page 5 of 33 PING NETP MAXSK TCPLK TCPTO TCPDIS SOCKB TCPDISB TCPTOB TCPLKB SNDB RCVB Network Ping Instruction Set Query network protocol parameters Set Query TCP Client connection number Query if TCP link already build up Set Query TCP timeout Open Close TCP link Set Query SOCKB parameters Open Close SOCKB TCP link Set Query SOCKB TCP timeout Query if SOCKB TCP link already build up Send data to SOCKB in Command Mode Receive data from SOCKB in Command Mode Wi Fi STA Instruction set Effective when module works as STA WSKEY WSSSID WANN SMAC WSLK WSLQ WSCAN WSDNS Set Query STA security parameters Set Query associated AP SSID parameters Set Query STA s network parameters Set Query STA s MAC address Query STA Wi Fi link status Query STA Wi Fi signal strength Scan AP Set Query STA s Static DNS server address Wi Fi AP Instruction Set Effective when module works as AP LANN WAP WAKEY WAMAC WADHCP WADMN WALK Set Query AP s network parameters Set Query AP Wi Fi parameters Set Query AP security parameters Set Query AP MAC address Set Query AP DHCP Server status Set Query AP webpage domain name Query MAC address of STA device connecting to module AP HTTP Instruction Set HTTPURL HTTPTP HTTPPH HTTPCN HTTPUA HTTPDT Set Query HTTP server IP address and Port Number Set Query HTTP request type Set Query HTTP protocol header path Set Query Connection of HTTP
26. ut Setting is valid after reset Format o Query Operation AT TCPTOB lt CR gt ok lt time gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT TCPTOB lt time gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Time TCP timeout WiFi Module User Manual Page 15 of 33 gt lt 600 600s gt gt 0 0 means no timeout gt Default 300s If the SOCKB TCP doesn t receive any data from TCP server for TCP timeout setting the module will break and reconnect the TCP server If it receive data from server the timeout counter will be clear AT TCPLKB e Function Query SOCKB connection status Format AT TCPLKB lt CR gt ok lt sta gt lt CR gt lt LF gt lt CR gt lt LF gt e Parameters o sta SOCKB connection status gt on TCP connected gt off TCP disconnected AT SNDB Function Send data to SOCKB at command Mode Format AT SNDB lt data_lenth gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt e Parameters o data_lenth Length of data Range 0 1000 Byte The UART port will wait 3 se c onds 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 sentinstantly AT RCVB Function Receive data from SOCKB at Command Mode Format AT RCVB lt data_lenth gt lt CR gt ok lt data_lenth data_content gt lt CR gt lt LF gt lt CR gt lt LF gt
27. y Operation AT WADMN lt CR gt ok lt domain_name gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT WADMN lt domain_name gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o Domain_name Webpage domain name within 20 characters can t be all numbers Function Query MAC address of STA device connecting to module AP Format o Query Operation AT WALK lt CR gt ok lt status gt lt CR gt lt LF gt lt CR gt lt LF gt Parameters o status MAC address of STA device connecting to module AP gt NoConnection No STA device co nnecting to module AP Function Set Query webpage language option Format o Query Operation AT PLANG lt CR gt ok lt language gt lt CR gt lt LF gt lt CR gt lt LF gt o SetOperation AT PLANG lt language gt lt CR gt ok lt CR gt lt LF gt lt CR gt lt LF gt Parameters o language webpage s language WiFi Module User Manual Page 22 of 33 AT UPURL AT UPFILE AT LOGSW gt CN Chinese Version Default gt EN English Version Function Set Query remote upgrade URL address Format o Query Operation AT UPURL lt CR gt ok lt url gt lt CR gt lt LF gt lt CR gt lt LF gt o Set Operation AT UPURL lt url filename gt lt CR gt 0k lt CR gt lt LF gt lt CR gt lt LF gt Parameters o url the upgrade file url address the last charter shall be within 20 characters o filename the upgrade file name

Download Pdf Manuals

image

Related Search

Related Contents

Operação e Manutenção  Safety Instructions  X3 User Guide - Sound Fidelity    Leica MS 400 GPS    Samsung ED65D Kullanıcı Klavuzu  Spool winder device  ケーブルテレビのデジアナ変換で視聴や録画される方へ  GE 5 752RB3A User's Manual  

Copyright © All rights reserved.
Failed to retrieve file