Skip to content

Commit ce5bfc9

Browse files
authored
Merge pull request #75 from qgyhd1234/esp32
【更新】更新readme和修改log_tag
2 parents 23b253c + 9a1aedf commit ce5bfc9

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ AT device 软件包是由 RT-Thread AT 组件针对不同 AT 设备的移植文
1313
| sample | 不同设备示例文件目录 |
1414
| class | 不同设备针对 AT 组件的移植适配目录 |
1515
| class/esp8266 | ESP8266 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
16+
| class/esp32 | ESP32 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
1617
| class/rw007 | RW007 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
1718
| class/sim800c | SIM800C 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
1819
| class/sim76xx | SIM76XX 设备针对 AT 组件的移植目录,实现 AT Socket 功能 |
@@ -109,6 +110,13 @@ RT-Thread online packages --->
109110
- **WIFI password**:配置该示例设备连接的 WIFI 密码;
110111
- **AT client device name**:配置该示例设备使用的串口设备名称;
111112
- **The maximum length of receive line buffer**:配置该示例设备最大一行接收的数据长度;
113+
- **Espressif ESP32**:开启 ESP32 (WIFI 模块)设备支持;
114+
- **Enable initialize by thread**:开启使用线程进行设备初始化功能(非阻塞模式初始化);
115+
- **Enable sample**:开启示例代码,该示例代码中有对示例设备的注册;
116+
- **WIFI ssid**:配置该示例设备连接的 WIFI 用户名;
117+
- **WIFI password**:配置该示例设备连接的 WIFI 密码;
118+
- **AT client device name**:配置该示例设备使用的串口设备名称;
119+
- **The maximum length of receive line buffer**:配置该示例设备最大一行接收的数据长度;
112120
- **Realthread RW007**:开启 RW007 (WIFI 模块)设备支持;
113121
- **SIMCom SIM800C**:开启 SIM800C (2G 模块)设备支持;
114122
- **SIMCom SIM76XX**:开启 SIM76XX (4G 模块)设备支持;

class/esp32/at_device_esp32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include <at_device_esp32.h>
2929

30-
#define LOG_TAG "at.dev.esp"
30+
#define LOG_TAG "at.dev.esp32"
3131

3232
#include <at_log.h>
3333

class/esp32/at_socket_esp32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#include <at_device_esp32.h>
3030

31-
#define LOG_TAG "at.skt.esp"
31+
#define LOG_TAG "at.skt.esp32"
3232
#include <at_log.h>
3333

3434
#if defined(AT_DEVICE_USING_ESP32) && defined(AT_USING_SOCKET)

samples/at_sample_esp32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define LOG_TAG "at.sample.esp"
2828
#include <at_log.h>
2929

30-
#define ESP32_SAMPLE_DEIVCE_NAME "esp0"
30+
#define ESP32_SAMPLE_DEIVCE_NAME "esp32"
3131

3232
static struct at_device_esp32 esp0 =
3333
{

0 commit comments

Comments
 (0)