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

  • 90
  • 1
  • 1
  • 7
  • 4
  • 2

51
Online

11.4k
Users

11.1k
Topics

112.7k
Posts