All examples have 6s delay before start
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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() {
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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() {
|
||||
|
@@ -49,7 +49,7 @@ void setup() {
|
||||
|
||||
// Set GSM module baud rate
|
||||
SerialAT.begin(9600);
|
||||
delay(3000);
|
||||
delay(6000);
|
||||
|
||||
if (!modem.init()) {
|
||||
SerialMon.println(F("***********************************************************"));
|
||||
|
@@ -10,7 +10,7 @@ TinyGsm modem(Serial);
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
delay(3000);
|
||||
delay(6000);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
Reference in New Issue
Block a user