To come on this changeset: All convergences between and server and client observation...
authorVijay Kesavan <vijay.s.kesavan@intel.com>
Tue, 5 Aug 2014 21:19:25 +0000 (14:19 -0700)
committerVijay Kesavan <vijay.s.kesavan@intel.com>
Tue, 5 Aug 2014 21:19:25 +0000 (14:19 -0700)
commit393f3a3e052182c8cf62e28281a8739a0ddd8fae
tree81a62bc28a7cbbde660fc7f791c3b2dd7acc68f7
parent73443f2716cb4a67bc6ddbaad20b9e1cc776255c
To come on this changeset: All convergences between and server and client observation functionality.

Added changes for implementing SequenceNum on Client Side.

Fixed token nuances. Now server and client utilize the same token.

Added Delete functionality to observer implementation.

Sequence Iterator work...It works!! :D

Patch #7 : Modified OCClientResponseHandler callback signature. Updated occlient sample app to reflect that.
   Updated code in OCDoResource API for proper error handling.
   Updated OCClientCb.h to store DoHandle instead of address of DoHandle.
   Took care of some other small tid-bits regarding code formatiing.

Patch #8 : Made one little change Sachin forgot. Check for ptr == NULL not needed when calling free().

Patch #9 : Put in logic for OBSERVE_ALL notification Vs. OBSERVE on client-side. Now client will not accept notifications out of order if OC_REST_OBSERVE is used.

Patch #10 & 11: Added more complete logic for OBSERVE Vs. OBSERVE_ALL logic.  Also verified that out of order notifications are handled correctly in each case.

Patch #12: Added functionality to convert coap errors to OC stack errors for server respsonses.
    Updated OCClient application to weild specific usage scenarios.

Patch #13: Added fix for some of code review comments by Jesse.
   Updated occlient.cpp to OC_REST_OBSERVE in InitObserveRequest method.

Patch #14: (Joey)  Added RST to Remove Observations logic.

Patch #15:  Rebase on master

Patch #16: (Vijay) Observe delete on server

Patch #17: (Vijay) Fixed issues with cancel (cancel observe still not working)

Patch #18: (Joey) Reverted and Fixed issues with cancel observe.

Patch #19: (Vijay) Observer list delete

Patch #20: (Joey) Fully implemented Cancel Observe. Needs Vijay's approval. (I.e. if Vijay +1's we're done make changes except for code review changes)

Patch #21: (Joey) Cleaned up ALL warnings (minus TODO pragma messages someone has put in.).

Patch #22: (Vijay) Clean up of observe delete and removed printfs

Patch #23: (Vijay) Addressed some of the review comments
Change-Id: Iad7a4263ece57f1545606a5cf05ddfcacb48d363
15 files changed:
csdk/libcoap-4.1.1/net.c
csdk/occoap/include/occoap.h
csdk/occoap/include/occoaphelper.h
csdk/occoap/src/occoap.c
csdk/occoap/src/occoaphelper.c
csdk/stack/include/internal/occlientcb.h
csdk/stack/include/internal/ocobserve.h
csdk/stack/include/internal/ocstackinternal.h
csdk/stack/include/ocstack.h
csdk/stack/samples/SimpleClientServer/makefile
csdk/stack/samples/SimpleClientServer/occlient.cpp
csdk/stack/samples/SimpleClientServer/ocserver.cpp
csdk/stack/src/occlientcb.c
csdk/stack/src/ocobserve.c
csdk/stack/src/ocstack.c