Lines Matching refs:cb_err
176 int cb_err = err; in mcc_player_name_cb() local
184 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_player_name_cb()
198 mcc_cb->read_player_name(conn, cb_err, name); in mcc_player_name_cb()
221 int cb_err = err; in mcc_read_icon_obj_id_cb() local
230 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_icon_obj_id_cb()
237 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_read_icon_obj_id_cb()
242 mcc_cb->read_icon_obj_id(conn, cb_err, id); in mcc_read_icon_obj_id_cb()
254 int cb_err = err; in mcc_read_icon_url_cb() local
262 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_icon_url_cb()
264 cb_err = BT_ATT_ERR_INSUFFICIENT_RESOURCES; in mcc_read_icon_url_cb()
273 mcc_cb->read_icon_url(conn, cb_err, url); in mcc_read_icon_url_cb()
281 int cb_err = err; in mcc_track_title_cb() local
287 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_track_title_cb()
300 mcc_cb->read_track_title(conn, cb_err, title); in mcc_track_title_cb()
319 int cb_err = err; in mcc_track_duration_cb() local
326 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_track_duration_cb()
334 mcc_cb->read_track_duration(conn, cb_err, dur); in mcc_track_duration_cb()
353 int cb_err = err; in mcc_track_position_cb() local
360 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_track_position_cb()
368 mcc_cb->read_track_position(conn, cb_err, pos); in mcc_track_position_cb()
388 int cb_err = err; in mcs_write_track_position_cb() local
396 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_track_position_cb()
404 mcc_cb->set_track_position(conn, cb_err, pos); in mcs_write_track_position_cb()
411 int cb_err = err; in mcc_playback_speed_cb() local
418 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_playback_speed_cb()
426 mcc_cb->read_playback_speed(conn, cb_err, speed); in mcc_playback_speed_cb()
446 int cb_err = err; in mcs_write_playback_speed_cb() local
454 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_playback_speed_cb()
461 mcc_cb->set_playback_speed(conn, cb_err, speed); in mcs_write_playback_speed_cb()
468 int cb_err = err; in mcc_seeking_speed_cb() local
475 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_seeking_speed_cb()
483 mcc_cb->read_seeking_speed(conn, cb_err, speed); in mcc_seeking_speed_cb()
505 int cb_err = err; in mcc_read_segments_obj_id_cb() local
514 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_segments_obj_id_cb()
521 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_read_segments_obj_id_cb()
526 mcc_cb->read_segments_obj_id(conn, cb_err, id); in mcc_read_segments_obj_id_cb()
535 int cb_err = err; in mcc_current_track_obj_id_cb() local
543 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_current_track_obj_id_cb()
550 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_current_track_obj_id_cb()
555 mcc_cb->read_current_track_obj_id(conn, cb_err, id); in mcc_current_track_obj_id_cb()
575 int cb_err = err; in mcs_write_current_track_obj_id_cb() local
583 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_current_track_obj_id_cb()
589 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcs_write_current_track_obj_id_cb()
594 mcc_cb->set_current_track_obj_id(conn, cb_err, obj_id); in mcs_write_current_track_obj_id_cb()
601 int cb_err = err; in mcc_next_track_obj_id_cb() local
611 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_next_track_obj_id_cb()
618 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_next_track_obj_id_cb()
623 mcc_cb->read_next_track_obj_id(conn, cb_err, id); in mcc_next_track_obj_id_cb()
643 int cb_err = err; in mcs_write_next_track_obj_id_cb() local
651 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_next_track_obj_id_cb()
657 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcs_write_next_track_obj_id_cb()
662 mcc_cb->set_next_track_obj_id(conn, cb_err, obj_id); in mcs_write_next_track_obj_id_cb()
669 int cb_err = err; in mcc_parent_group_obj_id_cb() local
677 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_parent_group_obj_id_cb()
684 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_parent_group_obj_id_cb()
689 mcc_cb->read_parent_group_obj_id(conn, cb_err, id); in mcc_parent_group_obj_id_cb()
708 int cb_err = err; in mcc_current_group_obj_id_cb() local
716 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_current_group_obj_id_cb()
723 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_current_group_obj_id_cb()
728 mcc_cb->read_current_group_obj_id(conn, cb_err, id); in mcc_current_group_obj_id_cb()
748 int cb_err = err; in mcs_write_current_group_obj_id_cb() local
756 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_current_group_obj_id_cb()
762 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcs_write_current_group_obj_id_cb()
767 mcc_cb->set_current_group_obj_id(conn, cb_err, obj_id); in mcs_write_current_group_obj_id_cb()
775 int cb_err = err; in mcc_playing_order_cb() local
782 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_playing_order_cb()
790 mcc_cb->read_playing_order(conn, cb_err, order); in mcc_playing_order_cb()
810 int cb_err = err; in mcs_write_playing_order_cb() local
818 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_playing_order_cb()
825 mcc_cb->set_playing_order(conn, cb_err, order); in mcs_write_playing_order_cb()
834 int cb_err = err; in mcc_read_playing_orders_supported_cb() local
842 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_playing_orders_supported_cb()
850 mcc_cb->read_playing_orders_supported(conn, cb_err, orders); in mcc_read_playing_orders_supported_cb()
858 int cb_err = err; in mcc_media_state_cb() local
865 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_media_state_cb()
873 mcc_cb->read_media_state(conn, cb_err, state); in mcc_media_state_cb()
893 int cb_err = err; in mcs_write_cp_cb() local
906 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_cp_cb()
919 mcc_cb->send_cmd(conn, cb_err, &cmd); in mcs_write_cp_cb()
926 int cb_err = err; in mcc_opcodes_supported_cb() local
933 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_opcodes_supported_cb()
942 mcc_cb->read_opcodes_supported(conn, cb_err, operations); in mcc_opcodes_supported_cb()
963 int cb_err = err; in mcs_write_scp_cb() local
973 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_write_scp_cb()
981 mcc_cb->send_search(conn, cb_err, &search); in mcs_write_scp_cb()
988 int cb_err = err; in mcc_search_results_obj_id_cb() local
1000 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_search_results_obj_id_cb()
1006 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_search_results_obj_id_cb()
1011 mcc_cb->read_search_results_obj_id(conn, cb_err, id); in mcc_search_results_obj_id_cb()
1033 int cb_err = err; in mcc_read_content_control_id_cb() local
1042 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_content_control_id_cb()
1050 mcc_cb->read_content_control_id(conn, cb_err, ccid); in mcc_read_content_control_id_cb()
1086 int cb_err = 0; in mcs_notify_handler() local
1093 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_notify_handler()
1097 mcc_cb->track_changed_ntf(conn, cb_err); in mcs_notify_handler()
1150 int cb_err = 0; in mcs_notify_handler() local
1161 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_notify_handler()
1165 mcc_cb->cmd_ntf(conn, cb_err, &ntf); in mcs_notify_handler()
1176 int cb_err = 0; in mcs_notify_handler() local
1185 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcs_notify_handler()
1189 mcc_cb->search_ntf(conn, cb_err, result_code); in mcs_notify_handler()
3100 int cb_err = 0; in on_icon_content() local
3109 cb_err = -EMSGSIZE; in on_icon_content()
3119 mcc_cb->otc_icon_object(conn, cb_err, &otc_obj_buf); in on_icon_content()
3185 int cb_err = 0; in on_track_segments_content() local
3192 cb_err = -EMSGSIZE; in on_track_segments_content()
3216 cb_err, &otc_obj_buf); in on_track_segments_content()
3229 int cb_err = 0; in on_current_track_content() local
3238 cb_err = -EMSGSIZE; in on_current_track_content()
3248 mcc_cb->otc_current_track_object(conn, cb_err, &otc_obj_buf); in on_current_track_content()
3261 int cb_err = 0; in on_next_track_content() local
3270 cb_err = -EMSGSIZE; in on_next_track_content()
3280 mcc_cb->otc_next_track_object(conn, cb_err, &otc_obj_buf); in on_next_track_content()
3320 int cb_err = 0; in on_parent_group_content() local
3329 cb_err = -EMSGSIZE; in on_parent_group_content()
3353 mcc_cb->otc_parent_group_object(conn, cb_err, &otc_obj_buf); in on_parent_group_content()
3366 int cb_err = 0; in on_current_group_content() local
3375 cb_err = -EMSGSIZE; in on_current_group_content()
3399 mcc_cb->otc_current_group_object(conn, cb_err, &otc_obj_buf); in on_current_group_content()