Skip to content

Commit e14edd5

Browse files
authored
MQTT Example Update (Ameba-AIoT#288)
* MQTT Example Update - add NonBlockingMode
1 parent aa069ca commit e14edd5

File tree

1 file changed

+1
-0
lines changed
  • Arduino_package/hardware/libraries/MQTTClient/examples/MQTT_Basic

1 file changed

+1
-0
lines changed

Arduino_package/hardware/libraries/MQTTClient/examples/MQTT_Basic/MQTT_Basic.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ void setup()
8383
delay(10000);
8484
}
8585

86+
wifiClient.setNonBlockingMode();
8687
client.setServer(mqttServer, 1883);
8788
client.setCallback(callback);
8889

0 commit comments

Comments
 (0)