Support for notifying specific observers using observation Id
authorVijay <vijay.s.kesavan@intel.com>
Wed, 17 Sep 2014 20:48:56 +0000 (13:48 -0700)
committerVijay <vijay.s.kesavan@intel.com>
Wed, 17 Sep 2014 20:48:56 +0000 (13:48 -0700)
commit7549a6f3e09aa5f8a55188f33ce951074260e682
tree4d43ed36c6b465568008eec0abd4f58c35ff38be
parent9518812e55dab7c77300936686f25fabb5d57812
Support for notifying specific observers using observation Id

1. Initial code changes
2. Combine GET & observe registration calls to entity handler into a single call; support for CON messages in NotifySpecificObservers; updates sample server app
3. Added the support for immediate observe cancelation in OCCancel
4. Fixed the new interface to OCCancel in C++ layer
5. A temp solution for the case when observation sequence number wraps around.
6. Merging with Yamin's changes
7. Changed OCNotifyObservers to OCNotifyAllObservers
8. Build issue
9. Another Merge to support calling the entity handler when deregister an observer
10. Rebase & CPP Changes from Sudarshan and Sashi to support Notify specific observers.
11. Command line argument options for simpleserver (so it can choose between all observers or specific observers)
12. CPP bugfix.
13. Fixed review comments for CPP.
14. Changed COAP_DEFAULT_RESPONSE_TIMEOUT to 2 and all the sample applications to sleep accordingly.
15. Fixed review comment for new line.
16. Fixed review commend for line exceed.
17. Response to comments received on patch 11
18. Header file comments updated

Change-Id: I03aa7ab2a580899441b70bd2a76cca05575b192a
28 files changed:
csdk/libcoap-4.1.1/pdu.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/arduino/SimpleClientServer/ocserver/ocserver.cpp
csdk/stack/samples/linux/SimpleClientServer/makefile
csdk/stack/samples/linux/SimpleClientServer/occlient.cpp
csdk/stack/samples/linux/SimpleClientServer/occlientcoll.cpp
csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp
csdk/stack/samples/linux/SimpleClientServer/ocservercoll.cpp
csdk/stack/src/occlientcb.c
csdk/stack/src/ocobserve.c
csdk/stack/src/ocresource.c
csdk/stack/src/ocstack.c
examples/ocicuc/light_resource.cpp
examples/roomserver.cpp
examples/simpleclient.cpp
examples/simpleserver.cpp
include/OCApi.h
include/OCPlatform.h
include/OCResourceRequest.h
src/InProcClientWrapper.cpp
src/InProcServerWrapper.cpp
src/OCPlatform.cpp