【更新】更新readme和修改log_tag
This commit is contained in:
parent
8fb73799fc
commit
9a1aedf0c1
|
@ -13,6 +13,7 @@ AT device 软件包是由 RT-Thread AT 组件针对不同 AT 设备的移植文
|
|||
| sample | 不同设备示例文件目录 |
|
||||
| class | 不同设备针对 AT 组件的移植适配目录 |
|
||||
| class/esp8266 | ESP8266 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
|
||||
| class/esp32 | ESP32 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
|
||||
| class/rw007 | RW007 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
|
||||
| class/sim800c | SIM800C 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
|
||||
| class/sim76xx | SIM76XX 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
|
||||
|
@ -109,6 +110,13 @@ RT-Thread online packages --->
|
|||
- **WIFI password**:配置该示例设备连接的 WIFI 密码;
|
||||
- **AT client device name**:配置该示例设备使用的串口设备名称;
|
||||
- **The maximum length of receive line buffer**:配置该示例设备最大一行接收的数据长度;
|
||||
- **Espressif ESP32**:开启 ESP32 (WIFI 模块)设备支持;
|
||||
- **Enable initialize by thread**:开启使用线程进行设备初始化功能(非阻塞模式初始化);
|
||||
- **Enable sample**:开启示例代码,该示例代码中有对示例设备的注册;
|
||||
- **WIFI ssid**:配置该示例设备连接的 WIFI 用户名;
|
||||
- **WIFI password**:配置该示例设备连接的 WIFI 密码;
|
||||
- **AT client device name**:配置该示例设备使用的串口设备名称;
|
||||
- **The maximum length of receive line buffer**:配置该示例设备最大一行接收的数据长度;
|
||||
- **Realthread RW007**:开启 RW007 (WIFI 模块)设备支持;
|
||||
- **SIMCom SIM800C**:开启 SIM800C (2G 模块)设备支持;
|
||||
- **SIMCom SIM76XX**:开启 SIM76XX (4G 模块)设备支持;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <at_device_esp32.h>
|
||||
|
||||
#define LOG_TAG "at.dev.esp"
|
||||
#define LOG_TAG "at.dev.esp32"
|
||||
|
||||
#include <at_log.h>
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <at_device_esp32.h>
|
||||
|
||||
#define LOG_TAG "at.skt.esp"
|
||||
#define LOG_TAG "at.skt.esp32"
|
||||
#include <at_log.h>
|
||||
|
||||
#if defined(AT_DEVICE_USING_ESP32) && defined(AT_USING_SOCKET)
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#define LOG_TAG "at.sample.esp"
|
||||
#include <at_log.h>
|
||||
|
||||
#define ESP32_SAMPLE_DEIVCE_NAME "esp0"
|
||||
#define ESP32_SAMPLE_DEIVCE_NAME "esp32"
|
||||
|
||||
static struct at_device_esp32 esp0 =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue