| /Zephyr-latest/samples/bluetooth/ccp_call_control_client/src/ |
| D | main.c | 41 static void connected_cb(struct bt_conn *conn, uint8_t err) in connected_cb() 69 static void security_changed_cb(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) in security_changed_cb() 142 int err; in scan_recv_cb() local 161 int err; in scan_and_connect() local 194 static void ccp_call_control_client_discover_cb(struct bt_ccp_call_control_client *client, int err, in ccp_call_control_client_discover_cb() 212 int err; in reset_ccp_call_control_client() local 243 int err; in discover_services() local 270 int err; in init_ccp_call_control_client() local 299 int err; in main() local
|
| /Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
| D | cap_commander_test.c | 81 static void cap_discovery_complete_cb(struct bt_conn *conn, int err, in cap_discovery_complete_cb() 107 static void cap_volume_changed_cb(struct bt_conn *conn, int err) in cap_volume_changed_cb() 123 static void cap_volume_mute_changed_cb(struct bt_conn *conn, int err) in cap_volume_mute_changed_cb() 140 static void cap_volume_offset_changed_cb(struct bt_conn *conn, int err) in cap_volume_offset_changed_cb() 159 static void cap_microphone_mute_changed_cb(struct bt_conn *conn, int err) in cap_microphone_mute_changed_cb() 176 static void cap_microphone_gain_changed_cb(struct bt_conn *conn, int err) in cap_microphone_gain_changed_cb() 195 static void cap_broadcast_reception_start_cb(struct bt_conn *conn, int err) in cap_broadcast_reception_start_cb() 211 static void cap_broadcast_reception_stop_cb(struct bt_conn *conn, int err) in cap_broadcast_reception_stop_cb() 249 static void cap_vcp_discover_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t vocs_count, in cap_vcp_discover_cb() 262 static void cap_vcp_state_cb(struct bt_vcp_vol_ctlr *vol_ctlr, int err, uint8_t volume, in cap_vcp_state_cb() [all …]
|
| D | has_client_test.c | 48 static void discover_cb(struct bt_conn *conn, int err, struct bt_has *has, in discover_cb() 62 static void preset_switch_cb(struct bt_has *has, int err, uint8_t index) in preset_switch_cb() 84 static void preset_read_rsp_cb(struct bt_has *has, int err, in preset_read_rsp_cb() 126 int err; in test_preset_switch() local 143 int err; in test_preset_next() local 160 int err; in test_preset_prev() local 177 int err; in discover_has() local 192 int err; in test_main() local 408 static void subscribe_cb(struct bt_conn *conn, uint8_t err, struct bt_gatt_subscribe_params *params) in subscribe_cb() 436 int err; in discover_features_cb() local [all …]
|
| /Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
| D | main.c | 72 static void connected_cb(struct bt_conn *conn, uint8_t err) in connected_cb() 106 int err; in advertise() local 164 int err; in reset_cap_acceptor() local 222 int err; in register_pac() local 266 int err; in init_cap_acceptor() local 287 int err; in init_cap_acceptor() local 301 int err; in init_cap_acceptor() local 316 int err; in main() local
|
| /Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
| D | cap_initiator_broadcast.c | 36 int err; in broadcast_stream_started_cb() local 50 int err; in broadcast_stream_stopped_cb() local 73 int err; in setup_extended_adv() local 111 int err; in broadcast_create() local 133 int err; in setup_extended_adv_data() local 178 int err; in start_extended_adv() local 200 int err; in broadcast_start() local 232 int err; in cap_initiator_broadcast() local
|
| D | cap_initiator_unicast.c | 82 int err; in is_tx_stream() local 128 int err; in unicast_stream_started_cb() local 154 int err; in unicast_stream_stopped_cb() local 255 static void discover_cb(struct bt_conn *conn, int err, enum bt_audio_dir dir) in discover_cb() 291 int err; in discover_sinks() local 315 int err; in discover_sources() local 349 int err; in unicast_group_create() local 375 int err; in unicast_group_delete() local 389 static void cap_discovery_complete_cb(struct bt_conn *conn, int err, in cap_discovery_complete_cb() 409 static void unicast_start_complete_cb(int err, struct bt_conn *conn) in unicast_start_complete_cb() [all …]
|
| /Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
| D | ccp_call_ctrl.c | 31 static void discover_cb(struct bt_conn *conn, int err, uint8_t tbs_count, bool gtbs_found) in discover_cb() 49 static void originate_call_cb(struct bt_conn *conn, int err, uint8_t inst_index, uint8_t call_index) in originate_call_cb() 64 static void terminate_call_cb(struct bt_conn *conn, int err, in terminate_call_cb() 79 static void read_uri_schemes_string_cb(struct bt_conn *conn, int err, in read_uri_schemes_string_cb() 126 int err; in ccp_call_ctrl_init() local 145 int err; in ccp_originate_call() local 162 int err; in ccp_terminate_call() local
|
| D | mcp_ctlr.c | 24 static void mcc_discover_mcs_cb(struct bt_conn *conn, int err) in mcc_discover_mcs_cb() 34 static void mcc_send_command_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_command_cb() 52 int err; in mcp_ctlr_init() local 70 int err; in mcp_send_cmd() local
|
| /Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/ |
| D | cis_central.c | 87 int err; in device_found() local 133 int err; in sdu_sent_cb() local 165 int err; in init() local 201 int err; in create_cig() local 221 int err; in reconfigure_cig_interval() local 256 int err; in reconfigure_cig_latency() local 285 int err; in reconfigure_cig() local 330 int err; in connect_acl() local 348 int err; in connect_cis() local 362 int err; in disconnect_cis() local [all …]
|
| /Zephyr-latest/tests/bluetooth/audio/bap_broadcast_source/src/ |
| D | test_callback_register.c | 38 int err; in ZTEST() local 47 int err; in ZTEST() local 56 int err; in ZTEST() local 67 int err; in ZTEST() local 79 int err; in ZTEST() local 88 int err; in ZTEST() local
|
| /Zephyr-latest/subsys/bluetooth/audio/ |
| D | mcc.c | 95 static void mcc_player_name_cb(struct bt_conn *conn, uint8_t err, const void *data, uint16_t length) in mcc_player_name_cb() 123 static uint8_t mcc_read_player_name_cb(struct bt_conn *conn, uint8_t err, in mcc_read_player_name_cb() 137 static uint8_t mcc_read_icon_obj_id_cb(struct bt_conn *conn, uint8_t err, in mcc_read_icon_obj_id_cb() 171 static uint8_t mcc_read_icon_url_cb(struct bt_conn *conn, uint8_t err, in mcc_read_icon_url_cb() 203 static void mcc_track_title_cb(struct bt_conn *conn, uint8_t err, const void *data, uint16_t length) in mcc_track_title_cb() 228 static uint8_t mcc_read_track_title_cb(struct bt_conn *conn, uint8_t err, in mcc_read_track_title_cb() 242 static void mcc_track_duration_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_track_duration_cb() 264 static uint8_t mcc_read_track_duration_cb(struct bt_conn *conn, uint8_t err, in mcc_read_track_duration_cb() 278 static void mcc_track_position_cb(struct bt_conn *conn, uint8_t err, const void *data, in mcc_track_position_cb() 300 static uint8_t mcc_read_track_position_cb(struct bt_conn *conn, uint8_t err, in mcc_read_track_position_cb() [all …]
|
| /Zephyr-latest/tests/bluetooth/df/connectionless_cte_rx/src/ |
| D | test_set_iq_sampling_enable.c | 92 int err; in ZTEST() local 101 int err; in ZTEST() local 117 int err; in ZTEST() local 137 int err; in ZTEST() local 153 int err; in ZTEST() local 167 int err; in ZTEST() local 182 int err; in ZTEST() local 198 int err; in ZTEST() local 214 int err; in ZTEST() local 233 int err; in ZTEST() local [all …]
|
| /Zephyr-latest/subsys/bluetooth/host/classic/ |
| D | hfp_ag.c | 66 int err; member 86 static enum at_cme bt_hfp_ag_get_cme_err(int err) in bt_hfp_ag_get_cme_err() 204 int err = bt_rfcomm_dlc_disconnect(&ag->rfcomm_dlc); in bt_hfp_ag_set_call_state() local 271 int err = bt_rfcomm_dlc_send(&ag->rfcomm_dlc, tx->buf); in hfp_ag_send() local 305 int err = hfp_ag_send(ag, tx); in bt_ag_tx_work() local 331 int err; in hfp_ag_send_data() local 398 int err = -EINVAL; in get_number() local 436 int err; in bt_hfp_ag_brsf_handler() local 462 int err = 0; in bt_hfp_ag_bac_handler() local 506 int err; in bt_hfp_ag_cind_handler() local [all …]
|
| /Zephyr-latest/tests/bsim/bluetooth/host/security/security_changed_callback/src/ |
| D | bs_bt_utils.c | 31 static void security_changed(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) in security_changed() 41 static void connected(struct bt_conn *conn, uint8_t err) in connected() 92 static void pairing_failed(struct bt_conn *conn, enum bt_security_err err) in pairing_failed() 104 int err; in bs_bt_utils_setup() local 123 int err; in stop_scan_and_connect() local 141 int err; in scan_connect_to_first_result() local 149 int err; in set_security() local 157 int err; in advertise_connectable() local
|
| D | peripheral.c | 29 enum bt_security_err err) in peripheral_security_changed_unpair() 42 int err; in peripheral_unpair_in_sec_cb() local 67 static void pairing_failed_disconnect(struct bt_conn *conn, enum bt_security_err err) in pairing_failed_disconnect() 74 enum bt_security_err err) in peripheral_security_changed_disconnect() 86 int err; in peripheral_disconnect_in_sec_cb() local
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/ |
| D | gatt_client_test.c | 33 static void connected(struct bt_conn *conn, uint8_t err) in connected() 67 void security_changed(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) in security_changed() 87 int err; in device_found() local 117 int err; in discover_func() local 165 int err; in gatt_discover() local 185 static void test_short_subscribed(struct bt_conn *conn, uint8_t err, in test_short_subscribed() 206 static void test_long_subscribed(struct bt_conn *conn, uint8_t err, in test_long_subscribed() 257 int err; in gatt_subscribe_short() local 271 int err; in gatt_unsubscribe_short() local 285 int err; in gatt_subscribe_long() local [all …]
|
| /Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/ |
| D | central.c | 61 int err; in gatt_write() local 87 int err; in ccc_subscribe() local 98 int err; in ccc_unsubscribe() local 110 int err; in device_found() local 129 static void connected(struct bt_conn *conn, uint8_t err) in connected() 166 static void security_changed(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) in security_changed() 182 int err; in start_scan() local 194 int err; in disconnect() local 209 int err; in connect_pair_subscribe() local 255 int err; in connect_restore_sec() local [all …]
|
| /Zephyr-latest/tests/bluetooth/host/id/bt_le_oob_get_local/src/ |
| D | test_suite_invalid_inputs.c | 53 int err; in ZTEST() local 76 int err; in ZTEST() local 102 int err; in ZTEST() local 142 int err; in ZTEST() local 187 int err; in ZTEST() local 240 int err; in ZTEST() local 293 int err; in ZTEST() local 346 int err; in ZTEST() local 391 int err; in ZTEST() local 430 int err; in ZTEST() local [all …]
|
| /Zephyr-latest/drivers/misc/ft8xx/ |
| D | ft8xx_common.c | 14 int err; in ft8xx_wr8() local 22 int err; in ft8xx_wr16() local 32 int err; in ft8xx_wr32() local 42 int err; in ft8xx_rd8() local 53 int err; in ft8xx_rd16() local 64 int err; in ft8xx_rd32() local
|
| /Zephyr-latest/samples/bluetooth/tmap_central/src/ |
| D | main.c | 49 void tmap_discovery_complete(enum bt_tmap_role role, struct bt_conn *conn, int err) in tmap_discovery_complete() 71 int err; in init() local 85 static void connected(struct bt_conn *conn, uint8_t err) in connected() 128 enum bt_security_err err) in security_changed() 151 int err; in check_audio_support_and_connect() local 227 int err; in start_scan() local 240 int err; in scan_and_connect() local 273 int err; in main() local
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_stress/src/ |
| D | gatt_client_test.c | 31 static void connected(struct bt_conn *conn, uint8_t err) in connected() 65 void security_changed(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) in security_changed() 85 int err; in device_found() local 115 int err; in discover_func() local 159 int err; in gatt_discover() local 179 static void test_long_subscribed(struct bt_conn *conn, uint8_t err, in test_long_subscribed() 224 int err; in gatt_subscribe_long() local 239 int err; in gatt_unsubscribe_long() local 254 int err; in setup() local
|
| /Zephyr-latest/tests/bsim/bluetooth/ll/multiple_id/src/ |
| D | main.c | 47 int err; in test_central_main() local 71 int err; in test_peripheral_main() local 89 int err; in test_central_multiple_main() local 113 int err; in test_peripheral_single_main() local 131 int err; in test_central_single_main() local 149 int err; in test_peripheral_multilink_main() local
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/ |
| D | gatt_client_test.c | 37 static void connected(struct bt_conn *conn, uint8_t err) in connected() 82 int err; in device_found() local 114 int err; in discover_func() local 169 int err; in gatt_discover() local 188 static void gatt_write_cb(struct bt_conn *conn, uint8_t err, in gatt_write_cb() 207 int err; in gatt_write() local 230 int err; in gatt_cp_write() local 251 static uint8_t gatt_read_cb(struct bt_conn *conn, uint8_t err, in gatt_read_cb() 279 int err; in gatt_read() local 308 int err; in test_main() local
|
| /Zephyr-latest/tests/bluetooth/audio/ccp_call_control_server/src/ |
| D | main.c | 92 int err; in register_default_bearer() local 122 int err; in ZTEST_F() local 133 int err; in ZTEST_F() local 151 int err; in ZTEST_F() local 169 int err; in ZTEST_F() local 187 int err; in ZTEST_F() local 211 int err; in ZTEST_F() local 233 int err; in ZTEST_F() local 244 int err; in ZTEST_F() local 260 int err; in ZTEST_F() local
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/ |
| D | gatt_client_test.c | 36 static void exchange_func(struct bt_conn *conn, uint8_t err, struct bt_gatt_exchange_params *params) in exchange_func() 45 static void connected(struct bt_conn *conn, uint8_t err) in connected() 86 void security_changed(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) in security_changed() 106 int err; in device_found() local 136 int err; in discover_func() local 187 int err; in gatt_discover() local 209 uint8_t err, in test_subscribed() 259 static void write_cb(struct bt_conn *conn, uint8_t err, struct bt_gatt_write_params *params) in write_cb() 282 int err; in write_csf() local 300 int err; in subscribe() local [all …]
|