Initial commit of IPCA.
authorSoemin Tjong <stjong@microsoft.com>
Wed, 22 Feb 2017 09:17:52 +0000 (01:17 -0800)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Thu, 23 Mar 2017 23:51:23 +0000 (23:51 +0000)
commitef190bc35cf47274ebe1df4e623c773c59f00f99
tree7ff59b55ad988252083cd7ac2bae7b9ba87baf74
parent3ba462f8b704ed953c4423a9e123ca6c00d3f23c
Initial commit of IPCA.

IPCA stands for IoTivity Procedural Client Api, which implements C APIs
for accessing IoTivity RESTful CRUDN APIs.

IPCA uses the C++ APIs provided by OCPlatform and OCResource.
It is intended to be used by application developers, or by code
generated from swagger, to develop IoTivity client apps.

IPCA supports APIs for Discovery of IoTivity devices, Create, Delete
and Observe resources, Get and Set property values, and security
related APIs for password display (typically used in Onboarding
Tool case) and password input (typically used in Multiple Ownership
Transfer case).

Please find more info in: https://wiki.iotivity.org/ipca.
And more info in code:
inc\IPCA.h for API documentation.
src for the implementation of IPCA.
samples\ElevatorClient for sample application that uses the IPCA api.
samples\ipcaapp for sample application that discovers any IoTivity
devices on the network.

Change-Id: I683b02786d4df32b2feacdd9f1674350214b0618
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17449
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
50 files changed:
resource/IPCA/SConscript [new file with mode: 0644]
resource/IPCA/inc/ipca.h [new file with mode: 0644]
resource/IPCA/samples/ElevatorClient/ElevatorClient.cpp [new file with mode: 0644]
resource/IPCA/samples/ElevatorClient/OCFDevice.cpp [new file with mode: 0644]
resource/IPCA/samples/ElevatorClient/OCFDevice.h [new file with mode: 0644]
resource/IPCA/samples/ElevatorClient/SConscript [new file with mode: 0644]
resource/IPCA/samples/ElevatorServer/ElevatorServerSample.cpp [new file with mode: 0644]
resource/IPCA/samples/ElevatorServer/ElevatorServerSecurityDB.dat [new file with mode: 0644]
resource/IPCA/samples/ElevatorServer/ElevatorServerSecurityDB.json [new file with mode: 0644]
resource/IPCA/samples/ElevatorServer/SConscript [new file with mode: 0644]
resource/IPCA/samples/ElevatorServer/elevatorserver.cpp [new file with mode: 0644]
resource/IPCA/samples/ElevatorServer/elevatorserver.h [new file with mode: 0644]
resource/IPCA/samples/SConscript [new file with mode: 0644]
resource/IPCA/samples/ipcaapp/SConscript [new file with mode: 0644]
resource/IPCA/samples/ipcaapp/ipcaapp.cpp [new file with mode: 0644]
resource/IPCA/src/SConscript [new file with mode: 0644]
resource/IPCA/src/app.cpp [new file with mode: 0644]
resource/IPCA/src/callback.cpp [new file with mode: 0644]
resource/IPCA/src/common.cpp [new file with mode: 0644]
resource/IPCA/src/device.cpp [new file with mode: 0644]
resource/IPCA/src/inc/app.h [new file with mode: 0644]
resource/IPCA/src/inc/callback.h [new file with mode: 0644]
resource/IPCA/src/inc/common.h [new file with mode: 0644]
resource/IPCA/src/inc/device.h [new file with mode: 0644]
resource/IPCA/src/inc/ipcainternal.h [new file with mode: 0644]
resource/IPCA/src/inc/ocfframework.h [new file with mode: 0644]
resource/IPCA/src/ipca.cpp [new file with mode: 0644]
resource/IPCA/src/ipca.def [new file with mode: 0644]
resource/IPCA/src/ipcavariant.cpp [new file with mode: 0644]
resource/IPCA/src/ocfframework.cpp [new file with mode: 0644]
resource/IPCA/src/pretendocprovision.cpp [new file with mode: 0644]
resource/IPCA/unittests/IPCAElevatorClient.cpp [new file with mode: 0644]
resource/IPCA/unittests/IPCAElevatorClient.h [new file with mode: 0644]
resource/IPCA/unittests/IPCAUnitTest.dat [new file with mode: 0644]
resource/IPCA/unittests/IPCAUnitTest.json [new file with mode: 0644]
resource/IPCA/unittests/SConscript [new file with mode: 0644]
resource/IPCA/unittests/ipcatestdata.h [new file with mode: 0644]
resource/IPCA/unittests/ipcaunittests.cpp [new file with mode: 0644]
resource/IPCA/unittests/mockInProcClientWrapper.cpp [new file with mode: 0644]
resource/IPCA/unittests/mockInProcServerWrapper.cpp [new file with mode: 0644]
resource/IPCA/unittests/mockOC.cpp [new file with mode: 0644]
resource/IPCA/unittests/mockOCPlatform_impl.cpp [new file with mode: 0644]
resource/IPCA/unittests/testelevatorclient.cpp [new file with mode: 0644]
resource/IPCA/unittests/testelevatorclient.h [new file with mode: 0644]
resource/IPCA/unittests/testelevatorserver.cpp [new file with mode: 0644]
resource/IPCA/unittests/testelevatorserver.h [new file with mode: 0644]
resource/SConscript
resource/csdk/include/octypes.h
resource/csdk/stack/octbstack_product_secured.def
resource/unit_tests.scons