mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-28 17:21:31 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
54
Living_SDK/include/hal/atcmd.h
Normal file
54
Living_SDK/include/hal/atcmd.h
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef _ATCMD_H_
|
||||
#define _ATCMD_H_
|
||||
|
||||
/**
|
||||
* AT related platform-dependent definituons are here, including:
|
||||
* 1. AT command;
|
||||
* 2. AT response code;
|
||||
* 3. AT delimiter;
|
||||
* 4. AT event;
|
||||
* 5. Uart port used by AT;
|
||||
* 6. ...
|
||||
*/
|
||||
|
||||
/**
|
||||
* You will need to define below things in your platform header,
|
||||
* which is to be included by this file.
|
||||
*
|
||||
* -------------------------------------------------------------
|
||||
* AT commands (mk3060 as example):
|
||||
* #define AT_CMD_ENET_SEND "AT+ENETRAWSEND"
|
||||
* #define AT_CMD_ENTER_ENET_MODE "AT+ENETRAWMODE=ON"
|
||||
* #define AT_CMD_TEST "AT"
|
||||
* #define AT_CMD_CONNECT_AP "AT+WJAP"
|
||||
* #define AT_CMD_OBTAIN_MAC "AT+WMAC?"
|
||||
* #define AT_CMD_OBTAIN_IP "AT+WJAPIP?"
|
||||
* #define AT_CMD_EHCO_OFF "AT+UARTE=OFF"
|
||||
*
|
||||
* AT response:
|
||||
* #define AT_RSP_SUCCESS "OK"
|
||||
* #define AT_RSP_FAIL "ERROR"
|
||||
*
|
||||
* Delimiter:
|
||||
* #define AT_RECV_DELIMITER "\r\n"
|
||||
* #define AT_SEND_DELIMITER "\r"
|
||||
*
|
||||
* AT events:
|
||||
* #define AT_EVENT_GOT_IP "+WEVENT:STATION_UP\r\n"
|
||||
*
|
||||
* AT uart:
|
||||
* #define AT_UART_PORT 1
|
||||
* #define AT_UART_LINUX_DEV "/dev/ttyUSB1"
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifdef AOS_ATCMD
|
||||
#include <atcmd_config_platform.h>
|
||||
#include <atcmd_config_module.h>
|
||||
#endif
|
||||
|
||||
#endif // #ifndef _ATCMD_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue