Skip to content

How to bind class function as callback? #44

Answered by rimen05
letmp asked this question in Q&A
Discussion options

You must be logged in to vote

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,

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@letmp
Comment options

@rimen05
Comment options

Answer selected by letmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants