-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Caller interface to callback object methods. #127
base: master
Are you sure you want to change the base?
Conversation
@@ -29,6 +29,17 @@ | |||
|
|||
#endif | |||
|
|||
class EspMQTTClient; // forward declaration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed considering that the class definition is 4 rows below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, probably I just left it there from before. Works fine without it.
This could be a great addition but I have tested the code and it doesn't seem to be functional nor complete |
I'll update the example to a better one, for now there is a working example using this callback in my other repository https://github.com/dino-rider/IotDevice_test. Also I was working in PlatformIO, but I'm making an arduino example. |
I had trouble using the module in object oriented code. adding this interface and inheriting from it make it much easier to utilize.