ESP-AT自定义AT指令发送数据长度限制:AT+TEST=1,"espressif"

Moderator: ESP_XCGuang

David.xu
Posts: 6
Joined: Thu Sep 02, 2021 8:52 am

ESP-AT自定义AT指令发送数据长度限制:AT+TEST=1,"espressif"

Postby David.xu » Sat Oct 09, 2021 10:05 am

请教大家一个问题,我现在自定义AT指令,以AT+TEST=1,"espressif"为模板,现在输入数据"espressif"的最大长度只能到234,也就是用esp_at_get_para_as_str(2, (char *)&buf))来获取buf的数据长度只能到234,再大就直接返回error了,请问这个可以调整大小吗,或者别的方法实现这个AT指令?感谢解惑!

ESP_Alson
Posts: 106
Joined: Mon Mar 22, 2021 3:37 am

Re: ESP-AT自定义AT指令发送数据长度限制:AT+TEST=1,"espressif"

Postby ESP_Alson » Tue Oct 12, 2021 11:18 am

您好,单条 AT 命令的长度不能超过 256 字节,具体请参考文档 https://docs.espressif.com/projects/esp ... x.html#id5

Who is online

Users browsing this forum: No registered users and 38 guests