Add /oic/d and /oic/p discovery response messaging to IoTivity.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Mon, 14 Dec 2015 11:04:03 +0000 (03:04 -0800)
committerJon A. Cruz <jonc@osg.samsung.com>
Tue, 15 Dec 2015 03:04:15 +0000 (03:04 +0000)
commitadac68d8f0a9887dde1fc5c7ca3b432b366a7509
treef8feac3943ea5d22f251472f730da99d72ff957e
parentcbb4e358647d812cbbf6c9474c49ce88048dcb17
Add /oic/d and /oic/p discovery response messaging to IoTivity.

Prior to this, Clients could only perform a GET request directly on
/oic/d and /oic/p. This commit also enables performing DISCOVERY
requests on /oic/d and /oic/p as well.

This aligns with OIC spec compliancy.

This fixes Jira Ticket IOT-874.

Change-Id: I29693a67bb245b3fae8d1ed54833eacd1397884e
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4567
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
(cherry picked from commit 30c25f5488fa19f686cdfe68d82d14842af1f7a3)
Reviewed-on: https://gerrit.iotivity.org/gerrit/4585
resource/csdk/stack/include/octypes.h
resource/csdk/stack/src/ocstack.c