[IOT-1459]Add CA API which returns selected transport adapter
authorbg.chun <bg.chun@samsung.com>
Tue, 18 Oct 2016 11:35:55 +0000 (20:35 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Mon, 24 Oct 2016 06:37:45 +0000 (06:37 +0000)
commit3d9a2e92970edfe906e6c279819e710a0df65074
treef88cde2b74f6796c473dcfcb59e77ede35a8cc79
parentbf9d03f2d0187e501c84221a197d12052f4cb648
[IOT-1459]Add CA API which returns selected transport adapter

Add CA API which returns selected transport adapter.
Returns bit combinations of CATransportAdapter_t enumeration
which indicate enabled adapter.
CATransportAdapter_t CAGetSelectedNetwork();

Change-Id: If9116991585ab20b56303875d2d83a79316d2387
Signed-off-by: bg.chun <bg.chun@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13391
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/api/cainterface.h
resource/csdk/connectivity/src/canetworkconfigurator.c
resource/csdk/connectivity/test/ca_api_unittest.cpp