Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Automatic Subscription

Well, sending SUBACK doesn't apply because there wasn't a corresponding SUBSCRIBE.

One last question. Will mqtt3_sub_add also handle any ACL violation w.r.t. clientId/username and topic strings?

On Thu, Dec 1, 2016 at 5:05 PM, Roger Light <roger@xxxxxxxxxx> wrote:
On Thu, Dec 1, 2016 at 10:58 AM, ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)
<nageshblore@xxxxxxxxx> wrote:
> How is disconnection and re-connection with cleanSession = TRUE handled in
> this case? And, will the call back now indicate successful connection and
> subscription?

All that happens is that when a client successfully connects, they are
magically subscribed to a topic in addition to anything else that may
have happened wrt clean session. No SUBACK will be sent.

Cheers,

Roger
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top