[EasySetup] Fix links in baseline & ll response
Update oic.r.easysetup baseline and link list response to correctly fill links property. Use OCLinksPayloadArrayCreate API to create the links payload for batch & link list interface. OCLinksPayloadArrayCreate API internally takes care of creating the most part of payload based on the properties of the resource. This will replace the logic of creating each property of links payload for each of the easy setup resources from the code. In link list interface response, add handling for both OCF & OIC response (for backward compatibility). Bug:https://jira.iotivity.org/browse/IOT-2711 Change-Id: I46ca2e2d635cb78e8c7fc7c5ef95d9e16327abb9 Signed-off-by:Ankur Bansal <ankur.b1@samsung.com> (cherry picked from commit 787a73bd)
Showing
This diff is collapsed.
Please register or sign in to comment