Hi All, I'm playing with IoTivity and OCF. But I miss some basic things: e.g. how to link client with resource server (similar to ZigBee binding). For example: I have number of a lamp devices which implement oic.r.switch.binary resource. Then I have physical switch device which implements oic.r.switch.binary client and I would like to control certain lamp devices with the switch device.
The questions are: 1. Shall the switch device (if it is only oic.r.switch.binary client) implement generic resources: oic.wk.p, oic.wk.d etc.? 2. During resource discovery the switch device will receive resource information from all lamp devices, is there any mechanism to tell the switch device which exactly resources to use? 3. Does IoTivity provide any API to store discovered resources in order to be used after reboot or it should be created from discovered URL (constructResourceObject API)? 4. Is there any OCF defined place to store controlled by the switch device resources? I'm thinking about "links" and link interface but it looks like they are designed for different purposes. Thanks. -- Best Regards, Oleksandr Grytsov. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10089): https://lists.iotivity.org/g/iotivity-dev/message/10089 Mute This Topic: https://lists.iotivity.org/mt/28858136/21656 Group Owner: [email protected] Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
