return ret;
}
+/* LCOV_EXCL_START */
static int __bt_remove_ad_data_by_type(char *in_data, unsigned int in_len,
char in_type, char **data, unsigned int *data_len)
{
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_STOP */
static int bt_adapter_le_add_advertising_data(bt_advertiser_h advertiser,
bt_adapter_le_packet_type_e pkt_type,
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_START */
static int bt_adapter_le_remove_advertising_data(bt_advertiser_h advertiser,
bt_adapter_le_packet_type_e pkt_type,
bt_adapter_le_advertising_data_type_e data_type)
return ret;
}
+/* LCOV_EXCL_STOP */
static int __bt_convert_string_to_uuid(const char *string,
char **uuid, int *bit)
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_START */
int _bt_le_adapter_deinit(void)
{
if (!is_le_initialized) {
}
if (!_bt_check_cb(BT_EVENT_LE_STATE_CHANGED)) {
- if (bluetooth_le_unregister_callback() != BLUETOOTH_ERROR_NONE) { /* LCOV_EXCL_LINE */
- BT_ERR("OPERATION_FAILED(0x%08x)", BT_ERROR_OPERATION_FAILED); /* LCOV_EXCL_LINE */
- return BT_ERROR_OPERATION_FAILED; /* LCOV_EXCL_LINE */
+ if (bluetooth_le_unregister_callback() != BLUETOOTH_ERROR_NONE) {
+ BT_ERR("OPERATION_FAILED(0x%08x)", BT_ERROR_OPERATION_FAILED);
+ return BT_ERROR_OPERATION_FAILED;
}
- is_le_initialized = false; /* LCOV_EXCL_LINE */
+ is_le_initialized = false;
}
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_STOP */
int _bt_get_error_code(int origin_error)
{
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_START */
int bt_device_set_att_mtu_changed_cb(bt_device_att_mtu_changed_cb callback, void *user_data)
{
BT_CHECK_SUPPORTED_FEATURE(BT_FEATURE_COMMON);
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_STOP */
int bt_device_unset_bond_created_cb(void)
{
BT_CHECK_INIT_STATUS();
_bt_unset_cb(BT_EVENT_RSSI_ALERT_EVENT);
return BT_ERROR_NONE;
-} /* LCOV_EXCL_STOP */
+}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
int bt_device_unset_att_mtu_changed_cb(void)
{
BT_CHECK_SUPPORTED_FEATURE(BT_FEATURE_COMMON);
_bt_unset_cb(BT_EVENT_GATT_ATT_MTU_CHANGE_STATUS);
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_STOP */
/* LCOV_EXCL_START */
int bt_device_enable_rssi_monitor(const char *remote_address,
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_START */
static int __get_write_prop(bt_gatt_write_type_e type, bt_gatt_property_e *prop)
{
if (!prop)
return BT_ERROR_NONE;
}
+/* LCOV_EXCL_STOP */
int bt_gatt_service_destroy(bt_gatt_h gatt_handle)
{
_bt_set_cb(BT_EVENT_MAP_CLIENT_LIST_FOLDERS, callback, user_data);
}
- return error_code; /* LCOV_EXCL_STOP */
+ return error_code;
}
int bt_map_client_list_filter_fields(bt_map_client_session_info_h handle,
_bt_set_cb(BT_EVENT_MAP_CLIENT_GET_MESSAGE, callback, data);
}
- return error_code; /* LCOV_EXCL_STOP */
+ return error_code;
}
void bt_map_client_list_folders_filter_create(bt_map_client_list_folders_filter_h *filter)