Skip to content
Snippets Groups Projects
Commit ec91d35b authored by Alfredo Chissotti's avatar Alfredo Chissotti
Browse files

arduino x elisa

parent bb3593be
No related branches found
No related tags found
No related merge requests found
const char ssid[] = "AndroidAP438F_84";//"Galaxy A52s 5G8EA7_84";//"DaBroswitch"; // your network SSID (name)
const char pass[] = "yhpu9011";//"daje666.";//"iotLab/00"; // your network password (use for WPA, or use as key for WEP)
const char broker[] = "192.168.254.194";//"192.168.72.194";//"luci.local";//"192.168.1.157"//"test.mosquitto.org";
/*
ArduinoMqttClient - WiFi Advanced Callback
......@@ -22,9 +25,7 @@
//#include <PubSubClient.h>
///////please enter your sensitive data in the Secret tab/arduino_secrets.h
const char ssid[] = "DaBroswitch"; // your network SSID (name)
const char pass[] = "iotLab/00"; // your network password (use for WPA, or use as key for WEP)
//pissir/pissir2000
// To connect with SSL/TLS:
// 1) Change WiFiClient to WiFiSSLClient.
// 2) Change port value from 1883 to 8883.
......@@ -48,7 +49,6 @@ MqttClient mqttClient(wifiClient);
//const char broker[] = "193.206.52.98";//smartcity-challenge
//const char broker[] = "192.168.20.67";
// broker non funzionanti: localhost, tcp://localhost, luci.local
const char broker[] = "192.168.1.157";//"luci.local";//"192.168.1.157"//"test.mosquitto.org";
int port = 1883;
const String willTopic = "arduino/will";
const String requestTopic = "to/all";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment