======================== AT Commands Introduction ======================== This article introduces the Bouffalo Labs AT command set and usage. The command set includes: basic AT commands, Wi-Fi function AT commands, TCP/IP toolbox AT commands, and BLE related AT commands. .. table:: Command Types +------------+---------------+------------------------------------------+ | Type | Format | Description | +============+===============+==========================================+ | Read | AT+? | Get current value of command parameters | +------------+---------------+------------------------------------------+ | Set | AT+=<ยทยทยท> | Set value of command parameters | +------------+---------------+------------------------------------------+ | Execute | AT+ | Execute a command | +------------+---------------+------------------------------------------+ ================== Basic AT Commands ================== Overview ================= .. table:: Command List +----------------------+------------------------------------------+ | Command | Description | +======================+==========================================+ | `AT+UART`_ | Set UART configuration | +----------------------+------------------------------------------+ | `AT+GMR`_ | View version information | +----------------------+------------------------------------------+ | `AT+S.HELP`_ | View AT help | +----------------------+------------------------------------------+ | `AT+RST`_ | Restart the module | +----------------------+------------------------------------------+ | `AT+RESTORE`_ | Reset | +----------------------+------------------------------------------+ | `AT+GSLP`_ | Enter deep-sleep | +----------------------+------------------------------------------+ Description =================== AT+UART --------- +----------+--------------------------------------------------------------------+------------------------------------------------------------------+ | Commands | Read Command | Set Command | + + + + | | AT+UART? | AT+UART=,,,, | +----------+--------------------------------------------------------------------+------------------------------------------------------------------+ | Response | +UART_CUR:,,,, | OK | + + + + | | OK | | +----------+--------------------------------------------------------------------+------------------------------------------------------------------+ |Parameters| - : UART baud rate | + + + | | - : number of data bits | + + + | | * 5: 5-bit | + + + | | * 6: 6-bit | + + + | | * 7: 7-bit | + + + | | * 8: 8-bit | + + + | | - : number of stop bits | + + + | | * 1: 1-bit | + + + | | * 2: 1.5-bit | + + + | | * 3: 2-bit | + + + | | - : | + + + | | * 0: None | + + + | | * 1: Odd | + + + | | * 2: Even | + + + | | - : | + + + | | * 0: Disabled | + + + | | * 1: Enable RTS | + + + | | * 2: Enable CTS | + + + | | * 3: Enable RTS & CTS | +----------+---------------------------------------------------------------------------------------------------------------------------------------+ AT+GMR ---------- +----------------------+-----------------------------------------------------------------+ | Command | AT+GMR | +----------------------+-----------------------------------------------------------------+ | Response | | + + + | | | + + + | | | + + + | | OK | +----------------------+-----------------------------------------------------------------+ AT+RST --------- +----------------------+--------------+ | Command | AT+RST | +----------------------+--------------+ | Response | OK | +----------------------+--------------+ AT+RESTORE ------------ +----------------------+--------------+ | Command | AT+RESTORE | +----------------------+--------------+ | Response | OK | +----------------------+--------------+ AT+S.HELP ------------ +----------------------+--------------+ | Command | AT+S.HELP | +----------------------+--------------+ | Response | OK | +----------------------+--------------+ AT+GSLP ----------- +----------+-------------------------------------------------------------------------------+ | Command | AT+GSLP=