Page 2
'RFXPHQW 5HYLVLRQ +LVWRU\ Revision Changes Date 2019.04.04 V1.0 Official Release WizFi360 User Manual...
Page 3
No license, express or implied, by estoppel or otherwise, is hereby granted. The Wi-Fi Alliance member logo is owned by the Wi-Fi Alliance. All trademark names, trademarks and registered trademarks mentioned herein are the property of their respective owners and are hereby acknowledged. WizFi360 User Manual...
AT+SYSRAM Checks the Remaining Space of RAM ..........19 10.1.2.9ˊ 10.1.2.10 ᧪AT+CIOMODE Configures the Mode of a GPIO ............. 20 10.1.2.11 ᧪AT+CIOWRITE Configures the Output Level of a GPIO ..........20 10.1.2.12 ᧪AT+CIOREAD Reads the GPIO Input Level ..............20 WizFi360 User Manual...
Page 5
Flash Flash 10.2.2.11. AT+CWSAP_DEF Configures the WizFi360 SoftAP; Configuration Saved in the Flash Flash 29 AT+CWLIF IP of Stations to Which the WizFi360 SoftAP is Connected ..... 29 10.2.2.12. AT+CWQAP Disconnect from the AP ..............30 10.2.2.13. AT+CWDHCP Enables/Disables DHCP ............. 30 10.2.2.14.
Page 6
AT+CWDHCP_CUR Enables/Disables DHCP; Configuration Not Saved in the Flash Enables/Disables DHCP; Configuration Saved in the Flash. 31 10.2.2.16. AT+CWDHCP_DEF AT+CIPSTA Sets the Current IP Address of the WizFi360 Station ....32 10.2.2.17. 10.2.2.18. AT+CIPSTA_CUR Sets the Current IP Address of the WizFi360, Configuration ....................32 Not Saved in the Flash 10.2.2.19.
Page 7
10.3.2.13. +IPD Receives Network Data ................44 10.3.2.14. AT+CIPSNTPCFG Sets the Configuration of SNTP ..........45 10.3.2.15. AT+CIPSNTPTIME Checks the SNTP Time ............45 10.3.2.16. 10.3.2.17. AT+CIPDNS_CUR Sets User-defined DNS Servers; Configuration Not Saved in the Flash WizFi360 User Manual...
Page 8
WizFi360 is a complete and self-contained WiFi network solution that can run independently or as a slave host MCU. The module can be booted directly from internal flash memory when it carries applications and acts as the only application processor in the device.
Page 9
• Support AT remote upgrade • Support for Smart Config (including Android and iOS devices) • Support HSPIǃUARTǃI2CǃI2SǃSDIO2.0ǃ7816 interfaceǃPWMǃGPIO • Integrated power supply control circuit • Standby power consumption less than10uA • Wake up, connect and transmit packets within 2ms WizFi360 User Manual...
Page 12
PB_13(I²C_SCL) operating PB_14(I²C_DAT) frequency˄100K-400K˅ . A device that can be connected to a UART UART0: interface. GPIOA_4(TXD) download˖ GPIOA_5(RXD) UART UART0_TXD,UART0_RXD UART1: Communication˖ PB_12(TXD) UART0_TXD,UART0_RXD PB_11(RXD) UART1_TXD,UART1_RXD Master˖ Support AMBA APB bus protocol, 32bit single PA_5(I²S_M_EXTCLK) read/write; WizFi360 User Manual...
String values need to be included in double quotation marks, for example:AT+CWSAP= “WizFi360”, “WizFi360”,1,4. • The default baud rate is 115200 • AT commands have to be capitalized, and must end with a new line (CR LF). WizFi360 User Manual...
AT+UART_CUR The current UART configuration. AT+UART_DEF The default UART configuration, saved in flash. AT+SYSRAM Checks the available RAM size. AT+CIOMODE Configures the mode of GPIO. AT+CIOWRITE Configures the GPIO output level AT+CIOREAD Checks the GPIO input level. WizFi360 User Manual...
<SDK version info>˖information about the SDK version. Parameters • <compile time>˖the duration of time for compiling the BIN. ˊ ATE 10.1.2.4 AT Commands Echoing Execute Command Response • ATE0˖echo off. Parameters • ATE1˖echo on. ˊ AT+RESTORE 10.1.2.5 Restores the Factory Default Settings WizFi360 User Manual...
• The configuration changes will be saved in the user parameter area in Note the flash, and will still be valid when the chip is powered on again. • The range of baud rates supported˖2000000ˈ1500000ˈ1250000ˈ 1000000ˈ921600ˈ406800ˈ230400ˈ115200ˈ57600ˈ38400ˈ19200ˈ 9600ˈ4800ˈ2400ˈ1800ˈ1200ˈ600 WizFi360 User Manual...
Page 18
115200, the baud rate returned by using command AT+UART_CUR? could be 115273. Notes • The range of baud rates supported˖2000000ˈ1500000ˈ1250000ˈ 1000000ˈ921600ˈ406800ˈ230400ˈ115200ˈ57600ˈ38400ˈ19200ˈ 9600ˈ4800ˈ2400ˈ1800ˈ1200ˈ600 AT+UART_CUR=115200,8,1,0,0 Example ˊ AT+UART_DEF 10.1.2.8 Default UART Configuration; Saved in the Flash WizFi360 User Manual...
Page 19
• The range of baud rates supported˖2000000ˈ1500000ˈ1250000ˈ 1000000ˈ921600ˈ406800ˈ230400ˈ115200ˈ57600ˈ38400ˈ19200ˈ 9600ˈ4800ˈ2400ˈ1800ˈ1200ˈ600 AT+UART_DEF=115200,8,1,0,0 Example ˊ AT+SYSRAM Checks the Remaining Space of 10.1.2.9 AT+SYSRAM˛ Execute Command +SYSRAM:<RAM Response > OK <RAM>˖remaining space of RAM, unit: byte. Parameters WizFi360 User Manual...
-0˖ sets the GPIO as an input AT+CIOMODE=6,1 Example ˊAT+CIOWRITE 10.1.2.11 Configures the Output Level of a GPIO AT+CIOWRITE=<pin>,<level> Execute Command Response • <level>˖ -1˖high level Parameters -0˖low level AT+CIOMODE=6,1 Example AT+CIOWRITE=6,0 10.1.2.12 ˊAT+CIOREAD Reads the GPIO Input Level AT+CIOREAD=<pin> Execute Command WizFi360 User Manual...
Page 21
Response Parameters WizFi360 User Manual...
Page 22
AT+CIOREAD=6 Example WizFi360 User Manual...
Sets WizFi360 SoftAP AT+CWSAP_CUR Sets WizFi360 SoftAPˈconfiguration not saved in the flash AT+CWSAP_DEF Sets WizFi360 SoftAPˈconfiguration saved in the flash AT+CWLIF Gets the Station IP to which the WizFi360 SoftAP is connected. AT+CWQAP Disconnects from an AP. AT+CWDHCP Enables/Disables DHCP AT+CWDHCP_CUR Enables/Disables DHCP, configuration not saved in the flash.
AT+CIPAP_CUR Sets the IP address of the WizFi360 SoftAP, configuration not saved in the flash. AT+CIPAP_DEF Sets the IP address of the WizFi360 SoftAP, configuration saved in the flash. AT+CIPSTAMAC_CUR Sets the IP address of the WizFi360 Station MAC, not configuration saved in the flash.
Connects to an AP AT+CWJAP? AT+CWJAP=<ssid>,<pwd>[,<bssid>] Commands +CWJAP:<ssid>,<bssid>,<channel>, <rssi> Response +CWJAP:<error code> FAIL • <ssid>˖the SSID of the target AP. • <ssid>˖the SSID of the target AP. Parameters • <bssid>˖the target AP’s MAC address • <pwd>˖password, MAX: 64-byte WizFi360 User Manual...
<error code>˖(IRU UHIHUHQFH RQO\) 1˖connection timeout. Parameters ▶ 2˖wrong password. ▶ 3˖cannot find the target AP. ▶ 4˖connection failed. ▶ This command requires Station mode to be enabled.Escape character syntax is needed if SSID or password contains any special WizFi360 User Manual...
The configuration changes will be saved in the system parameter area in the flash. Note • If multiple APs have the same SSID, the target AP can be found by BSSID AT+CWJAP_DEF=”WIZnet”,”wiznet2018”,”f4:83:cd:9e:d4:40” Examples 10.2.2.7. AT+CWLAPOPT Sets the Configuration for the Command AT+CWLAP AT+CWLAPOPT=<sort_enable>,<mask> Command Response WizFi360 User Manual...
Parameters 4˖WPA_WPA2_PSK ▶ • <ssid>˖string parameter, SSID of the AP • <rssi>˖signal strength • <mac>˖string parameter, MAC address of the AP. • <channel>˖channel number AT+CWLAP Examples 10.2.2.9. AT+CWSAP Configures the WizFi360 SoftAP AT+CWSAP=<ssid>,<pwd>, AT+CWSAP? Commands <chl>,<ecn>[,<max conn>][,<ssid WizFi360 User Manual...
▶ 2:WPA_PSK ▶ Parameters 3:WPA2_PSK ▶ • [<max conn>]( optional˅˖maximum number of Stations to which WizFi360 SoftAP can be connected; within the range of [1, 4]. • [<ssid hidden>]( optional˅˖ 0: SSID is broadcasted. (the default ▶ setting) 1: SSID is not broadcasted ▶...
<mac>˖MAC address of Stations to which WizFi360 SoftAP is connected • This command cannot get a static IP. It only works when both DHCPs of the Note WizFi360 SoftAP, and of the Station to which WizFi360 is connected, are WizFi360 User Manual...
10.2.2.17. AT+CIPSTA Sets the Current IP Address of the WizFi360 Station AT+CIPSTA? AT+CIPSTA=<ip>[,<gateway>,<netmask>] Commands +CIPSTA:<ip> +CIPSTA:<gateway> Response +CIPSTA:<netmask> Notice˖ • <ip>˖string parameter, he IP address of the Only when the WizFi360 WizFi360 Station Station is connected to an Parameters •...
- If DHCP is enabled, static IP will be disabled; - Whether it is DHCP or static IP that is enabled depends on the last configuration AT+CIPSTA_DEF=”192.168.10.100”,”192.168.10.1”,”255.255.255.0” Example 10.2.2.20. AT+CIPAP Sets the IP Address of the WizFi360 SoftAP Commands AT+CIPAP? AT+CIPAP=<ip>[,<gateway>, <netmask>] +CIPAP:<ip> +CIPAP:<gateway>...
Page 35
Configuration Not Saved in the Flash Commands AT+CIPAP_CUR? AT+CIPAP_CUR=<ip>[,<gateway>,<netmask>] +CIPAP_CUR˖<ip> +CIPAP_CUR˖<gateway> Response +CIPAP_CUR˖<netmask> • <ip>: string parameter, the IP address of the WizFi360 SoftAP. • [<gateway>]: gateway. Parameters • [<netmask>]: netmask. • The configuration changes will not be saved in the flash •...
Page 36
The configuration changes will NOT be saved in the flash. • The MAC address of WizFi360 SoftAP is different from that of the WizFi360 Station. Please make sure that you do not set the same MAC address for both of Notes them.
<mac>˖string parameter, MAC address of the WizFi360 Station Parameters • The MAC address of WizFi360 SoftAP is different from that of the WizFi360 Station. Please make sure that you do not set the same MAC address for both of them.
10.2.2.27. AT+CWAUTOCONN Auto-Connects to the AP or Not AT+ CWAUTOCONN Command Response <enable>˖ -0: does NOT auto-connect to AP on power-up. Parameters -1: connects to AP automatically on power-up. The WizFi360 Station connects to the AP automatically on power-up by default AT+CWAUTOCONN=0 Example WizFi360 User Manual...
Configures the multiple connections mode AT+CIPSERVER Deletes/Creates a TCP server AT+CIPMODE Configures the transmission mode AT+CIPSTO Sets timeout when WizFi360 runs as TCP server AT+PING Ping AT+CIUPDATE Upgrades the software through network AT+CIPDINFO Shows remote IP and remote port with +IPD...
<remoteIP>: string parameter indicating the remote IP address. • <remote port>˖remote port number. • [<UDP local port>]: optional; UDP port of WizFi360. Parameters • [<UDP mode>]: optional. In the UDP transparent transmission, the value of this parameter has to be 0.
AT command. • When sending \0, please send it as \\0. 10.3.2.5. AT+CIPCLOSE Closes the TCP/UDP Connection AT+CIPCLOSE=<link ID> AT+CIPCLOSE Commands Response <linkID>: ID of the connection to be Parameters closed. When ID is 5, all connections WizFi360 User Manual...
Execute AT+CIFSR Command +CIFSR:APIP,<SoftAP IP address> +CIFSR:APMAC,<SoftAP MAC address> +CIFSR:STAIP,<Station IP address> Response +CIFSR:STAMAC,<Station MAC address> <IP address> WizFi360 SoftAP ip address WizFi360 Station ip address Parameters <MAC address> WizFi360 SoftAP mac address WizFi360 Station mac address • ᐕ ᔿ...
The configuration changes will NOT be saved in flash. • During the UART-Wi-Fi passthrough transmission, if the TCP connection breaks, WizFi360 will keep trying to reconnect until +++ is input to exit the Notes transmission. If it is a normal TCP transmission and the TCP connection breaks, WizFi360 will give a prompt and will not attempt to reconnectDŽ...
• WizFi360 configured as a TCP server will disconnect from the TCP client that does not communicate with it until timeout. Notes • If AT+CIPSTO=0, the connection will never time out. This configuration is not recommended AT+CIPMUX=1 AT+CIPSERVER=1,1001 Example AT+CIPSTO=10 10.3.2.11.
+CIPSNTPTIME:<time> Response <time>˖SNTP time For example˖ Parameters +CIPSNTPTIME:Wed Sep 19 17:58:34 2018 AT+CWMODE=1 // set as station mode AT+CWJAP=”WIZnet”,”wiznet2018” // connect to router,accessthe internet Example AT+CIPSNTPTIME? // get time 10.3.2.17. AT+CIPDNS_CUR Sets User-defined DNS Servers; Configuration Not WizFi360 User Manual...
Page 47
Note • For command: AT+CIPDNS_DEF=1 (enable to use user-defined DNS servers, but the <DNS server> parameters are not set), servers "208.67.222.222" will be used as DNS server by default. WizFi360 User Manual...
Page 48
AT+CIPDNS_DEF=1ˈ"8.8.8.8" Example WizFi360 User Manual...
Page 49
ATE0\r\n \\ Echo Off OK\r\n AT+CWMODE=1\r\n \\ Set WizFi360 to station OK\r\n AT+CWDHCP=0,1\r\n \\Set WizFi360 to station and open DHCP OK\r\n AT+CWJAP=”wiznetsz”,”wiznetsz”\r\n \\ Connects to an AP OK\r\n 12. &RQWDFW XV WIZnet H.K. Ltd. Address: Room 511, Enterprise Plaza, 5 West Science and Technology Avenue, Hong Kong Science Park, Shatin,...
Page 50
Single Module FCC Statement This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
Need help?
Do you have a question about the WizFi360 and is the answer not in the manual?
Questions and answers