File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Arduino_package/hardware/libraries/MQTTClient/examples/MQTT_Basic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
#include < WiFi.h>
19
19
#include < PubSubClient.h>
20
20
21
- char ssid[] = " Network_SSID " ; // your network SSID (name)
22
- char pass[] = " Password" ; // your network password
23
- int status = WL_IDLE_STATUS; // Indicator of Wifi status
21
+ char ssid[] = " Network_SSID5 " ; // your network SSID (name)
22
+ char pass[] = " Password" ; // your network password
23
+ int status = WL_IDLE_STATUS; // Indicator of Wifi status
24
24
25
25
char mqttServer[] = " test.mosquitto.org" ;
26
26
char clientId[] = " amebaClient" ;
@@ -82,7 +82,7 @@ void setup()
82
82
// wait 10 seconds for connection:
83
83
delay (10000 );
84
84
}
85
-
85
+ wifiClient. setNonBlockingMode ();
86
86
client.setServer (mqttServer, 1883 );
87
87
client.setCallback (callback);
88
88
You can’t perform that action at this time.
0 commit comments