移远官网

EG25G使用HTTPS 来连接服务器时问题

在根据文档《Quectel_EC2x&EG9x&EM05_HTTP(S)_AT_Commands_Manual_V1.0》来配置EG25G,用https 来连接服务器时,按照步骤到AT+QHTTPPOST=48,80,80 的时候,模组返回的是+CME ERROR: 730 (查文档说是无效指令)。之后便无法继续下去。求解答。附上操作流程:

[16:04:00.993]收←◆
RDY

[16:04:11.463]发→◇AT+QHTTPCFG=“contextid”,1

[16:04:11.470]收←◆AT+QHTTPCFG=“contextid”,1
OK

[16:04:12.400]发→◇AT+QIACT?

[16:04:12.405]收←◆AT+QIACT?
OK

[16:04:13.376]发→◇AT+QICSGP=1,1,“CMNET”,"" ,"" ,1

[16:04:13.382]收←◆AT+QICSGP=1,1,“CMNET”,"" ,"" ,1
OK

[16:04:14.649]发→◇AT+QIACT=1

[16:04:14.652]收←◆AT+QIACT=1
OK

[16:04:16.583]发→◇AT+QIACT?

[16:04:16.588]收←◆AT+QIACT?
+QIACT: 1,1,1,“10.13.144.0”

OK

[16:04:17.848]发→◇AT+QHTTPCFG=“sslctxid”,1

[16:04:17.854]收←◆AT+QHTTPCFG=“sslctxid”,1
OK

[16:04:19.000]发→◇AT+QSSLCFG=“sslversion”,1,1

[16:04:19.006]收←◆AT+QSSLCFG=“sslversion”,1,1
OK

[16:04:19.935]发→◇AT+QSSLCFG=“ciphersuite”,1,0x0005

[16:04:19.942]收←◆AT+QSSLCFG=“ciphersuite”,1,0x0005
OK

[16:04:21.128]发→◇AT+QSSLCFG=“seclevel”,1,2

[16:04:21.135]收←◆AT+QSSLCFG=“seclevel”,1,2
OK

[16:04:22.336]发→◇AT+QSSLCFG=“cacert”,1,“RAM:cacert.pem”

[16:04:22.344]收←◆AT+QSSLCFG=“cacert”,1,“RAM:cacert.pem”
OK

[16:04:23.287]发→◇AT+QSSLCFG=“clientcert”,1,“RAM:clientcert.pem”

[16:04:23.295]收←◆AT+QSSLCFG=“clientcert”,1,“RAM:clientcert.pem”
OK

[16:04:25.265]发→◇AT+QSSLCFG=“clientkey”,1,“RAM:clientkey.pem”

[16:04:25.271]收←◆AT+QSSLCFG=“clientkey”,1,“RAM:clientkey.pem”
OK

[16:04:26.624]发→◇AT+QHTTPURL=38,90

[16:04:26.630]收←◆AT+QHTTPURL=38,90
CONNECT

[16:04:28.064]发→◇https://tools.capsulcn.com/machine/iot

[16:04:28.072]收←◆
OK

[16:04:29.791]发→◇AT+QHTTPPOST=40,52,52

[16:04:29.797]收←◆AT+QHTTPPOST=40,52,52
[16:04:30.551]收←◆
+CME ERROR: 730

感谢您使用移远论坛提问。
关于您的问题,请先确认下你使用的URL地址是否支持post? 可以尝试更换个URL测试确认下。关于命令本身的参数,您也可以尝试修改下测试确认下。谢谢!