Skip to content

coreMQTT context does not allow user parameters to be passed to the Event Callback #256

Open
@TunaBicim

Description

@TunaBicim

Hello,
I have been using the library on a C++ project and would like to pass the this pointer to the Event Callback to be able to access my class instance.
Is it possible to add a void * pUserData field to the context and pass it to the callback?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions