Added API enum for removing observation of servers' resource.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Sun, 3 Aug 2014 00:05:05 +0000 (20:05 -0400)
committerGerrit Code Review <gerrit@fmygit6002.fm.intel.com>
Mon, 4 Aug 2014 19:14:49 +0000 (12:14 -0700)
commit4e72dead7e68613ddd85bfd31d8f40111b49ad35
treeb1d58db95219c029bfba49c0b5e3535dd125a9ee
parentdf477679ebfb9cbe3101444900c81ff569de6cc1
Added API enum for removing observation of servers' resource.

Turned out to be a very minimal change to the public API.

Added more changes to fulfill callback management requirements. (i.e. Token in/out on OCDoResource())

Reverted Token implementation. Defined "OCDoHandle"

Turned off many over-zealous ignore-warning flags. Fixed few errors that arose with that.

Made fixes to all modules (minus libcoap, which didnt need it) to get the stack to build with new infrastructure (i.e. baggage of maintaining ODDoHandle) in place.

Rebased on top of Sachin's changeset. Made changes so that the stack and apps build and compile.

Sachin made changes to a makefile. I rebased onto his patch set #6.

Changed "eth3" to "eth0" in sample apps. Turned tabs into spaces.

Somehow 'OCDoHandle' was commented out in my changeset? Well, I uncommented it out and it builds again. Logging ONLY works with "make BUILD=debug" now. I assume this is in alignment with Sachin's changes. -- So no worries on logging?

Implementation of send observe request in place now.

Change-Id: I93140cafc1dd51ba35fb47b1fb455fef7a95499a
19 files changed:
csdk/libcoap-4.1.1/makefile
csdk/libcoap-4.1.1/net.c
csdk/makefile
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/ocserverrequest.h
csdk/stack/include/internal/ocstackinternal.h
csdk/stack/include/ocstack.h
csdk/stack/samples/SimpleClientServer/client.txt [deleted file]
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/ocresource.c
csdk/stack/src/ocserverrequest.c
csdk/stack/src/ocstack.c