publish version when online and subjects constitution improvment
This commit is contained in:
1 parent
0844cbefa9
commit
66182ac1be
2 files changed
+6
-3
No files matched your search
@@ -92,6 +92,8 @@ boolean reconnect() {
|
||||
trc(F("Connected to broker"));
|
||||
// Once connected, publish an announcement...
|
||||
client.publish(will_Topic,Gateway_AnnouncementMsg,will_Retain);
|
||||
// publish version
|
||||
client.publish(version_Topic,VERSION,will_Retain);
|
||||
//Subscribing to topic
|
||||
if (client.subscribe(subjectMQTTtoX)) {
|
||||
#ifdef ZgatewayRF
|
||||
|
||||
Reference in new issue
Block a user