MQTT Gateway Client - Last Will topic and feature



  • MQTT Gateway Client - Last Will topic and feature.

    It would be really nice if our controllers can know if the gateway disconnects.

    I think this can be implemented in MyGatewayTransportMQTTClient.cpp

    bool reconnectMQTT(void)
    {
    GATEWAY_DEBUG(PSTR("GWT:RMQ:CONNECTING...\n"));
    // Attempt to connect
    if (_MQTT_client.connect(MY_MQTT_CLIENT_ID, MY_MQTT_USER, MY_MQTT_PASSWORD))


Log in to reply
 

Suggested Topics

  • 3
  • 4
  • 2
  • 1
  • 1
  • 3
  • 17
  • 6

185
Online

10.1k
Users

10.6k
Topics

109.0k
Posts