2 ****************************************************************************
3 Release date: Feb 1st, 2015.
4 OS: Ubuntu 12.0.4 and above
5 Requires boost version 1.55 to build.
6 Code buildable in gcc 4.6.3 and above.
7 NOTE: Boost is not distributed but should be installed in the Ubuntu machine.
8 *****************************************************************************
10 Branch: master; commit id: 3deba10f91d5d5990bf29cab4f6283e98dacf12a
11 *******************************************************************
15 1. Fixed issues found in C++ stack and samples using static code analysis tool.
18 - tinyDTLS rehandshake issue fixed.
24 Maximum length of URI supported is 64 bytes (sent from the client)
25 Maximum length of query supported is 64 bytes (sent from the client)
26 Maximum length of request from client and response from server for Arduino is is 256 bytes
27 Maximum length of request from client and response from server for non-Ardunio is is 1024 bytes
29 OIC base supports Arduino WiFi shield.
30 This support has been tested with Arduino Mega 2560 and with Arduino 1.0.5 WiFi library.
31 Please refer to oic-resource/csdk/README file for building OIC base with WiFi support.
40 A basic sample for hosting a resource on a server and a sample for client for discovering resources
42 Simple server sample location: oic-resource/examples/simpleserver.cpp
43 Simple client sample location: oic-resource/examples/simpleclient.cpp
44 Server and client mode (mode type both) location: oic-resource/examples/simpleclientserver.cpp
45 Simpleserver and simpleclient samples also provide examples for doing POST operation.
46 Simpleserver also demonstrates slow response case for a GET request.
48 Garage samples provide usage of OCRepresentation, get/set attribute values
49 oic-resource/examples/garageclient.cpp
50 oic-resource/examples/garageserver.cpp
52 Fridge samples provide usage of constructResourceObject API, std bind
53 (for mapping request and responses), default
54 device entity handler, header options support and Delete operation.
55 oic-resource/examples/fridgeclient.cpp
56 oic-resource/examples/fridgeserver.cpp
58 Presence samples provides examples to use presence APIs
59 Sample with basic presence feature for server side: oic-resource/examples/presenceserver.cpp
60 Sample with basic presence feature for client side: oic-resource/examples/presenceclient.cpp
62 Room samples provides examples to use resource collection.
63 oic-resource/examples/roomclient.cpp
64 oic-resource/examples/roomserver.cpp
66 After building the code in oic-resource, executables for samples are in directory named
67 'oic-resource/samples/release'.
68 After building the code in oic-resource, executables are in directory named 'oic-resource/release'.
72 Collection samples are demonstrated in:
73 ocservercoll and occlientcoll
75 Slow response feature is demonstrated in:
76 ocserverslow and occlientslow
78 Client and server basic operations -- discovery, GET, PUT, POST (NON messages) demonstrated in:
79 ocserverbasicops and occlientbasicops
81 Client and server - discovery, GET,PUT,POST,DELETE,OBS for both NON and CON demonstrated in: