Netconfig AT example

This document mainly describes the operation on the device Wi-Fi AT command set Detailed examples of commands.

Important

  • This network distribution example will have different adaptations for different modules. For specific differences, please check the support of the module instructions in your hand: Firmware iterations and differences

Easy WiFi Config Bluetooth distribution network

  1. APP download /

    On the IOS phone,You can get it by searching for Easy WiFi Config in the App Store

    Android phone apk installation package download:Mobile phone apk installation package

    OTA_APP
  2. Set the Wi-Fi working mode of the module and save it to Flash

command:

AT+WMODE=1,1

Response:

OK
  1. Turn on the bluetooth distribution network

    command:

    AT+WCONFIG=2
    

    Response:

    OK
    
  2. APP operation

    OTA_APP

SmartConfig One-click network configuration

  1. APP download:

    For IOS phones, search for Esptouch in the App Store

Android phone apk installation package download:Mobile phone apk installation package

  1. Set the Wi-Fi working mode of the module and save it to Flash

    Command:

    AT+WMODE=1,1
    

    Response:

    OK
    
  2. Start SmartConfig once

    Command:

    AT+WCONFIG=1
    

    Response:

    OK
    
  3. APP operation

    OTA_APP
  4. After the network configuration is complete, disable the network configuration mode. Otherwise, a large amount of memory is occupied

Command:
AT+WCONFIG=0

Response:

OK

Wechat Airkiss one button network

Airkiss network can be configured using the wechat official account or wechat mini program, without the need to download the App

  1. Set the Wi-Fi working mode of the module and save it to Flash

    Command:

    AT+WMODE=1,1
    

    Response:

    OK
    
  2. Open Airkiss distribution network once

    Command:

      AT+WCONFIG=3
    
    Response:
    
    OK
    

3. Wechat public account distribution network: pay attention to Anxinke Technology wechat public account, Airkiss distribution network interface is located in Application Development > wechat distribution network

OTA_APP
  1. Wechat mini program distribution network: search Anxinke IOT mini program:

    OTA_APP
  2. After the network configuration is complete, disable the network configuration mode. Otherwise, a large amount of memory is occupied

Command:

AT+WCONFIG=0

Response:

OK

Blufi Bluetooth network

blufi can be connected with an app or a small program

  1. APP download :

    For IOS phones, you can search EspBlufi in the App Store

Android phone apk installation package download:Mobile phone apk installation package

Mini program: WeChat search Ai-Thinker IOT small program

  1. Set the Wi-Fi working mode of the module and save it to Flash

    Command:

    AT+WMODE=1,1
    

    Response:

    OK
    
  2. Open a blufi distribution network

    Command:

    AT+WCONFIG=2
    

Response:

OK
  1. app network distribution mode:

    OTA_APP
  2. Mini program distribution network mode:

    OTA_APP
  3. After the network configuration is complete, disable the network configuration mode. Otherwise, a large amount of memory is occupied

    Command:

    AT+WCONFIG=0
    

    Response:

    OK
    

Command distribution network

Target router ssid: AIOT@FAE, password: fae12345678

  1. Set the Wi-Fi working mode of the module and save it to Flash

    Command:

    AT+WMODE=1,1
    

    Response:

    OK
    
  2. Connect to the target router

    Command:

    AT+WJAP="AIOT@FAE","fae12345678"
    

Response:

OK
  1. Set automatic reconnection to WiFi after power-on

    Command:

    AT+WAUTOCONN=1
    

    Response:

    OK
    

If multiple SSIDs and passwords are the same in the same environment, how do I connect to the router with the strongest signal

Target router ssid: AIOT@FAE Password: fae12345678

Scan the target ssid by the command AT+WSCAN=< ssid >

OTA_APP

By scanning, we can know that the strongest signal intensity is -16dBm and bssid is 9c:9d:7e:59:3e:84. AT+WJAP can connect to the router with the strongest signal with the bssid parameter

  1. Set the Wi-Fi working mode of the module and save it to Flash

    Command:

    AT+WMODE=1,1
    

    Response:

    OK
    
  2. Connect to the target router

    Command:

    AT+WJAP="AIOT@FAE","fae12345678","9c:9d:7e:59:3e:84"
    

Response:

OK
  1. Set automatic reconnection to WiFi after power-on

    Command:

    AT+WAUTOCONN=1
    

    Response:

    OK