Change-Id: I86c0304fb62c48337d8c062a9d2b010d08597d2f
Signed-off-by: injun.yang <injun.yang@samsung.com>
_bt_convert_error_to_string(ret), ret);
goto fail;
}
+
+ ret = _bt_get_error_code(bluetooth_gatt_set_descriptor_value(desc->path,
+ desc->value, desc->value_length));
+
+ if (ret != BT_ERROR_NONE) {
+ BT_ERR("%s(0x%08x)",
+ _bt_convert_error_to_string(ret), ret);
+ goto fail;
+ }
}
}
fail:
BT_ERR("Registering Service failed!!!!!");
+ bluetooth_gatt_unregister_service(svc->path);
return ret;
}