-
How is it possible to bind a class function as callback without making it static? |
Beta Was this translation helpful? Give feedback.
Answered by
rimen05
Nov 9, 2023
Replies: 1 comment 2 replies
-
First of all, thank you @hsaturn for this library. It's been instrumental to introduce myself into the MQTT protocol using tiny MCUs. That said, hi @letmp! I believe there is an example in the current release that shows a way to achieve binding of a function without making it static: examples/advanced/mqtt_class_binder/mqtt_class_binder.ino Cheers, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
letmp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thank you @hsaturn for this library. It's been instrumental to introduce myself into the MQTT protocol using tiny MCUs.
That said, hi @letmp! I believe there is an example in the current release that shows a way to achieve binding of a function without making it static: examples/advanced/mqtt_class_binder/mqtt_class_binder.ino
Cheers,