Skip to content

rbusEvent_SubscribeExAsync() is reject a after v2.0.2 #341

@CSalaza73

Description

@CSalaza73

We have version 2.0.2 using rbusEvent_SubscribeExAsync() to subscribe on a value change. It is working as we expect, however when we try to upgrade to 2.0.5 for our devices, we received an rbus error message 9 invalid operation.

Were there any changes made that requires more values to the rbusEventSubcription_t struct for 2.0.5?

We have this:

rbusEventSubscription_t subscription = {0};
subscription.eventName = eventName;
subscription.filter = NULL;
subscription.interval = 0;
subscription.duration = 0;
subscription.handler = (void *) event_receive_handler;
subscription.userData = NULL;
rc = rbusEvent_SubscribeExAsync(g_busHandle, &subscription, 1, event_receive_subscription_handler, 0);

the event_receive_subscription_handler always returns with an error value to rbusError_t error, it never sucessfully subscribes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions