diff --git a/examples/AllFunctions/AllFunctions.ino b/examples/AllFunctions/AllFunctions.ino index 3f80573..5ba9e46 100644 --- a/examples/AllFunctions/AllFunctions.ino +++ b/examples/AllFunctions/AllFunctions.ino @@ -141,7 +141,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif #if TINY_GSM_TEST_GPRS && defined TINY_GSM_MODEM_XBEE diff --git a/examples/FileDownload/FileDownload.ino b/examples/FileDownload/FileDownload.ino index c0a93d8..fe365ec 100644 --- a/examples/FileDownload/FileDownload.ino +++ b/examples/FileDownload/FileDownload.ino @@ -140,7 +140,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif #if TINY_GSM_USE_GPRS && defined TINY_GSM_MODEM_XBEE @@ -154,7 +154,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); if (modem.isNetworkConnected()) { SerialMon.println("Network connected"); @@ -168,7 +168,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif SerialMon.print(F("Connecting to ")); @@ -178,7 +178,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); // Make a HTTP GET request: client.print(String("GET ") + resource + " HTTP/1.0\r\n"); diff --git a/examples/HttpClient/HttpClient.ino b/examples/HttpClient/HttpClient.ino index bf9924d..e9f9522 100644 --- a/examples/HttpClient/HttpClient.ino +++ b/examples/HttpClient/HttpClient.ino @@ -142,7 +142,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif #if TINY_GSM_USE_GPRS && defined TINY_GSM_MODEM_XBEE @@ -156,7 +156,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); if (modem.isNetworkConnected()) { SerialMon.println("Network connected"); @@ -170,7 +170,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif SerialMon.print(F("Performing HTTP GET request... ")); diff --git a/examples/HttpsClient/HttpsClient.ino b/examples/HttpsClient/HttpsClient.ino index e43711c..0b58143 100644 --- a/examples/HttpsClient/HttpsClient.ino +++ b/examples/HttpsClient/HttpsClient.ino @@ -142,7 +142,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif #if TINY_GSM_USE_GPRS && defined TINY_GSM_MODEM_XBEE @@ -156,7 +156,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); if (modem.isNetworkConnected()) { SerialMon.println("Network connected"); @@ -170,7 +170,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif SerialMon.print(F("Performing HTTPS GET request... ")); diff --git a/examples/MqttClient/MqttClient.ino b/examples/MqttClient/MqttClient.ino index 91873a7..075b6fc 100644 --- a/examples/MqttClient/MqttClient.ino +++ b/examples/MqttClient/MqttClient.ino @@ -167,7 +167,7 @@ void setup() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); if (modem.isNetworkConnected()) { SerialMon.println("Network connected"); @@ -181,7 +181,7 @@ void setup() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif // MQTT Broker setup @@ -203,7 +203,7 @@ boolean mqttConnect() { SerialMon.println(" fail"); return false; } - SerialMon.println(" OK"); + SerialMon.println(" success"); mqtt.publish(topicInit, "GsmClientTest started"); mqtt.subscribe(topicLed); return mqtt.connected(); diff --git a/examples/WebClient/WebClient.ino b/examples/WebClient/WebClient.ino index ee278b8..813d1f0 100644 --- a/examples/WebClient/WebClient.ino +++ b/examples/WebClient/WebClient.ino @@ -60,17 +60,6 @@ // Uncomment this if you want to use SSL //#define USE_SSL -// Set serial for debug console (to the Serial Monitor, default speed 115200) -#define SerialMon Serial - -// Set serial for AT commands (to the module) -// Use Hardware Serial on Mega, Leonardo, Micro -#define SerialAT Serial1 - -// or Software Serial on Uno, Nano -//#include -//SoftwareSerial SerialAT(2, 3); // RX, TX - #define TINY_GSM_USE_GPRS true #define TINY_GSM_USE_WIFI false @@ -152,7 +141,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif #if TINY_GSM_USE_GPRS && defined TINY_GSM_MODEM_XBEE @@ -166,7 +155,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); if (modem.isNetworkConnected()) { SerialMon.println("Network connected"); @@ -180,7 +169,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif SerialMon.print("Connecting to "); @@ -190,7 +179,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); // Make a HTTP GET request: SerialMon.println("Performing HTTP GET request..."); diff --git a/examples/more/Hologram_Dash/Hologram_Dash.ino b/examples/more/Hologram_Dash/Hologram_Dash.ino index 2f195da..331fbd1 100644 --- a/examples/more/Hologram_Dash/Hologram_Dash.ino +++ b/examples/more/Hologram_Dash/Hologram_Dash.ino @@ -83,7 +83,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); SerialMon.print(F("Connecting to ")); SerialMon.print(apn); @@ -92,7 +92,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); SerialMon.print(F("Connecting to ")); SerialMon.print(server); @@ -101,7 +101,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); // Make a HTTP GET request: client.print(String("GET ") + resource + " HTTP/1.0\r\n"); @@ -132,4 +132,3 @@ void loop() { delay(1000); } } - diff --git a/examples/more/Industruino/Industruino.ino b/examples/more/Industruino/Industruino.ino index 3757f0c..b51acc6 100644 --- a/examples/more/Industruino/Industruino.ino +++ b/examples/more/Industruino/Industruino.ino @@ -96,7 +96,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); SerialMon.print(F("Connecting to ")); SerialMon.print(apn); @@ -105,7 +105,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); SerialMon.print(F("Performing HTTP GET request... ")); int err = http.get(resource); @@ -157,4 +157,3 @@ void loop() { delay(1000); } } - diff --git a/extras/AT Command Manuals/u-blox AT Commands Examples AppNote R13 (UBX-13001820).pdf b/extras/AT Command Manuals/u-blox AT Commands Examples AppNote R13 (UBX-13001820).pdf new file mode 100644 index 0000000..929ab0e Binary files /dev/null and b/extras/AT Command Manuals/u-blox AT Commands Examples AppNote R13 (UBX-13001820).pdf differ diff --git a/extras/AT Command Manuals/u-blox Cellular AT Commands R60 (UBX-13002752).pdf b/extras/AT Command Manuals/u-blox Cellular AT Commands R62 (UBX-13002752).pdf similarity index 61% rename from extras/AT Command Manuals/u-blox Cellular AT Commands R60 (UBX-13002752).pdf rename to extras/AT Command Manuals/u-blox Cellular AT Commands R62 (UBX-13002752).pdf index 883720b..bb83e63 100644 Binary files a/extras/AT Command Manuals/u-blox Cellular AT Commands R60 (UBX-13002752).pdf and b/extras/AT Command Manuals/u-blox Cellular AT Commands R62 (UBX-13002752).pdf differ diff --git a/tools/Diagnostics/Diagnostics.ino b/tools/Diagnostics/Diagnostics.ino index 7d116c2..0f85740 100644 --- a/tools/Diagnostics/Diagnostics.ino +++ b/tools/Diagnostics/Diagnostics.ino @@ -10,8 +10,7 @@ **************************************************************/ // Select your modem: -#define TINY_GSM_MODEM_SIM800 -// #define TINY_GSM_MODEM_SIM900 +// #define TINY_GSM_MODEM_SIM800 // #define TINY_GSM_MODEM_SIM808 // #define TINY_GSM_MODEM_SIM868 // #define TINY_GSM_MODEM_SIM900 @@ -155,7 +154,7 @@ void loop() { delay(10000); return; } - SerialMon.println(" OK"); + SerialMon.println(" success"); #endif #if TINY_GSM_USE_GPRS && defined TINY_GSM_MODEM_XBEE