Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » QOS 0 question(Are errors logged or reported somewhere)
QOS 0 question [message #1859488] Sat, 10 June 2023 21:43
Len Gross is currently offline Len GrossFriend
Messages: 1
Registered: June 2023
Junior Member
I believe all MQTT connections use TCP/IP. Therefore, it seems that when the broker publishes to a topic (even at QOS 0), it would know if a connection was established with each subscriber.

In my application, I'd like to know that the connection to a swirch was made. The switch is reliable so if the connection is made it will trigger the relay.

Unfortunately, I can not easily modify the code of the client (Tasmota running on a Sonoff S31) that has subscribed to the message; and it will only subscribe with QOS zero. Also, the subscriber just "eats the message" and does not send any application level response.

I probably can come up with a workaround by sending a message before/after that generates a response from the switch, but it would be way cleaner if I could subscribe to a "connection failed" topic. Does something like this exist?

Thanks in advance.
--Len



Previous Topic:How to make the broker accept clients from local network?
Next Topic:SSL/TLS or Username and Password Authentication
Goto Forum:
  


Current Time: Thu May 02 23:24:50 GMT 2024

Powered by FUDForum. Page generated in 0.04488 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top