1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-27 15:01:49 +03:00

allow unauthenticated connections to mqtt brokers

This commit is contained in:
Todd Treece
2016-07-13 15:57:00 -04:00
parent 9b23f6747e
commit f793f8d2d0
5 changed files with 21 additions and 5 deletions

View File

@ -44,7 +44,7 @@ class Adafruit_MQTT_CC3000 : public Adafruit_MQTT {
{}
Adafruit_MQTT_CC3000(Adafruit_CC3000 *cc3k, const char *server, uint16_t port,
const char *user, const char *pass):
const char *user = "", const char *pass = ""):
Adafruit_MQTT(server, port, user, pass),
cc3000(cc3k)
{}