Success is less confusing than ok

This commit is contained in:
Sara Damiano
2019-05-30 13:07:07 -04:00
parent 79f4405c34
commit 1676048836
11 changed files with 25 additions and 39 deletions

View File

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