|
@ -33,7 +33,7 @@ void sendRequest() { |
|
|
|
|
|
|
|
|
// Do HTTP GET communication with 10s for the timeout (read)
|
|
|
// Do HTTP GET communication with 10s for the timeout (read)
|
|
|
uint16_t rc = sim800l->doGet(URL, 10000); |
|
|
uint16_t rc = sim800l->doGet(URL, 10000); |
|
|
if(rc == 200) { |
|
|
|
|
|
|
|
|
if(rc == 200) { |
|
|
// Success, output the data received on the serial
|
|
|
// Success, output the data received on the serial
|
|
|
Serial.print(F("HTTP GET successful (")); |
|
|
Serial.print(F("HTTP GET successful (")); |
|
|
Serial.print(sim800l->getDataSizeReceived()); |
|
|
Serial.print(sim800l->getDataSizeReceived()); |
|
|