Add security payload type to a request/response
authorSakthivel Samidurai <sakthivel.samidurai@intel.com>
Tue, 15 Sep 2015 01:54:00 +0000 (18:54 -0700)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Wed, 16 Sep 2015 19:44:08 +0000 (19:44 +0000)
commit8f80bdbfa4c4b16c6d574ca872463f8f20d579a3
treee26db69aeb7f91db2789652bbe6360c3fd6dc48e
parent0269ca3ec540f52b77db640794119eae2743cd94
Add security payload type to a request/response

After removing the OCPayloadType from the payload, the stack has to
fill the appropriate payload type for security and non-security
payload type. Added PAYLOAD_TYPE_SECURITY as a payload type for
security resource request in HandleResourceWithEntityHandler
and response in HandleCAResponses.

Change-Id: I3007a1e79ad25b4e557ab15edb038a22cb9e85c3
Signed-off-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2539
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/security/include/internal/secureresourcemanager.h
resource/csdk/security/provisioning/src/pmutility.c
resource/csdk/security/src/pstatresource.c
resource/csdk/security/src/secureresourcemanager.c
resource/csdk/stack/include/internal/ocserverrequest.h
resource/csdk/stack/src/ocobserve.c
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocserverrequest.c
resource/csdk/stack/src/ocstack.c