Re: iotivity lite bridge - oc_remove_device
toggle quoted messageShow quoted text
Never mind, I got the device spy tool working (not sure why the first time it didn't discover the virtual devices)
Now I see that if I add a new virtual device, it must be discovered first, then onboarded (with pin code if needed instead of just work)
Thank you, I have enough material to continue
Le lundi 4 mai 2020 à 15:56:20 UTC+2, Maloor, Kishen <kishen.maloor@...> a écrit :
Please take a look inside the "ocfbridging" branch.
There's some in-progress work over there that should directly address your need. Specifically, it adds infrastructure that allows an application to
dynamically attach and detach virtual OCF Devices based on the presence of related entities in any 3rd party technology. The states of those virtual Devices
are persisted over the duration of their use. Further, this framework incorporates the specified semantics with respect to discoverability (on the OCF side) of
virtual Devices to fulfill some security requirements outlined in the OCF bridging specification.
You should be able to build an application that interacts with Bluetooth devices (your code), and map those to virtual OCF Devices using the said infrastructure.
From: <email@example.com> on behalf of "fariouche via groups.io" <fariouche@...>