I am using arduino UNO board, with modem sim800l. I want use it to send data to server, but the problem is that my url gets truncated. I tried to overwrite the default limit of this library before and after I include it but I get the same problem.
#define _SS_MAX_RX_BUFF 256
#include <SoftwareSerial.h>
#define _SS_MAX_RX_BUFF 256
My url looks like this:
mySerial.println("AT+HTTPPARA=\"URL\",\"http://two-words-domain.ro?data1=1&data2=2&data3=3...\"");
And in the serial I see that the url get truncated somewhere 60-64 characters. Is there any solution for this?
#define
do not have any effect. You would have to do that in the library. – Tomdata1=1
tod1=1
, that will allow you to pack in a few extra params with your url. If that's still not enough, you may want to consider to send the data as part of HTTP body instead of HTTP params. – hcheung