You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-08-31 19:22:04 +03:00
adds client id to connect
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#define USERNAME_SIZE 25
|
||||
#define KEY_SIZE 41
|
||||
#define FEEDNAME_SIZE 25
|
||||
#define CLIENTID_SIZE 23
|
||||
|
||||
#define CONNECT_TIMEOUT_MS 3000
|
||||
|
||||
@@ -38,6 +39,7 @@ class Adafruit_MQTT {
|
||||
char servername[SERVERNAME_SIZE];
|
||||
uint32_t serverip;
|
||||
int16_t portnum;
|
||||
char clientid[CLIENTID_SIZE];
|
||||
char username[USERNAME_SIZE];
|
||||
char userkey[KEY_SIZE];
|
||||
|
||||
|
Reference in New Issue
Block a user