Post by jack on Nov 1, 2022 15:09:54 GMT
Hello!
I am working on a project using the SIM7000A board where I will be POSTing an image to a web server. Unfortunately I am having some issues with the POST functionality provided in the library. As far as I can tell it is failing at this line:
Note that I have already tried updating the timeout to be a larger value. The library seems to fail here for me for both POSTing in the code I have written as well as in the provided LTE_demo. I have tried both my personal web server and the suggested one httpbin.org/post.
Here is the output of the commands as asked for in the FAQ section on GitHub.
Please let me know if I am doing something wrong or if you need anymore information.
Thanks!
I am working on a project using the SIM7000A board where I will be POSTing an image to a web server. Unfortunately I am having some issues with the POST functionality provided in the library. As far as I can tell it is failing at this line:
if (! sendCheckReply(dataBuff, "DOWNLOAD", 120000))
Note that I have already tried updating the timeout to be a larger value. The library seems to fail here for me for both POSTing in the code I have written as well as in the provided LTE_demo. I have tried both my personal web server and the suggested one httpbin.org/post.
Here is the output of the commands as asked for in the FAQ section on GitHub.
09:26:23.394 -> FONA> D
09:26:28.113 -> Starting DEBUG
09:26:28.146 -> ---> ATI
09:26:28.178 -> <--- SIM7000A R1351
09:26:28.210 -> ---> AT+CGMR
09:26:28.274 -> <--- Revision:1351B03SIM7000A
09:26:28.306 -> ---> AT+CREG?
09:26:28.338 -> <--- +CREG: 0,5
09:26:28.402 -> ---> AT+CFUN?
09:26:28.402 -> <--- +CFUN: 1
09:26:28.467 -> ---> AT+CPIN?
09:26:28.500 -> <--- +CPIN: READY
09:26:28.533 -> ---> AT+COPS?
09:26:28.596 -> <--- +COPS: 0,0,"AT&T Hologram",7
09:26:28.629 -> ---> AT+CSQ
09:26:28.661 -> <--- +CSQ: 25,99
09:26:28.727 -> ---> AT+COPS=?
09:26:34.866 -> <--- +COPS: (1,"311 490","311 490","311490",7),(2,"AT&T","AT&T","310410",7),(1,"Verizon","Verizon","311480",7),(1,"313 100","313 100","313100",7),(1,"T-Mobile","T-Mobile","310260",7),,(0,1,2,3,4),(0,1,2)
09:26:35.093 ->
09:26:35.093 -> OK
09:26:35.093 -> FONA>
09:26:28.113 -> Starting DEBUG
09:26:28.146 -> ---> ATI
09:26:28.178 -> <--- SIM7000A R1351
09:26:28.210 -> ---> AT+CGMR
09:26:28.274 -> <--- Revision:1351B03SIM7000A
09:26:28.306 -> ---> AT+CREG?
09:26:28.338 -> <--- +CREG: 0,5
09:26:28.402 -> ---> AT+CFUN?
09:26:28.402 -> <--- +CFUN: 1
09:26:28.467 -> ---> AT+CPIN?
09:26:28.500 -> <--- +CPIN: READY
09:26:28.533 -> ---> AT+COPS?
09:26:28.596 -> <--- +COPS: 0,0,"AT&T Hologram",7
09:26:28.629 -> ---> AT+CSQ
09:26:28.661 -> <--- +CSQ: 25,99
09:26:28.727 -> ---> AT+COPS=?
09:26:34.866 -> <--- +COPS: (1,"311 490","311 490","311490",7),(2,"AT&T","AT&T","310410",7),(1,"Verizon","Verizon","311480",7),(1,"313 100","313 100","313100",7),(1,"T-Mobile","T-Mobile","310260",7),,(0,1,2,3,4),(0,1,2)
09:26:35.093 ->
09:26:35.093 -> OK
09:26:35.093 -> FONA>
Please let me know if I am doing something wrong or if you need anymore information.
Thanks!