Added check for stale observe notifications.
authorMandeep Shetty <mandeep.shetty@intel.com>
Mon, 13 Apr 2015 21:31:43 +0000 (14:31 -0700)
committerErich Keane <erich.keane@intel.com>
Tue, 14 Apr 2015 16:44:13 +0000 (16:44 +0000)
commita2d15ef6554b04ec58ac64a88a898e83f2fe959c
tree40a7c7b3f17f6a237499ed52839a598db452a680
parent594a805abc62cd0f15c3df4ae0c39d091c4e4613
Added check for stale observe notifications.

When observe type is OC_REST_OBSERVE, the client should not receive
stale notifications.
Added clarification to usage message to  occlient.cpp.
Increased number of notifcations to allow more notfications and to test
observe in DELETE case.

Change-Id: If1c7fbcf5bcdf67f5ed813178fbe5bf9902d2e3a
Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/709
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/occlient.cpp
resource/csdk/stack/src/ocstack.c