Hi
Im using "AT+HTTPCPOST" but it returns with "ERROR". How can i check what error code it is?
is there a "AT+????" API to get the error code?
Read Error Code from HTTP Post after "ERROR" feedback
Re: Read Error Code from HTTP Post after "ERROR" feedback
Can you provide the version information of the firmware with the AT+GMR (https://docs.espressif.com/projects/esp ... nformation) command? And you can query whether the current version supports the AT+HTTPCPOST command through the AT+CMD? (https://docs.espressif.com/projects/esp ... t-firmware) command. You can also use AT+SYSLOG=1 (https://docs.espressif.com/projects/esp ... ode-prompt) to enable error code prompts
Re: Read Error Code from HTTP Post after "ERROR" feedback
AT version:2.3.0.0-dev(s-fdd2ef7 - ESP32C3 - Nov 19 2021 07:49:55) SDK version:v4.3.1-480-g233dc30fb1 compile time(2b307bb):Dec 9 2021 15:46:09 Bin version:2.2.0(MINI-1)
I have the syslog enabled but still, there is no ERROR output other than the message "ERROR"
I have the syslog enabled but still, there is no ERROR output other than the message "ERROR"
Re: Read Error Code from HTTP Post after "ERROR" feedback
+CMD:1,"ATE0",0,0,0,1
+CMD:2,"ATE1",0,0,0,1
+CMD:3,"AT+RST",0,0,0,1
+CMD:4,"AT+GMR",0,0,0,1
+CMD:5,"AT+CMD",0,1,0,0
+CMD:6,"AT+GSLP",0,0,1,0
+CMD:7,"AT+SYSTIMESTAMP",0,1,1,0
+CMD:8,"AT+SLEEP",0,1,1,0
+CMD:9,"AT+RESTORE",0,0,0,1
+CMD:10,"AT+SYSRAM",0,1,0,0
+CMD:11,"AT+SYSFLASH",0,1,1,0
+CMD:12,"AT+RFPOWER",0,1,1,0
+CMD:13,"AT+SYSMSG",0,1,1,0
+CMD:14,"AT+SYSROLLBACK",0,0,0,1
+CMD:15,"AT+SYSLOG",0,1,1,0
+CMD:16,"AT+SYSSTORE",0,1,1,0
+CMD:17,"AT+SLEEPWKCFG",0,0,1,0
+CMD:18,"AT+SYSREG",0,0,1,0
+CMD:19,"AT+SYSTEMP",0,1,0,0
+CMD:20,"AT+USERRAM",0,1,1,0
+CMD:21,"AT+USEROTA",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MODE",0,1,1,0
+CMD:60,"AT+CIPRECVDATA",0,0,1,0
+CMD:61,"AT+CIPRECVLEN",0,1,0,0
+CMD:62,"AT+CIPSERVER",0,1,1,0
+CMD:63,"AT+CIPSERVERMAXCONN",0,1,1,0
+CMD:64,"AT+CIPSSLCCONF",0,1,1,0
+CMD:65,"AT+CIPSSLCCN",0,1,1,0
+CMD:66,"AT+CIPSSLCSNI",0,1,1,0
+CMD:67,"AT+CIPSSLCALPN",0,1,1,0
+CMD:68,"AT+CIPSSLCPSK",0,1,1,0
+CMD:69,"AT+CIPMODE",0,1,1,0
+CMD:70,"AT+CIPSTO",0,1,1,0
+CMD:71,"AT+SAVETRANSLINK",0,0,1,0
+CMD:72,"AT+CIPSNTPCFG",0,1,1,0
+CMD:73,"AT+CIPSNTPINTV",0,1,1,0
+CMD:74,"AT+CIPSNTPTIME",0,1,0,0
+CMD:75,"AT+CIPRECONNINTV",0,1,1,0
+CMD:76,"AT+MQTTUSERCFG",0,0,1,0
+CMD:77,"AT+MQTTCLIENTID",0,0,1,0
+CMD:78,"AT+MQTTUSERNAME",0,0,1,0
+CMD:79,"AT+MQTTPASSWORD",0,0,1,0
+CMD:80,"AT+MQTTCONNCFG",0,0,1,0
+CMD:81,"AT+MQTTALPN",0,0,1,0
+CMD:82,"AT+MQTTCONN",0,1,1,0
+CMD:83,"AT+MQTTPUB",0,0,1,0
+CMD:84,"AT+MQTTPUBRAW",0,0,1,0
+CMD:85,"AT+MQTTSUB",0,1,1,0
+CMD:86,"AT+MQTTUNSUB",0,0,1,0
+CMD:87,"AT+MQTTCLEAN",0,0,1,0
+CMD:88,"AT+HTTPCLIENT",0,0,1,0
+CMD:89,"AT+HTTPGETSIZE",0,0,1,0
+CMD:90,"AT+HTTPURLCFG",0,1,1,0
+CMD:91,"AT+HTTPCGET",0,0,1,0
+CMD:92,"AT+HTTPCPOST",0,0,1,0
+CMD:93,"AT+MDNS",0,0,1,0
+CMD:94,"AT+WPS",0,0,1,0
+CMD:95,"AT+DRVADC",0,0,1,0
+CMD:96,"AT+DRVPWMINIT",0,0,1,0
+CMD:97,"AT+DRVPWMDUTY",0,0,1,0
+CMD:98,"AT+DRVPWMFADE",0,0,1,0
+CMD:99,"AT+DRVI2CINIT",0,0,1,0
+CMD:100,"AT+DRVI2CRD",0,0,1,0
+CMD:101,"AT+DRVI2CWRDATA",0,0,1,0
+CMD:102,"AT+DRVI2CWRBYTES",0,0,1,0
+CMD:103,"AT+DRVSPICONFGPIO",0,0,1,0
+CMD:104,"AT+DRVSPIINIT",0,0,1,0
+CMD:105,"AT+DRVSPIRD",0,0,1,0
+CMD:106,"AT+DRVSPIWR",0,0,1,0
+CMD:107,"AT+CWSTARTSMART",0,0,1,1
+CMD:108,"AT+CWSTOPSMART",0,0,0,1
+CMD:109,"AT+PING",0,0,1,0
+CMD:110,"AT+FS",0,0,1,0
+CMD:111,"AT+CWJEAP",0,1,1,0
+CMD:112,"AT+CIUPDATE",0,1,1,1
+CMD:113,"AT+FACTPLCP",0,0,1,0
+CMD:2,"ATE1",0,0,0,1
+CMD:3,"AT+RST",0,0,0,1
+CMD:4,"AT+GMR",0,0,0,1
+CMD:5,"AT+CMD",0,1,0,0
+CMD:6,"AT+GSLP",0,0,1,0
+CMD:7,"AT+SYSTIMESTAMP",0,1,1,0
+CMD:8,"AT+SLEEP",0,1,1,0
+CMD:9,"AT+RESTORE",0,0,0,1
+CMD:10,"AT+SYSRAM",0,1,0,0
+CMD:11,"AT+SYSFLASH",0,1,1,0
+CMD:12,"AT+RFPOWER",0,1,1,0
+CMD:13,"AT+SYSMSG",0,1,1,0
+CMD:14,"AT+SYSROLLBACK",0,0,0,1
+CMD:15,"AT+SYSLOG",0,1,1,0
+CMD:16,"AT+SYSSTORE",0,1,1,0
+CMD:17,"AT+SLEEPWKCFG",0,0,1,0
+CMD:18,"AT+SYSREG",0,0,1,0
+CMD:19,"AT+SYSTEMP",0,1,0,0
+CMD:20,"AT+USERRAM",0,1,1,0
+CMD:21,"AT+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CIPRECVMODE",0,1,1,0
+CMD:60,"AT+CIPRECVDATA",0,0,1,0
+CMD:61,"AT+CIPRECVLEN",0,1,0,0
+CMD:62,"AT+CIPSERVER",0,1,1,0
+CMD:63,"AT+CIPSERVERMAXCONN",0,1,1,0
+CMD:64,"AT+CIPSSLCCONF",0,1,1,0
+CMD:65,"AT+CIPSSLCCN",0,1,1,0
+CMD:66,"AT+CIPSSLCSNI",0,1,1,0
+CMD:67,"AT+CIPSSLCALPN",0,1,1,0
+CMD:68,"AT+CIPSSLCPSK",0,1,1,0
+CMD:69,"AT+CIPMODE",0,1,1,0
+CMD:70,"AT+CIPSTO",0,1,1,0
+CMD:71,"AT+SAVETRANSLINK",0,0,1,0
+CMD:72,"AT+CIPSNTPCFG",0,1,1,0
+CMD:73,"AT+CIPSNTPINTV",0,1,1,0
+CMD:74,"AT+CIPSNTPTIME",0,1,0,0
+CMD:75,"AT+CIPRECONNINTV",0,1,1,0
+CMD:76,"AT+MQTTUSERCFG",0,0,1,0
+CMD:77,"AT+MQTTCLIENTID",0,0,1,0
+CMD:78,"AT+MQTTUSERNAME",0,0,1,0
+CMD:79,"AT+MQTTPASSWORD",0,0,1,0
+CMD:80,"AT+MQTTCONNCFG",0,0,1,0
+CMD:81,"AT+MQTTALPN",0,0,1,0
+CMD:82,"AT+MQTTCONN",0,1,1,0
+CMD:83,"AT+MQTTPUB",0,0,1,0
+CMD:84,"AT+MQTTPUBRAW",0,0,1,0
+CMD:85,"AT+MQTTSUB",0,1,1,0
+CMD:86,"AT+MQTTUNSUB",0,0,1,0
+CMD:87,"AT+MQTTCLEAN",0,0,1,0
+CMD:88,"AT+HTTPCLIENT",0,0,1,0
+CMD:89,"AT+HTTPGETSIZE",0,0,1,0
+CMD:90,"AT+HTTPURLCFG",0,1,1,0
+CMD:91,"AT+HTTPCGET",0,0,1,0
+CMD:92,"AT+HTTPCPOST",0,0,1,0
+CMD:93,"AT+MDNS",0,0,1,0
+CMD:94,"AT+WPS",0,0,1,0
+CMD:95,"AT+DRVADC",0,0,1,0
+CMD:96,"AT+DRVPWMINIT",0,0,1,0
+CMD:97,"AT+DRVPWMDUTY",0,0,1,0
+CMD:98,"AT+DRVPWMFADE",0,0,1,0
+CMD:99,"AT+DRVI2CINIT",0,0,1,0
+CMD:100,"AT+DRVI2CRD",0,0,1,0
+CMD:101,"AT+DRVI2CWRDATA",0,0,1,0
+CMD:102,"AT+DRVI2CWRBYTES",0,0,1,0
+CMD:103,"AT+DRVSPICONFGPIO",0,0,1,0
+CMD:104,"AT+DRVSPIINIT",0,0,1,0
+CMD:105,"AT+DRVSPIRD",0,0,1,0
+CMD:106,"AT+DRVSPIWR",0,0,1,0
+CMD:107,"AT+CWSTARTSMART",0,0,1,1
+CMD:108,"AT+CWSTOPSMART",0,0,0,1
+CMD:109,"AT+PING",0,0,1,0
+CMD:110,"AT+FS",0,0,1,0
+CMD:111,"AT+CWJEAP",0,1,1,0
+CMD:112,"AT+CIUPDATE",0,1,1,1
+CMD:113,"AT+FACTPLCP",0,0,1,0
Re: Read Error Code from HTTP Post after "ERROR" feedback
I just switched to this branch to test, the AT+HTTPCPOST command can work, if possible, you can provide the sequence of your AT+HTTPCPOST command
Who is online
Users browsing this forum: No registered users and 6 guests