Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dvocs_client.c117 int cb_err = err; in vocs_client_read_offset_state_cb() local
130 if (cb_err) { in vocs_client_read_offset_state_cb()
140 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vocs_client_read_offset_state_cb()
144 cb_err = BT_ATT_ERR_UNLIKELY; in vocs_client_read_offset_state_cb()
148 inst->cb->state(&inst->vocs, cb_err, cb_err ? 0 : inst->state.offset); in vocs_client_read_offset_state_cb()
158 int cb_err = err; in vocs_client_read_location_cb() local
171 if (cb_err) { in vocs_client_read_location_cb()
180 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vocs_client_read_location_cb()
184 cb_err = BT_ATT_ERR_UNLIKELY; in vocs_client_read_location_cb()
188 inst->cb->location(&inst->vocs, cb_err, cb_err ? 0 : inst->location); in vocs_client_read_location_cb()
[all …]
Daics_client.c120 int cb_err = err; in aics_client_read_state_cb() local
134 if (cb_err) { in aics_client_read_state_cb()
137 inst->cli.cb->state(inst, cb_err, 0, 0, 0); in aics_client_read_state_cb()
150 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in aics_client_read_state_cb()
154 cb_err = BT_ATT_ERR_UNLIKELY; in aics_client_read_state_cb()
158 inst->cli.cb->state(inst, cb_err, state->gain, in aics_client_read_state_cb()
169 int cb_err = err; in aics_client_read_gain_settings_cb() local
183 if (cb_err) { in aics_client_read_gain_settings_cb()
186 inst->cli.cb->gain_setting(inst, cb_err, 0, 0, 0); in aics_client_read_gain_settings_cb()
197 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in aics_client_read_gain_settings_cb()
[all …]
Dmcc.c176 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()
[all …]
Dvcp_vol_ctlr.c76 int cb_err = err; in vcp_vol_ctlr_read_vol_state_cb() local
81 if (cb_err) { in vcp_vol_ctlr_read_vol_state_cb()
82 LOG_DBG("err: %d", cb_err); in vcp_vol_ctlr_read_vol_state_cb()
93 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in vcp_vol_ctlr_read_vol_state_cb()
98 if (cb_err) { in vcp_vol_ctlr_read_vol_state_cb()
99 vcp_vol_ctlr_cb->state(vol_ctlr, cb_err, 0, 0); in vcp_vol_ctlr_read_vol_state_cb()
101 vcp_vol_ctlr_cb->state(vol_ctlr, cb_err, in vcp_vol_ctlr_read_vol_state_cb()
114 int cb_err = err; in vcp_vol_ctlr_read_flag_cb() local
119 if (cb_err) { in vcp_vol_ctlr_read_flag_cb()
120 LOG_DBG("err: %d", cb_err); in vcp_vol_ctlr_read_flag_cb()
[all …]
Dbap_broadcast_assistant.c252 int cb_err = err; in read_recv_state_cb() local
261 if (cb_err == 0 && active_recv_state) { in read_recv_state_cb()
266 cb_err = BT_GATT_ERR(BT_ATT_ERR_INVALID_HANDLE); in read_recv_state_cb()
268 cb_err = parse_recv_state(data, length, &recv_state); in read_recv_state_cb()
270 if (cb_err != 0) { in read_recv_state_cb()
281 if (cb_err != 0) { in read_recv_state_cb()
282 LOG_DBG("err: %d", cb_err); in read_recv_state_cb()
288 cb_err, 0); in read_recv_state_cb()
294 cb_err, in read_recv_state_cb()
304 conn, cb_err, in read_recv_state_cb()
[all …]
Dtbs_client.c907 uint8_t cb_err = err; in read_technology_cb() local
921 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_technology_cb()
928 tbs_client_cbs->technology(conn, cb_err, inst_index, technology); in read_technology_cb()
962 uint8_t cb_err = err; in read_signal_strength_cb() local
976 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_signal_strength_cb()
983 tbs_client_cbs->signal_strength(conn, cb_err, inst_index, in read_signal_strength_cb()
1000 uint8_t cb_err = err; in read_signal_interval_cb() local
1014 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_signal_interval_cb()
1021 tbs_client_cbs->signal_interval(conn, cb_err, inst_index, in read_signal_interval_cb()
1101 uint8_t cb_err = err; in read_ccid_cb() local
[all …]
Dcsip_set_coordinator.c961 int cb_err = err; in csip_set_coordinator_discover_insts_read_set_sirk_cb() local
973 cb_err = parse_sirk(client, data, length); in csip_set_coordinator_discover_insts_read_set_sirk_cb()
975 if (cb_err != 0) { in csip_set_coordinator_discover_insts_read_set_sirk_cb()
976 LOG_DBG("Could not parse SIRK: %d", cb_err); in csip_set_coordinator_discover_insts_read_set_sirk_cb()
1000 int cb_err = 0; in discover_insts_resume() local
1004 cb_err = csip_set_coordinator_read_set_size( in discover_insts_resume()
1007 if (cb_err != 0) { in discover_insts_resume()
1008 LOG_DBG("Could not read set size: %d", cb_err); in discover_insts_resume()
1011 cb_err = csip_set_coordinator_read_rank( in discover_insts_resume()
1014 if (cb_err != 0) { in discover_insts_resume()
[all …]
Dbap_unicast_client.c3326 int cb_err; in unicast_client_pacs_avail_ctx_read_func() local
3355 cb_err = unicast_client_ase_discover(conn, BT_ATT_FIRST_ATTRIBUTE_HANDLE); in unicast_client_pacs_avail_ctx_read_func()
3356 if (cb_err != 0) { in unicast_client_pacs_avail_ctx_read_func()
3357 LOG_ERR("Unable to read ASE: %d", cb_err); in unicast_client_pacs_avail_ctx_read_func()
3507 int cb_err; in unicast_client_pacs_location_read_func() local
3538 cb_err = unicast_client_pacs_avail_ctx_discover(conn); in unicast_client_pacs_location_read_func()
3539 if (cb_err != 0) { in unicast_client_pacs_location_read_func()
3540 LOG_ERR("Unable to read available contexts: %d", cb_err); in unicast_client_pacs_location_read_func()
3542 discover_cb(conn, cb_err); in unicast_client_pacs_location_read_func()
3702 int cb_err; in unicast_client_pacs_context_read_func() local
[all …]
Dmicp_mic_ctlr.c69 uint8_t cb_err = err; in micp_mic_ctlr_read_mute_cb() local
83 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in micp_mic_ctlr_read_mute_cb()
88 micp_mic_ctlr_cb->mute(mic_ctlr, cb_err, mute_val); in micp_mic_ctlr_read_mute_cb()
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/
Dots_client.c443 uint8_t cb_err = err; in read_feature_cb() local
471 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_feature_cb()
1094 uint8_t cb_err = err; in read_obj_properties_cb() local
1125 cb_err = BT_ATT_ERR_INVALID_ATTRIBUTE_LEN; in read_obj_properties_cb()