Session automatically Reconnected but subscription is not
Posted: 09 Nov 2018, 00:06
Hi
I am having issues with the client disconnecting and reconnecting, where it has already:
connected with a session
subscribed
and items registered for monitoring.
On disconnecting and reconnecting, the session is recreated, but the subscription is not
In order to continue:
I have to subscribe again (UaClient_Subscription_BeginCreateMonitoredItems) where it complains the subscription id is invalid (0x80280000)
Then delete the monitored items, which again complains of invalid subscription id
Finally register the monitored items (using UaClient_Subscription_BeginCreateMonitoredItems) to continue
what is the correct way of reviving the subscription and the monitored items.
Much appreciated
Thanks
Laguna
I am having issues with the client disconnecting and reconnecting, where it has already:
connected with a session
subscribed
and items registered for monitoring.
On disconnecting and reconnecting, the session is recreated, but the subscription is not
In order to continue:
I have to subscribe again (UaClient_Subscription_BeginCreateMonitoredItems) where it complains the subscription id is invalid (0x80280000)
Then delete the monitored items, which again complains of invalid subscription id
Finally register the monitored items (using UaClient_Subscription_BeginCreateMonitoredItems) to continue
what is the correct way of reviving the subscription and the monitored items.
Much appreciated
Thanks
Laguna