mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-28 07:57:18 +02:00
Merge branch 'develop' into feat/enable-at-debug
This commit is contained in:
@ -423,6 +423,11 @@ static void initMqtt(void) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (networkOption == UseCellular) {
|
||||
Serial.println("MQTT not available for cellular options");
|
||||
return;
|
||||
}
|
||||
|
||||
if (mqttClient.begin(mqttUri)) {
|
||||
Serial.println("Successfully connected to MQTT broker");
|
||||
createMqttTask();
|
||||
|
Reference in New Issue
Block a user