Hello,
I´m trying to send a test value to a HTTP testing server in order to test the BC65 module.
I have already connected the module to the network. I get an IP address and am able to ping IP addresses as well. So, I’m sure this network part is correctly set up.
I’ve noticed that the HTTP-related commands are quite different to other modules’. So, I’m pretty lost here.
This is the script I’m trying to use.
AT+QIOPEN=1,1,“UDP”,“ptsv2.com”,8080,0,1
OK
+QIOPEN: 1,0
AT+QISTATE=1,1
+QISTATE: 1,“UDP”,“216.239.32.21”,8080,0,2,1,1
OK
AT+QISEND=1,63,“GET /t/testing22/post?test=25 HTTP/1.1\r\nHost: ptsv2.com\r\n\0”
OK
SEND OK
+CSCON: 1
AT+QIRD=0,512
ERROR
AT+QICLOSE=1
OK
CLOSE OK
+CSCON: 0
In the server side it gets a GET message but, it doesn’t parse it correctly, not getting the “test” parameter and its value correctly.
When I send a correct GET message, the server gets 11 headers and its parameters and values. However, when I send it from the BC65, the server gets 21 headers and no parameters nor values.
Could you help me to figure out what may be happening?
Thanks and regards!
Juanjo