Home
last modified time | relevance | path

Searched refs:cb_err (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dvocs_client.c125 int cb_err = err; in vocs_client_read_offset_state_cb() local
138 if (cb_err) { in vocs_client_read_offset_state_cb()
148 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vocs_client_read_offset_state_cb()
152 cb_err = BT_ATT_ERR_UNLIKELY; in vocs_client_read_offset_state_cb()
156 inst->cb->state(&inst->vocs, cb_err, cb_err ? 0 : inst->state.offset); in vocs_client_read_offset_state_cb()
166 int cb_err = err; in vocs_client_read_location_cb() local
179 if (cb_err) { in vocs_client_read_location_cb()
188 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vocs_client_read_location_cb()
192 cb_err = BT_ATT_ERR_UNLIKELY; in vocs_client_read_location_cb()
196 inst->cb->location(&inst->vocs, cb_err, cb_err ? 0 : inst->location); in vocs_client_read_location_cb()
[all …]
Daics_client.c128 int cb_err = err; in aics_client_read_state_cb() local
142 if (cb_err) { in aics_client_read_state_cb()
145 inst->cli.cb->state(inst, cb_err, 0, 0, 0); in aics_client_read_state_cb()
158 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in aics_client_read_state_cb()
162 cb_err = BT_ATT_ERR_UNLIKELY; in aics_client_read_state_cb()
166 inst->cli.cb->state(inst, cb_err, state->gain, in aics_client_read_state_cb()
177 int cb_err = err; in aics_client_read_gain_settings_cb() local
191 if (cb_err) { in aics_client_read_gain_settings_cb()
194 inst->cli.cb->gain_setting(inst, cb_err, 0, 0, 0); in aics_client_read_gain_settings_cb()
205 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in aics_client_read_gain_settings_cb()
[all …]
Dmcc.c97 int cb_err = err; in mcc_player_name_cb() local
105 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_player_name_cb()
119 mcc_cb->read_player_name(conn, cb_err, name); in mcc_player_name_cb()
142 int cb_err = err; in mcc_read_icon_obj_id_cb() local
151 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_icon_obj_id_cb()
158 cb_err = BT_GATT_ERR(BT_ATT_ERR_VALUE_NOT_ALLOWED); in mcc_read_icon_obj_id_cb()
163 mcc_cb->read_icon_obj_id(conn, cb_err, id); in mcc_read_icon_obj_id_cb()
176 int cb_err = err; in mcc_read_icon_url_cb() local
184 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in mcc_read_icon_url_cb()
186 cb_err = BT_ATT_ERR_INSUFFICIENT_RESOURCES; in mcc_read_icon_url_cb()
[all …]
Dvcp_vol_ctlr.c136 int cb_err = err; in vcp_vol_ctlr_read_vol_state_cb() local
141 if (cb_err) { in vcp_vol_ctlr_read_vol_state_cb()
142 LOG_DBG("err: %d", cb_err); in vcp_vol_ctlr_read_vol_state_cb()
153 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vcp_vol_ctlr_read_vol_state_cb()
157 vcp_vol_ctlr_state_changed(vol_ctlr, cb_err); in vcp_vol_ctlr_read_vol_state_cb()
166 int cb_err = err; in vcp_vol_ctlr_read_vol_flag_cb() local
171 if (cb_err) { in vcp_vol_ctlr_read_vol_flag_cb()
172 LOG_DBG("err: %d", cb_err); in vcp_vol_ctlr_read_vol_flag_cb()
180 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vcp_vol_ctlr_read_vol_flag_cb()
184 vcp_vol_ctlr_vol_flags_changed(vol_ctlr, cb_err); in vcp_vol_ctlr_read_vol_flag_cb()
[all …]
Dbap_broadcast_assistant.c561 int cb_err = err; in read_recv_state_cb() local
570 if (cb_err == 0 && active_recv_state) { in read_recv_state_cb()
575 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_HANDLE); in read_recv_state_cb()
577 cb_err = parse_recv_state(data, length, &recv_state); in read_recv_state_cb()
579 if (cb_err != 0) { in read_recv_state_cb()
596 if (cb_err != 0) { in read_recv_state_cb()
597 LOG_DBG("err %d", cb_err); in read_recv_state_cb()
600 bap_broadcast_assistant_discover_complete(conn, cb_err, 0); in read_recv_state_cb()
603 bap_broadcast_assistant_recv_state_changed(conn, cb_err, NULL); in read_recv_state_cb()
609 bap_broadcast_assistant_discover_complete(conn, cb_err, recv_state_cnt); in read_recv_state_cb()
[all …]
Dtbs_client.c1010 uint8_t cb_err = err; in read_technology_cb() local
1024 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_technology_cb()
1030 technology_changed(conn, cb_err, inst_index, technology); in read_technology_cb()
1086 uint8_t cb_err = err; in read_signal_strength_cb() local
1100 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_signal_strength_cb()
1106 signal_strength_changed(conn, cb_err, inst_index, signal_strength); in read_signal_strength_cb()
1133 uint8_t cb_err = err; in read_signal_interval_cb() local
1147 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_signal_interval_cb()
1153 signal_interval_changed(conn, cb_err, inst_index, signal_interval); in read_signal_interval_cb()
1234 uint8_t cb_err = err; in read_ccid_cb() local
[all …]
Dbap_unicast_client.c3655 int cb_err; in unicast_client_ase_read_func() local
3660 cb_err = err; in unicast_client_ase_read_func()
3674 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in unicast_client_ase_read_func()
3690 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in unicast_client_ase_read_func()
3702 cb_err = -ENOMEM; in unicast_client_ase_read_func()
3708 cb_err = unicast_client_ep_subscribe(conn, ep); in unicast_client_ase_read_func()
3709 if (cb_err != 0) { in unicast_client_ase_read_func()
3710 LOG_DBG("Failed to subscribe to ep %p: %d", ep, cb_err); in unicast_client_ase_read_func()
3718 cb_err = unicast_client_ase_discover(conn, handle); in unicast_client_ase_read_func()
3719 if (cb_err != 0) { in unicast_client_ase_read_func()
[all …]
Dcsip_set_coordinator.c985 int cb_err = err; in csip_set_coordinator_discover_insts_read_sirk_cb() local
995 cb_err = parse_sirk(client, data, length); in csip_set_coordinator_discover_insts_read_sirk_cb()
997 if (cb_err != 0) { in csip_set_coordinator_discover_insts_read_sirk_cb()
998 LOG_DBG("Could not parse SIRK: %d", cb_err); in csip_set_coordinator_discover_insts_read_sirk_cb()
1021 int cb_err = 0; in discover_insts_resume() local
1025 cb_err = csip_set_coordinator_read_set_size( in discover_insts_resume()
1028 if (cb_err != 0) { in discover_insts_resume()
1029 LOG_DBG("Could not read set size: %d", cb_err); in discover_insts_resume()
1032 cb_err = csip_set_coordinator_read_rank( in discover_insts_resume()
1035 if (cb_err != 0) { in discover_insts_resume()
[all …]
Dmicp_mic_ctlr.c130 uint8_t cb_err = err; in micp_mic_ctlr_read_mute_cb() local
143 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in micp_mic_ctlr_read_mute_cb()
147 micp_mic_ctlr_mute_changed(mic_ctlr, cb_err, mute_val); in micp_mic_ctlr_read_mute_cb()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_client.c460 uint8_t cb_err = err; in read_feature_cb() local
488 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_feature_cb()
1113 uint8_t cb_err = err; in read_obj_properties_cb() local
1144 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_obj_properties_cb()