AT+HTTPCPOST报error

Moderator: ESP_XCGuang

Purplevine
Posts: 3
Joined: Fri Aug 26, 2022 3:21 am

AT+HTTPCPOST报error

Postby Purplevine » Fri Aug 26, 2022 5:37 am

我在使用ESP32-wroom-32ue模组开发时,发送AT+HTTPCPOST指令总是报error,为了确保我的格式正确,我使用了官方文档提供的例程,发送了AT指令:AT+HTTPCPOST="http://httpbin.org/post",427,2,"connection: keep-alive","content-type: application/json"
回复仍然是error,在此之前,我已经测试通过了AT+HTTPCLIENT指令,但是这条指令始终无法正常回复,我想知道原因,有类似情况吗?
我使用的AT固件版本是:
AT version:2.1.0.0(883f7f2 - Jul 24 2020 11:50:07)
SDK version:v4.0.1-193-ge7ac221
compile time(0ad6331):Jul 28 2020 02:47:21
Bin version:2.1.0(WROOM-32)

(PS:第一个帖子好像没发出去,重新写了一遍)

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: AT+HTTPCPOST报error

Postby ESP_Sun » Tue Aug 30, 2022 2:41 am

v2.1 版本并不支持 HTTPCPOST 命令, HTTPCPOST 命令是从 v2.2 版本开始支持的,详情请参阅:https://github.com/espressif/esp-at/releases
ESPAT 固件下载链接:https://docs.espressif.com/projects/esp ... index.html

Purplevine
Posts: 3
Joined: Fri Aug 26, 2022 3:21 am

Re: AT+HTTPCPOST报error

Postby Purplevine » Wed Aug 31, 2022 1:17 am

收到,明白了,感谢

Who is online

Users browsing this forum: No registered users and 18 guests