1
0
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:
Todd Treece
2015-05-31 21:07:17 -04:00
parent 1bcef195f1
commit e7b8ee0797
2 changed files with 14 additions and 4 deletions

View File

@@ -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];