INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};\r
IO_EXCEPTION = {name: 'IOError'};\r
SECURITY_EXCEPTION = {name: 'SecurityError'};\r
-BT_SUPPORT = webapis.featureconfig.getFeatureConfigBool("com.samsung/featureconf/bluetooth.support");\r
-LE_SUPPORT = webapis.featureconfig.getFeatureConfigBool("com.samsung/featureconf/bluetooth_le_supported");\r
-LE_GATT_SUPPORT = webapis.featureconfig.getFeatureConfigBool("com.samsung/featureconf/bluetooth_le_gatt_client_supported");\r
+\r
+try {\r
+ BT_SUPPORT = webapis.featureconfig.getFeatureConfigBool("com.samsung/featureconf/bluetooth.support");\r
+ LE_SUPPORT = webapis.featureconfig.getFeatureConfigBool("com.samsung/featureconf/bluetooth_le_supported");\r
+ LE_GATT_SUPPORT = webapis.featureconfig.getFeatureConfigBool("com.samsung/featureconf/bluetooth_le_gatt_client_supported");\r
+} catch(e) {\r
+ console.log(" webapis.featureconfig.getFeatureConfigBool Exception. reason : " + e.message + "(" + e.code + ")");\r
+ BT_SUPPORT = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth");\r
+ LE_SUPPORT = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.le");\r
+ LE_GATT_SUPPORT = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth.le.gatt.client");\r
+}\r
\r
(function () {\r
var head_src = document.head.innerHTML;\r