Change-Id: I14938eeb9b7b3ecab31c0e4bd6d5050d199fda13
Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
FPRINTF("[Line : %d][%s] [%s] is not supported\\n", __LINE__, API_NAMESPACE, FEATURE_BLUETOOTH_LE);
return 0;
}
+
+ bool bIsSupportedGattClient = false;
+ IS_FEATURE_SUPPORTED(FEATURE_BLUETOOTH_GATT_CLIENT, bIsSupportedGattClient, API_NAMESPACE);
+ if ( false == bIsSupportedGattClient )
+ {
+ FPRINTF("[Line : %d][%s] [%s] is not supported\\n", __LINE__, API_NAMESPACE, FEATURE_BLUETOOTH_GATT_CLIENT);
+ return 0;
+ }
else
{
nRet = bt_initialize();
#define FEATURE_BLUETOOTH_TETHERING "http://tizen.org/feature/network.tethering.bluetooth"
#define FEATURE_BLUETOOTH_OPP "http://tizen.org/feature/network.bluetooth.opp"
#define FEATURE_BLUETOOTH_CALL "http://tizen.org/feature/network.bluetooth.audio.call"
+#define FEATURE_BLUETOOTH_GATT_CLIENT "http://tizen.org/feature/network.bluetooth.le.gatt.client"
#define FEATURE_CAMERA_BACK_FLASH "http://tizen.org/feature/camera.back.flash"
#define FEATURE_CAMERA_FRONT_FLASH "http://tizen.org/feature/camera.front.flash"
#define FEATURE_GPS "http://tizen.org/feature/location.gps"