Sample implementation of ocf_light 63/24263/24
authorGeorge Nash <george.nash@intel.com>
Fri, 9 Feb 2018 22:57:25 +0000 (14:57 -0800)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 2 Apr 2018 17:09:05 +0000 (17:09 +0000)
commitd13005a302edb536acff5b5773a3810752583fe6
treeb7160c90eb35eb8963685db62ddafb4925f80e2a
parent17e378328e5f21183d6eac1304546f1f7ebe69d3
Sample implementation of ocf_light

This sample borrows a lot of code from the server
sample generated from the DeviceBuilder project
https://github.com/openconnectivityfoundation/DeviceBuilder

Eventhough this borrows a lot of code from the
DeviceBuilder project it has been modified to make
it more useful as an example separating the code into
smaller classes and adding helper classes.

This code has been run against the OCF CTT. See the
README.md file for more information about the CTT
results.

Change-Id: If0ae5e3527517bb722648a614fbd96f13ad01144
Signed-off-by: George Nash <george.nash@intel.com>
21 files changed:
resource/examples/SConscript
resource/examples/ocf_light/BinarySwitchResource.cpp [new file with mode: 0644]
resource/examples/ocf_light/BinarySwitchResource.h [new file with mode: 0644]
resource/examples/ocf_light/DimmingLightControl.cpp [new file with mode: 0644]
resource/examples/ocf_light/DimmingLightControl.h [new file with mode: 0644]
resource/examples/ocf_light/DimmingLightServer.cpp [new file with mode: 0644]
resource/examples/ocf_light/DimmingLightServer.h [new file with mode: 0644]
resource/examples/ocf_light/DimmingResource.cpp [new file with mode: 0644]
resource/examples/ocf_light/DimmingResource.h [new file with mode: 0644]
resource/examples/ocf_light/Platform.cpp [new file with mode: 0644]
resource/examples/ocf_light/Platform.h [new file with mode: 0644]
resource/examples/ocf_light/README.md [new file with mode: 0644]
resource/examples/ocf_light/Resource.h [new file with mode: 0644]
resource/examples/ocf_light/SConscript [new file with mode: 0644]
resource/examples/ocf_light/dimming_light_server.cpp [new file with mode: 0644]
resource/examples/ocf_light/dl_PICS.json [new file with mode: 0644]
resource/examples/ocf_light/dl_server_introspection.dat [new file with mode: 0644]
resource/examples/ocf_light/dl_server_introspection.json [new file with mode: 0644]
resource/examples/ocf_light/dl_server_security.dat [new file with mode: 0644]
resource/examples/ocf_light/dl_server_security.json [new file with mode: 0644]
resource/examples/ocf_light/dl_server_security.json.in [new file with mode: 0644]