Browse Source

All examples have 6s delay before start

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
v_master
Sara Damiano 4 years ago
parent
commit
4aadaf04ec
14 changed files with 15 additions and 17 deletions
  1. +1
    -1
      examples/BlynkClient/BlynkClient.ino
  2. +1
    -1
      examples/FileDownload/FileDownload.ino
  3. +1
    -1
      examples/HttpClient/HttpClient.ino
  4. +1
    -1
      examples/HttpsClient/HttpsClient.ino
  5. +1
    -1
      examples/MqttClient/MqttClient.ino
  6. +1
    -1
      examples/WebClient/WebClient.ino
  7. +1
    -1
      examples/more/Hologram_Dash/Hologram_Dash.ino
  8. +1
    -1
      examples/more/Industruino/Industruino.ino
  9. +2
    -3
      examples/more/SIM800_SslSetCert/SIM800_SslSetCert.ino
  10. +1
    -1
      tools/AT_Debug/AT_Debug.ino
  11. +1
    -2
      tools/AT_Spy/AT_Spy.ino
  12. +1
    -1
      tools/Diagnostics/Diagnostics.ino
  13. +1
    -1
      tools/FactoryReset/FactoryReset.ino
  14. +1
    -1
      tools/test_build/test_build.ino

+ 1
- 1
examples/BlynkClient/BlynkClient.ino View File

@ -82,7 +82,7 @@ void setup()
// Set GSM module baud rate
SerialAT.begin(115200);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/FileDownload/FileDownload.ino View File

@ -127,7 +127,7 @@ void setup() {
// Set GSM module baud rate
SerialAT.begin(115200);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/HttpClient/HttpClient.ino View File

@ -135,7 +135,7 @@ void setup() {
// Set GSM module baud rate
// TinyGsmAutoBaud(SerialAT,GSM_AUTOBAUD_MIN,GSM_AUTOBAUD_MAX);
SerialAT.begin(9600);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/HttpsClient/HttpsClient.ino View File

@ -127,7 +127,7 @@ void setup() {
// Set GSM module baud rate
// TinyGsmAutoBaud(SerialAT,GSM_AUTOBAUD_MIN,GSM_AUTOBAUD_MAX);
SerialAT.begin(9600);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/MqttClient/MqttClient.ino View File

@ -179,7 +179,7 @@ void setup() {
// Set GSM module baud rate
// TinyGsmAutoBaud(SerialAT,GSM_AUTOBAUD_MIN,GSM_AUTOBAUD_MAX);
SerialAT.begin(9600);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/WebClient/WebClient.ino View File

@ -130,7 +130,7 @@ void setup() {
// Set GSM module baud rate
// TinyGsmAutoBaud(SerialAT,GSM_AUTOBAUD_MIN,GSM_AUTOBAUD_MAX);
SerialAT.begin(9600);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/more/Hologram_Dash/Hologram_Dash.ino View File

@ -63,7 +63,7 @@ void setup() {
// Set up Passthrough
HologramCloud.enterPassthrough();
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 1
- 1
examples/more/Industruino/Industruino.ino View File

@ -76,7 +76,7 @@ void setup() {
// Set GSM module baud rate
SerialAT.begin(115200);
delay(3000);
delay(6000);
// Restart takes quite some time
// To skip it, call init() instead of restart()


+ 2
- 3
examples/more/SIM800_SslSetCert/SIM800_SslSetCert.ino View File

@ -46,7 +46,7 @@ void setup() {
// Set GSM module baud rate
SerialAT.begin(115200);
delay(3000);
delay(6000);
SerialMon.println(F("Initializing modem..."));
modem.init();
@ -70,7 +70,7 @@ void setup() {
modem.stream.flush();
if (modem.waitResponse(2000) != 1) return;
modem.sendAT(GF("+SSLSETCERT=\"" CERT_FILE "\""));
if (modem.waitResponse() != 1) return;
if (modem.waitResponse(5000L, GF(GSM_NL "+SSLSETCERT:")) != 1) return;
@ -94,4 +94,3 @@ void loop() {
}
delay(0);
}

+ 1
- 1
tools/AT_Debug/AT_Debug.ino View File

@ -45,7 +45,7 @@ uint32_t rate = 0; // Set to 0 for Auto-Detect
void setup() {
// Set console baud rate
SerialMon.begin(115200);
delay(3000);
delay(6000);
}
void loop() {


+ 1
- 2
tools/AT_Spy/AT_Spy.ino View File

@ -32,7 +32,7 @@ void setup() {
MODEM_TX.begin(BAUD_RATE);
BOARD_TX.begin(BAUD_RATE);
delay(1000);
delay(6000);
}
void loop()
@ -44,4 +44,3 @@ void loop()
SPY.write(BOARD_TX.read());
}
}

+ 1
- 1
tools/Diagnostics/Diagnostics.ino View File

@ -130,7 +130,7 @@ void setup() {
// Set GSM module baud rate
// TinyGsmAutoBaud(SerialAT,GSM_AUTOBAUD_MIN,GSM_AUTOBAUD_MAX);
SerialAT.begin(9600);
delay(3000);
delay(6000);
}
void loop() {


+ 1
- 1
tools/FactoryReset/FactoryReset.ino View File

@ -49,7 +49,7 @@ void setup() {
// Set GSM module baud rate
SerialAT.begin(9600);
delay(3000);
delay(6000);
if (!modem.init()) {
SerialMon.println(F("***********************************************************"));


+ 1
- 1
tools/test_build/test_build.ino View File

@ -10,7 +10,7 @@ TinyGsm modem(Serial);
void setup() {
Serial.begin(115200);
delay(3000);
delay(6000);
}
void loop() {


Loading…
Cancel
Save