You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some devices connected through MQTT-SN which require to keep the subscriptions after they are disconnected from the gateway. I am pretty sure I have something not configured but I cannot find it.
I am trying with command line clients in order to see if everything is working or not. It works fine with the MQTT but it is not with MQTT-SN.
This works and keep subsription after disconnecting the client (Client receives messages after reconnecting)
This works and client receives messages while it is connected but broker does not keep the subscription after disconnected. Neither it receives messages after reconnecting.
Environment
Description
I have some devices connected through MQTT-SN which require to keep the subscriptions after they are disconnected from the gateway. I am pretty sure I have something not configured but I cannot find it.
I am trying with command line clients in order to see if everything is working or not. It works fine with the MQTT but it is not with MQTT-SN.
This works and keep subsription after disconnecting the client (Client receives messages after reconnecting)
This works and client receives messages while it is connected but broker does not keep the subscription after disconnected. Neither it receives messages after reconnecting.
I think I need to update something in order to keep subscriptions for the SN part.
If I connect both clients, disconnect them and publish a message with:
After reconnecting both clients, the mqtt is the only one receiving the message.
Whenever I connect a SN client, the log shows the following:
The text was updated successfully, but these errors were encountered: