Default entity handler outline for collection resources
authorclairiky <chanchala.roy.lairikyengbam@intel.com>
Tue, 19 Aug 2014 02:19:48 +0000 (19:19 -0700)
committerclairiky <chanchala.roy.lairikyengbam@intel.com>
Tue, 19 Aug 2014 02:19:48 +0000 (19:19 -0700)
commitf8b7030351781fe223aab7dc6738bb221369fab6
tree9d38412e863f141ee60085593946003afc92415e
parent0d8bb9190960312e8f82bfc3d68aa28c08a45016
Default entity handler outline for collection resources

Added GET for LL and def for default entity handler.

This commit has Sachin's and Chanchala'a changes.
This is GET (LL and B) and PUT (B) working from C apps. New JSON format is
also implemented.

Jesse's review incorporated and tabs removed.

Change-Id: I9d27612d545fdeda1798a5b8c01953a260cfdbef
14 files changed:
csdk/makefile
csdk/stack/include/internal/occollection.h [moved from csdk/stack/include/internal/ocserverrequest.h with 51% similarity]
csdk/stack/include/internal/ocresource.h
csdk/stack/include/internal/ocstackinternal.h
csdk/stack/include/ocstack.h
csdk/stack/samples/SimpleClientServer/occlientcoll.cpp [new file with mode: 0644]
csdk/stack/samples/SimpleClientServer/ocservercoll.cpp [new file with mode: 0644]
csdk/stack/samples/linux/SimpleClientServer/makefile
csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp
csdk/stack/src/occollection.c [new file with mode: 0644]
csdk/stack/src/ocobserve.c
csdk/stack/src/ocresource.c
csdk/stack/src/ocserverrequest.c [deleted file]
csdk/stack/src/ocstack.c