Add C++ API for Direct pairing 77/8277/4
authorAshwini Kumar <k.ashwini@samsung.com>
Mon, 23 May 2016 08:26:22 +0000 (13:56 +0530)
committerRandeep Singh <randeep.s@samsung.com>
Tue, 14 Jun 2016 02:33:44 +0000 (02:33 +0000)
commit1863a89819d8f9964f91165e90a1e4aee59d7a1d
tree7d376f4bf85a0d74baa38baa6bd25b3facf4fff1
parenta7b8bf18e871a2576fc6b2ee872f6f7e7082781b
Add C++ API for Direct pairing

 Added C++ API for direct pairing feature
 Updated unittests for C++
 Added direct pairing sample
 Fixed Construct resource to '|' Secure flag instead of '&'

 Note: this change needs https://gerrit.iotivity.org/gerrit/#/c/8273/

Change-Id: I4a1cfc27206adf7308388406d0c8821aa46d87a8
Signed-off-by: Ashwini Kumar <k.ashwini@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8277
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
23 files changed:
resource/csdk/security/src/directpairing.c
resource/examples/SConscript
resource/examples/directpairingclient.cpp [new file with mode: 0644]
resource/examples/oic_svr_db_client_directpairing.dat [new file with mode: 0644]
resource/examples/oic_svr_db_client_directpairing.json [new file with mode: 0644]
resource/include/IClientWrapper.h
resource/include/InProcClientWrapper.h
resource/include/OCApi.h
resource/include/OCDirectPairing.h [new file with mode: 0644]
resource/include/OCPlatform.h
resource/include/OCPlatform_impl.h
resource/include/OCProvisioningManager.h
resource/include/OutOfProcClientWrapper.h
resource/provisioning/examples/provisioningclient.cpp
resource/provisioning/src/OCProvisioningManager.cpp
resource/provisioning/unittests/OCProvisioningTest.cpp
resource/src/InProcClientWrapper.cpp
resource/src/OCDirectPairing.cpp [new file with mode: 0644]
resource/src/OCPlatform.cpp
resource/src/OCPlatform_impl.cpp
resource/src/OCResource.cpp
resource/src/SConscript
resource/unittests/OCPlatformTest.cpp