The changes have been cherry-picked to master. They are waiting for a review to be merged.
https://gitlab.iotivity.org/iotivity/iotivity-lite/-/merge_requests/112 George From: Maloor, Kishen <[email protected]> Sent: Wednesday, April 22, 2020 5:30 PM To: Nash, George <[email protected]>; [email protected]; [email protected] Subject: Re: [dev] Iotivity lite state Thanks, George. If you could cherry-pick those specific changes to master, that should satisfy the immediate request. -Kishen. -- Kishen Maloor Intel Corporation From: "Nash, George" <[email protected]<mailto:[email protected]>> Date: Wednesday, April 22, 2020 at 8:06 PM To: "Maloor, Kishen" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [dev] Iotivity lite state The API that I added is only concerned with the ownership status e.g. owned vs. unowned. Any other configuration status is not part of the change. What other configurations were you interested in? It should not be too hard to cherry-pick that specific change to master. Kishen if you would like me to do that I could have it done tomorrow. You could also checkout the `ocfbridging` branch. If you want to use those APIs before they go through the full review process. You will find three new functions and a callback function Callback `oc_ownership_status_cb_t` (the callback gives the UUID, logical device index and a bool value indicating if the device’s status is owned or unowned) Function `oc_add_ownership_status_callback` Function `oc_remove_ownership_status_callback` Function `oc_is_owned_device` I have kept the `ofcbridging` branch up to date with master so you should be able to use the new APIs without making any additional modifications to your code. George From: Maloor, Kishen <[email protected]<mailto:[email protected]>> Sent: Wednesday, April 22, 2020 4:43 PM To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]> Cc: Nash, George <[email protected]<mailto:[email protected]>> Subject: Re: [dev] Iotivity lite state Hello, We've recently added such an API, but it exists on a branch along with some other in-progress work. George, would it be possible to submit this specific change to master? Thanks, -Kishen. -- Kishen Maloor Intel Corporation From: <[email protected]<mailto:[email protected]>> on behalf of "fariouche via groups.io" <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, April 22, 2020 at 7:27 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [dev] Iotivity lite state Hello, I'm currently trying to develop a device using iotivity lite. I would like to display the state of the device, when it is UNOWNED, owned, configured etc and show he progress to the user using blinking LEDs... I didn't find any API for that, and seems like not easy to find the information in the code. Any help or guidance to implement that if I can help is welcomed? Maybe also some kind of notifications/callback when the state changes Thank you Regards -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#10380): https://iotivity.groups.io/g/iotivity-dev/message/10380 Mute This Topic: https://groups.io/mt/73208975/21656 Group Owner: [email protected] Unsubscribe: https://iotivity.groups.io/g/iotivity-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
