RT-Thread online packages > IoT - internet of things > AT DEVICE: RT-Thread AT component porting or samples for different device [*] Espressif ESP8266 --->
配置参数
1 2
缓冲区大小可以设置大一点 配置使用 laster 版本软件包;
驱动部分
1 2 3 4 5 6 7 8 9 10 11 12
RT-Thread Components Network Socket abstraction layer protocol stack implement [*]Support AT Commands stack [*]Enable BSD socket operated by the file system API Enable AT commands -*- Enable AT commands client -*- Enable BSD Socket API support by AT commnads # 这里是选择显示at命令日志 [ ] Enable print RAW format AT command communication data (128) The maximum lenght of AT Commonds buffer
如果提示缓冲区不够,可以使用串口调试器(cutecom)先调试 at 指令,很可能是不同的模块里面,在某些非正常时刻,发出太多的 response 导致的,可以看情况修改调用 at_create_resp 函数的地方针对性的修改缓冲区大小
1 2
比如 [E/at.clnt] Read response buffer failed. The Response buffer size is out of buffer size(xxx) 可以在 at.client.c 的 at_create_resp 函数上下断点观察流程,尝试把缓冲区都改大一点