From 9a1aedf0c15ec2e44cee23d89dc7535f5646522f Mon Sep 17 00:00:00 2001 From: zylx <1346773219@qq.com> Date: Sat, 26 Oct 2019 16:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E6=9B=B4?= =?UTF-8?q?=E6=96=B0readme=E5=92=8C=E4=BF=AE=E6=94=B9log=5Ftag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ class/esp32/at_device_esp32.c | 2 +- class/esp32/at_socket_esp32.c | 2 +- samples/at_sample_esp32.c | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 68888db..31b1cc3 100644 --- a/README.md +++ b/README.md @@ -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 模块)设备支持; diff --git a/class/esp32/at_device_esp32.c b/class/esp32/at_device_esp32.c index 2318b92..f0a23f2 100644 --- a/class/esp32/at_device_esp32.c +++ b/class/esp32/at_device_esp32.c @@ -27,7 +27,7 @@ #include -#define LOG_TAG "at.dev.esp" +#define LOG_TAG "at.dev.esp32" #include diff --git a/class/esp32/at_socket_esp32.c b/class/esp32/at_socket_esp32.c index 457fb86..16daad3 100644 --- a/class/esp32/at_socket_esp32.c +++ b/class/esp32/at_socket_esp32.c @@ -28,7 +28,7 @@ #include -#define LOG_TAG "at.skt.esp" +#define LOG_TAG "at.skt.esp32" #include #if defined(AT_DEVICE_USING_ESP32) && defined(AT_USING_SOCKET) diff --git a/samples/at_sample_esp32.c b/samples/at_sample_esp32.c index a12dcf1..d246cc3 100644 --- a/samples/at_sample_esp32.c +++ b/samples/at_sample_esp32.c @@ -27,7 +27,7 @@ #define LOG_TAG "at.sample.esp" #include -#define ESP32_SAMPLE_DEIVCE_NAME "esp0" +#define ESP32_SAMPLE_DEIVCE_NAME "esp32" static struct at_device_esp32 esp0 = {