hirotakaster / MQTT

MQTT for Photon, Spark Core
Other
217 stars 118 forks source link

Support for clean session #61

Closed AndrewWeiss closed 7 years ago

AndrewWeiss commented 7 years ago

I don't see any support for cleanSession. Given that microcontrollers spend a lot of time offline, I would like to make sure any "commands" that I want to send to the device while it's offline are received when the device comes back online.

Any recommendations on how to add this support?

AndrewWeiss commented 7 years ago

Answering my own question. Check the pull requests. It's been added

hirotakaster commented 7 years ago

hi @AndrewWeiss , I added clean session flag and update & publish to particle library.