As discussed in the OCF Architecture TG (see CR 49), I see no reason for ?p? and ?eps? to ever appear in the same response or example.
From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of ??? Sent: Monday, August 1, 2016 1:46 AM To: iotivity-dev at lists.iotivity.org Subject: [dev] OCF Endpoint Implement on iotivity Hi, All I will implement OCF Endpoint on iotivity. Endpoint is Information which indicate available messaging protocol about each resource on server. and resource can has one or multiple Endpoints. Below is example of "oic/res" with "eps" parameter which represented endpoint on resource. { "href": "/a/light", "rt": ["core.light", "core.brightlight"], "if": ["oic.if.baseline", "oic.if.ll"], "p" : {"bm" : "3", "sec" : "false",}, "eps": [ {"ep": "coap://[fe80::a4ca:5493:e96:3cea]:1111", "ttl": 86400, "pri": 2}, {"ep": "coaps://[fe80::a4ca:5493:e96:3cea]:1112", "ttl": 86400, "pri": 1}, {"ep": "coap+tcp://[2001:db8:a::123]:2222", "ttl": 86400, "pri": 3} ] } More detail in jira task(IOT-1207) https://jira.iotivity.org/browse/IOT-1207 Plz see concept of endpoint on attached documents on jira, and feedback on jira or mai. thank you. [cid:image001.png at 01D1EBE0.F0ECD6B0] [http://v70ext.samsung.net/mail/ext/v1/external/status/update?userid=bg.chun&do=bWFpbElEPTIwMTYwODAxMDg0NTM1ZXBjbXMxcDYzYmEzNmEyMTkzMjIzMzZkZWExMzEyNDIyOWFjZTFmMiZyZWNpcGllbnRBZGRyZXNzPWlvdGl2aXR5LWRldkBsaXN0cy5pb3Rpdml0eS5vcmc_] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160801/8dd73ca6/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 33527 bytes Desc: image001.png URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160801/8dd73ca6/attachment.png>
