Remove OC_REST_CANCEL_OBSERVE from OCMethod.
authorZiran Sun <ziran.sun@samsung.com>
Mon, 12 Sep 2016 15:30:24 +0000 (16:30 +0100)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 28 Sep 2016 05:17:06 +0000 (05:17 +0000)
commite889812b56b239965f51afda4c4dc839c67cf708
treea6631e27465ad8cd77b04f753ec6338d49a25464
parentae853c37baacf270d2ca1de192f21dbe63b1384e
Remove OC_REST_CANCEL_OBSERVE from OCMethod.

OC_REST_CANCEL_OBSERVE was created for internal uses but
has not been used. Since it is defined as one of OCMethod,
Users attemp to call it in OCDoResrouce(...). OCDoResrouce(...)
is to discover or Perform requests on a specified resource and
OCCancel(...) should be used to cancel the operation supported in
OCDoResource(...).

Bug: https://jira.iotivity.org/browse/IOT-1240
Change-Id: Ie40d8961949f1fa3f0c2c04899c58d6ae62241af
Signed-off-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11703
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/stack/include/octypes.h
resource/csdk/stack/src/ocstack.c
service/resource-directory/src/rd_server.c