All examples have 6s delay before start

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-04-16 00:16:25 -04:00
parent 8c5850ef7b
commit 4aadaf04ec
14 changed files with 15 additions and 17 deletions

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()

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()

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);
}