Initial check-in of GET code. This is Work In Progress and is NOT Tested. This check...
authorSachin Agrawal <sachin.agrawal@intel.com>
Sat, 2 Aug 2014 01:17:56 +0000 (18:17 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Sat, 2 Aug 2014 01:17:56 +0000 (18:17 -0700)
commita1ad926a37915a4af984e8229d63364bb5ac1323
treec119fa075dd1be1e1540cb9b4d189026f5ef8b75
parenta7f71e6f267d268f060c4d729069e5e493bc48f3
Initial check-in of GET code. This is Work In Progress and is NOT Tested. This check-in is to facilitate co-development.
Patch 3: Added code to add payload in pdu for PUT request.
 Added 'PUT' method in supported list.
Patch 4: Added some changes to ocstack.c to bind the Entityhandler to the resource and also modified the client and
         server c++ app, which uses the c apis to use GET.
Patch 5: Merged Yamin's changes and Vijay's Arduino changesets.
Patch 6: Updated ocserver/occlient sample apps to use OCLogger mechanism.
 Some related changes in oclogger module.
Patch 7: PUT API now function from C++ app using C APIs.
Patch 8: Modified patch 7's commit blunder :(
Patch 9: Fixed some of the review comments by Yamin.
 Modified logic in occlient and ocserver test app to pass NULL when OCGetInterfaceAddress
 api is unable to retrieve local IP address.
 Fixed some method names to Upper Camel case.

Change-Id: Ic3469e01add2b44b6925dd0a91c32e6cf7b1e186
45 files changed:
csdk/libcoap-4.1.1/address.h
csdk/libcoap-4.1.1/bits.h
csdk/libcoap-4.1.1/block.c
csdk/libcoap-4.1.1/coap_list.c
csdk/libcoap-4.1.1/coap_list.h
csdk/libcoap-4.1.1/coap_time.h
csdk/libcoap-4.1.1/config.h
csdk/libcoap-4.1.1/debug.c
csdk/libcoap-4.1.1/debug.h
csdk/libcoap-4.1.1/encode.h
csdk/libcoap-4.1.1/hashkey.h
csdk/libcoap-4.1.1/makefile
csdk/libcoap-4.1.1/mem.h
csdk/libcoap-4.1.1/net.c
csdk/libcoap-4.1.1/net.h
csdk/libcoap-4.1.1/option.h
csdk/libcoap-4.1.1/pdu.c
csdk/libcoap-4.1.1/pdu.h
csdk/libcoap-4.1.1/resource.c
csdk/libcoap-4.1.1/resource.h
csdk/logger/include/logger.h
csdk/logger/src/logger.c
csdk/makefile
csdk/occoap/include/occoap.h
csdk/occoap/include/occoaphelper.h [new file with mode: 0644]
csdk/occoap/src/occoap.c
csdk/occoap/src/occoaphelper.c [new file with mode: 0644]
csdk/ocrandom/include/ocrandom.h
csdk/ocsocket/test/arduino/ocsocket_test.cpp
csdk/stack/include/internal/occlientcb.h
csdk/stack/include/internal/ocresource.h [new file with mode: 0644]
csdk/stack/include/internal/ocserverrequest.h
csdk/stack/include/internal/ocstackinternal.h
csdk/stack/include/ocstack.h
csdk/stack/makefile
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 [new file with mode: 0644]
csdk/stack/src/ocserverrequest.c
csdk/stack/src/ocstack.c
csdk/stack/test/arduino/Makefile [new file with mode: 0644]
csdk/stack/test/arduino/ocserver.cpp [new file with mode: 0644]
csdk/stack/test/linux/Makefile