[IOT-1891] [RI] Issue fix OBSERVE Cancellation High QoS
authorarya.k <arya.kumar@samsung.com>
Fri, 5 May 2017 11:53:40 +0000 (17:23 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Thu, 11 May 2017 05:53:58 +0000 (05:53 +0000)
commit7f8b00932b2d75b6bd92f1b66792a5eaea29259b
treeeef2803776be337074b2492b02f091b16b5e48a1
parentd3cd85500458700aaf8c65da653870b067054cac
[IOT-1891] [RI] Issue fix OBSERVE Cancellation High QoS

When cancel observe is requested by client, the callback should return
a sequence number greater than MAX_SEQUENCE_NUMBER, and with no observe
header option.
Currently it is returning 0 which is not correct.So stack has been
modified to return a higher sequence number with the callback
for cancel observe confirmed response.

Change-Id: I85ea87454e3ca96f22fe7e414189ec0be7ea8dd8
Signed-off-by: arya.k <arya.kumar@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19651
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/stack/src/ocstack.c
resource/examples/simpleclient.cpp
resource/examples/simpleclientHQ.cpp