if (ret != BLUETOOTH_ERROR_NONE) {
BT_ERR("_bt_connect_profile Error");
- g_free(func_data->address);
- g_free(func_data);
return ret;
}
return BLUETOOTH_ERROR_NONE;
if (ret != BLUETOOTH_ERROR_NONE) {
BT_ERR("_bt_disconnect_profile Error");
- g_free(func_data->address);
- g_free(func_data);
return ret;
}
int _bt_hid_enable_barcode_feature(void)
{
- if (vconf_set_bool(BT_HID_BARCODE_SUPPORT, true) != 0) {
+ if (vconf_set_int(BT_HID_BARCODE_SUPPORT, 1) != 0) {
BT_ERR("Set vconf failed\n");
return BLUETOOTH_ERROR_INTERNAL;
}
return BLUETOOTH_ERROR_NONE;
}
-