If I am writing a client that wants to find all oic.d.light devices I will simply do a find on /oic/res?rt=oic.d.light this will return me a list of resources that implement the light device.
As best I can understand from the OCF Core Specification v1.3 oic.d.<thing> can only be exposed on href /oic/d or as part of a oic.wk.col found in links. How am I expected to go from finding device to finding out what resource(s) it implements? Or the URI for the resource(s)? OCF Device Specification v.1.3 makes it clear that a Light is required to implement oic.r.switch.binary. So I know that will be present but it is also possible it will implement other resources like, oic.r.light.brightness or oic.r.light.dimming, etc. How do I know? How am I expected to find the resources? George Nash
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev