-
Notifications
You must be signed in to change notification settings - Fork 68
Description
I'm trying to integrate bridge functionality into iotivity-lite. However, the latest library does not seem to support the ability to dynamically delete and recreate OCF Devices.
As an example, I created an 5 devices, or OCF Client, OCF Bridge and three VODs (Virtual OCF Device) in one android app. Then, when I deleted VOD#1 and tried to create it again, an error occurred and the app crashed.
When I looked at the files/credentials directory of the app package with Android Studio's Device Explorer, I confirmed that u_ids_0~4 (also ael, cred, pstat, ... etc) were created. VOD#1 corresponds to u_ids_2.
In the case of ZigBee VOD, VOD must be dynamically created or deleted during the process of connecting and resetting the ZigBee device. Of course, it is required to manage the VOD index well, but first, I wonder if there will be any problems when dynamically deleting and re-creating the OCF Device (or VOD) in the latest iotivity-lite library.
Can anyone answer this issue?