Assistance Required for Sending Data to ThingSpeak Using SIM7600G-H
Hello,
I am experiencing issues while trying to send data to ThingSpeak using a SIM7600G-H module connected to my Arduino. Despite following the standard procedure, I consistently receive a 400 Bad Request error from the server.
Here is the sequence of AT commands I am using:
AT+CGDCONT=1,"IP","vzwinternet" OK AT+CGATT=1 OK AT+CGACT=1,1 OK
AT+NETOPEN OK +NETOPEN: 0 AT+CIPOPEN=0,"TCP","api.thingspeak.com",80 OK +CIPOPEN: 0,0
POST /update HTTP/1.1rn Host: api.thingspeak.comrn Connection: closern Content-Type: application/x-www-form-urlencodedrn Content-Length: 43rnrn api_key=jejeje&field1=80:30:habierta:apagadorn
<html> <head><title>400 Bad Request</title></head> <body> <center><h1>400 Bad Request</h1></center> </body> </html>
I have verified that the Content-Length is correct and that all the required headers are included.
Could anyone provide insights or suggestions on what might be causing this issue? Any help would be greatly appreciated.
Thank you!Hello,
I am experiencing issues while trying to send data to ThingSpeak using a SIM7600G-H module connected to my Arduino. Despite following the standard procedure, I consistently receive a 400 Bad Request error from the server.
Here is the sequence of AT commands I am using:
AT+CGDCONT=1,"IP","vzwinternet" OK AT+CGATT=1 OK AT+CGACT=1,1 OK
AT+NETOPEN OK +NETOPEN: 0 AT+CIPOPEN=0,"TCP","api.thingspeak.com",80 OK +CIPOPEN: 0,0
POST /update HTTP/1.1rn Host: api.thingspeak.comrn Connection: closern Content-Type: application/x-www-form-urlencodedrn Content-Length: 43rnrn api_key=jejeje&field1=80:30:habierta:apagadorn
<html> <head><title>400 Bad Request</title></head> <body> <center><h1>400 Bad Request</h1></center> </body> </html>
I have verified that the Content-Length is correct and that all the required headers are included.
Could anyone provide insights or suggestions on what might be causing this issue? Any help would be greatly appreciated.
Thank you! Hello,
I am experiencing issues while trying to send data to ThingSpeak using a SIM7600G-H module connected to my Arduino. Despite following the standard procedure, I consistently receive a 400 Bad Request error from the server.
Here is the sequence of AT commands I am using:
AT+CGDCONT=1,"IP","vzwinternet" OK AT+CGATT=1 OK AT+CGACT=1,1 OK
AT+NETOPEN OK +NETOPEN: 0 AT+CIPOPEN=0,"TCP","api.thingspeak.com",80 OK +CIPOPEN: 0,0
POST /update HTTP/1.1rn Host: api.thingspeak.comrn Connection: closern Content-Type: application/x-www-form-urlencodedrn Content-Length: 43rnrn api_key=jejeje&field1=80:30:habierta:apagadorn
<html> <head><title>400 Bad Request</title></head> <body> <center><h1>400 Bad Request</h1></center> </body> </html>
I have verified that the Content-Length is correct and that all the required headers are included.
Could anyone provide insights or suggestions on what might be causing this issue? Any help would be greatly appreciated.
Thank you! thingspeak MATLAB Answers — New Questions