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 01:48:01 +0000 (01:48 +0000)
commit30c25f5488fa19f686cdfe68d82d14842af1f7a3
treed4e6e4443a2fae51b48bbe13741c5022315a6388
parent5ac4b701a6e8850e2623141c15d02f8c05a89dbc
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>
resource/csdk/stack/include/octypes.h
resource/csdk/stack/src/ocstack.c