/oic/res response based on the collection response structure
authorHabib Virji <habib.virji@samsung.com>
Fri, 18 Sep 2015 22:15:25 +0000 (23:15 +0100)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Tue, 29 Sep 2015 05:53:21 +0000 (05:53 +0000)
commit0f759d928fc9338c6f229cc19f28ca8d9e01ec56
tree207379449225b5276233edd9c7e77df3ae3b7175
parentbfccfcacd0000cbf0d560c905c331140078b7acd
/oic/res response based on the collection response structure

This is based on the new strucutre of the /oic/res as currently being defined
by Ravi. This is useful for the resource directory as it needs to include
multiple links maps inside links array.

It differs with the current /oic/res response as it includes links array with
multiple links map object.

The strucutre of the payload appears in this format:
Array
  TagsObject
    di
    baseURI
    bitmap
    ins
  LinksArray
    LinkMapObject
      href
      rt
      itf
      ins

Change-Id: Ifc61a70ede1fc44e9b2321604907d99961eea13b
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2701
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
23 files changed:
resource/csdk/SConscript
resource/csdk/stack/include/ocpayload.h
resource/csdk/stack/include/octypes.h
resource/csdk/stack/include/payload_logging.h
resource/csdk/stack/include/rdpayload.h [new file with mode: 0644]
resource/csdk/stack/src/ocpayload.c
resource/csdk/stack/src/ocpayloadconvert.c
resource/csdk/stack/src/ocpayloadparse.c
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/src/rdpayload.c [new file with mode: 0644]
resource/include/OCSerialization.h
service/resource-directory/SConscript
service/resource-directory/include/rd_client.h
service/resource-directory/include/rd_server.h
service/resource-directory/include/rd_types.h [deleted file]
service/resource-directory/samples/SConscript
service/resource-directory/samples/rd_main.c
service/resource-directory/src/internal/rd_storage.c
service/resource-directory/src/internal/rd_storage.h
service/resource-directory/src/rd_client.c
service/resource-directory/src/rd_payload.c [deleted file]
service/resource-directory/src/rd_server.c