MQTT
MQTT copied to clipboard
Callback context
Is it possible to add add a constructor overload that accepts a context for the callback so we can have non static callback functions?
If not, do you now of a workaround?
Cheers, Paul
@norgepaul, I had a similar need and actually inherited from this MQTT library and implemented a virtual topicPosted method instead of using a callback. Just add it.