Add more module options
This commit is contained in:
@@ -14,9 +14,11 @@
|
||||
|
||||
// Select your modem:
|
||||
#define TINY_GSM_MODEM_SIM800
|
||||
//#define TINY_GSM_MODEM_SIM900
|
||||
//#define TINY_GSM_MODEM_A6
|
||||
//#define TINY_GSM_MODEM_M590
|
||||
// #define TINY_GSM_MODEM_SIM900
|
||||
// #define TINY_GSM_MODEM_A6
|
||||
// #define TINY_GSM_MODEM_A7
|
||||
// #define TINY_GSM_MODEM_M590
|
||||
// #define TINY_GSM_MODEM_ESP8266
|
||||
|
||||
// Increase RX buffer
|
||||
#define TINY_GSM_RX_BUFFER 1030
|
||||
@@ -126,7 +128,7 @@ void loop() {
|
||||
//Serial.println(line); // Uncomment this to show response header
|
||||
line.toLowerCase();
|
||||
if (line.startsWith("content-length:")) {
|
||||
contentLength = line.substring(line.lastIndexOf(':') + 1).toInt();
|
||||
contentLength = line.substring(line.lastIndexOf(':') + 1).toInt();
|
||||
} else if (line.length() == 0) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user