
!
1. Overview
1.
Overview
This document provides AT commands based on ESP8266_NONOS_SDK and explain how to use
them. AT command set is divided into: Basic AT commands, Wi-Fi AT commands, and TCP/IP AT
commands.
1.1. User-Defined AT Commands
Please use only English letters when naming user-defined AT commands. The AT command name
must NOT contain characters or numbers.
AT firmware is based on ESP8266_NONOS_SDK. Espressif Systems’ AT commands are provided in
libat.a
, which is included in the AT BIN firmware. Examples of customized, user-defined AT
commands are provided in
ESP8266_NONOS_SDK/example/at
.
Examples of implementing user-defined AT commands are provided in
/ESP8266_NONOS_SDK/
examples/at/user/user_main.c
. The structure,
at_funcationType
, is used to define four types of a
command, for details of which please refer to the following table.
Definition
Type
Description
at_testCmd
Test
AT Command
AT+TEST=?
Registered Callback In Example
at_testCmdTest
Function Design
Return the value
range of parameters
If at_testCmd is registered as NULL, there will be no testing command.
at_queryCmd
Query
AT Command
AT+TEST?
Registered Callback In Example
at_queryCmdTest
Function Design
Return the current value
If at_queryCmd is registered as NULL, there will be no Query Command.
at_setupCmd
Set
AT Command
AT+TEST=parameter1, parameter2, …
Registered Callback In Example
at_setupCmdTest
Function Design
Set configuration
If at_setupCmd is registered as NULL, there will be no setup command.
at_exeCmd
Execute
AT Command
AT+TEST
Registered Callback In Example
at_exeCmdTest
Function Design
Execute an action
If at_exeCmd is registered as NULL, there will be no execution command.
Espressif
!
/
!
1 58
2017.05