Skip to content

Commit

Permalink
Add MQTTClient::getMQTTClientId method
Browse files Browse the repository at this point in the history
  • Loading branch information
paclema committed May 19, 2023
1 parent 4881214 commit d09e5a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ HEAD
* Bump MQTTClient on examples to v0.2.0
* Removed unnecessary break line in log message
* Include ESP_LOGE, ESP_LOGD and ESP_LOGV definitions for esp8266 logging
* Add MQTTClient::getMQTTClientId method

v0.2.0 (2023-05-16)
------
Expand Down
1 change: 1 addition & 0 deletions src/MQTTClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class MQTTClient :
bool isEnabled(void) { return enabled;}
bool useWebsockets(void) { return enable_websockets; }
void setMQTTClientId(std::string client_id);
std::string getMQTTClientId(void){ return id_name; }

void addTopicSub(const char* topic, int qos);
void addTopicSub(const char* topic);
Expand Down

0 comments on commit d09e5a5

Please sign in to comment.