gpt4 book ai didi

http - 发送第二个 POST 时 SIM900 错误 601

转载 作者:可可西里 更新时间:2023-11-01 16:55:49 25 4
gpt4 key购买 nike

使用 SIM 900:

AT+HTTPINIT

AT+HTTPPARA="CID",1

AT+HTTPPARA="URL","www.onewebsite.fr"

AT+HTTPDATA=lengthofpostdata, 10000

发送数据

AT+HTTPACTION=1

AT_HTTPREAD=0, lengthofreceiveddata

到目前为止一切正常

然后我发送一个新请求:

AT+HTTPPARA="CID",1

AT+HTTPPARA="URL","www.onewebsite.fr"

AT+HTTPDATA=lengthofpostdata, 10000

发送数据

AT+HTTPACTION=1

然后我收到消息: +HTTPACTION=1,601,0

有什么想法吗?

最佳答案

601 是一些自定义实现的错误代码,例如

This is a "magic" status code that we use to signal that something wrong happened with the request that was so bad that we didn't even got a response back from the server. In this case the request timed out (more than 30 seconds to return any bytes).

source

Here是标准列表 HTTP Status codes

如果您也过于频繁地发送请求,有时您会收到此错误!尝试增加两个请求之间的延迟!


<强>。 +HTTPACTION:0,601,0

The above AT response code (601) for HTTP session start indicates that there is a network error. Then make sure that the PDP context is setup properly.

source

关于http - 发送第二个 POST 时 SIM900 错误 601,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31905565/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com