/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | media_controller.c | 49 shell_error(ctx_shell, "Local player instance failed (%d)", err); in local_player_instance_cb() 54 shell_print(ctx_shell, "Local player instance: %p", local_player); in local_player_instance_cb() 65 shell_error(ctx_shell, "Discover player failed (%d)", err); in discover_player_cb() 70 shell_print(ctx_shell, "Discovered player instance: %p", remote_player); in discover_player_cb() 80 shell_error(ctx_shell, "Player: %p, Player name failed (%d)", plr, err); in player_name_cb() 84 shell_print(ctx_shell, "Player: %p, Player name: %s", plr, name); in player_name_cb() 92 shell_error(ctx_shell, "Player: %p, Icon ID failed (%d)", plr, err); in icon_id_cb() 97 shell_print(ctx_shell, "Player: %p, Icon Object ID: %s", plr, str); in icon_id_cb() 103 shell_error(ctx_shell, "Player: %p, Icon URL failed (%d)", plr, err); in icon_url_cb() 107 shell_print(ctx_shell, "Player: %p, Icon URL: %s", plr, url); in icon_url_cb() [all …]
|
D | micp_mic_ctlr.c | 35 shell_error(ctx_shell, "Discovery failed (%d)", err); in micp_mic_ctlr_discover_cb() 37 shell_print(ctx_shell, "Discovery done with %u AICS", in micp_mic_ctlr_discover_cb() 43 shell_error(ctx_shell, "Could not get included services"); in micp_mic_ctlr_discover_cb() 53 shell_error(ctx_shell, "Mute write failed (%d)", err); in micp_mic_ctlr_mute_written_cb() 55 shell_print(ctx_shell, "Mute write completed"); in micp_mic_ctlr_mute_written_cb() 63 shell_error(ctx_shell, "Unmute write failed (%d)", err); in micp_mic_ctlr_unmute_written_cb() 65 shell_print(ctx_shell, "Unmute write completed"); in micp_mic_ctlr_unmute_written_cb() 73 shell_error(ctx_shell, "Mute get failed (%d)", err); in micp_mic_ctlr_mute_cb() 75 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_ctlr_mute_cb() 85 shell_error(ctx_shell, "Set gain failed (%d) for inst %p", in micp_mic_ctlr_aics_set_gain_cb() [all …]
|
D | vcp_vol_ctlr.c | 34 shell_error(ctx_shell, "VCP discover failed (%d)", err); in vcs_discover_cb() 36 shell_print(ctx_shell, "VCP discover done with %u VOCS and %u AICS", vocs_count, in vcs_discover_cb() 40 shell_error(ctx_shell, "Could not get VCP context"); in vcs_discover_cb() 48 shell_error(ctx_shell, "VCP vol_down failed (%d)", err); in vcs_vol_down_cb() 50 shell_print(ctx_shell, "VCP vol_down done"); in vcs_vol_down_cb() 57 shell_error(ctx_shell, "VCP vol_up failed (%d)", err); in vcs_vol_up_cb() 59 shell_print(ctx_shell, "VCP vol_up done"); in vcs_vol_up_cb() 66 shell_error(ctx_shell, "VCP mute failed (%d)", err); in vcs_mute_cb() 68 shell_print(ctx_shell, "VCP mute done"); in vcs_mute_cb() 75 shell_error(ctx_shell, "VCP unmute failed (%d)", err); in vcs_unmute_cb() [all …]
|
D | mcc.c | 56 shell_error(ctx_shell, "Discovery failed (%d)", err); in mcc_discover_mcs_cb() 60 shell_print(ctx_shell, "Discovery complete"); in mcc_discover_mcs_cb() 66 shell_error(ctx_shell, "Player Name read failed (%d)", err); in mcc_read_player_name_cb() 70 shell_print(ctx_shell, "Player name: %s", name); in mcc_read_player_name_cb() 79 shell_error(ctx_shell, "Icon Object ID read failed (%d)", err); in mcc_read_icon_obj_id_cb() 84 shell_print(ctx_shell, "Icon object ID: %s", str); in mcc_read_icon_obj_id_cb() 94 shell_error(ctx_shell, "Icon URL read failed (%d)", err); in mcc_read_icon_url_cb() 98 shell_print(ctx_shell, "Icon URL: 0x%s", url); in mcc_read_icon_url_cb() 106 shell_error(ctx_shell, "Track title read failed (%d)", err); in mcc_read_track_title_cb() 110 shell_print(ctx_shell, "Track title: %s", title); in mcc_read_track_title_cb() [all …]
|
D | has_client.c | 32 shell_error(ctx_shell, "HAS discovery (err %d)", err); in has_client_discover_cb() 36 shell_print(ctx_shell, "HAS discovered %p type 0x%02x caps 0x%02x for conn %p", in has_client_discover_cb() 45 shell_error(ctx_shell, "HAS %p preset switch error (err %d)", has, err); in has_client_preset_switch_cb() 47 shell_print(ctx_shell, "HAS %p preset switch index 0x%02x", has, index); in has_client_preset_switch_cb() 55 shell_error(ctx_shell, "Preset Read operation failed (err %d)", err); in has_client_preset_read_rsp_cb() 59 shell_print(ctx_shell, "Preset Index: 0x%02x\tProperties: 0x%02x\tName: %s", in has_client_preset_read_rsp_cb() 63 shell_print(ctx_shell, "Preset Read operation complete"); in has_client_preset_read_rsp_cb() 77 if (!ctx_shell) { in cmd_has_client_init() 78 ctx_shell = sh; in cmd_has_client_init() 98 if (!ctx_shell) { in cmd_has_client_discover() [all …]
|
D | csip_set_coordinator.c | 62 shell_error(ctx_shell, "Failed to connect to %s (%u)", in connected_cb() 69 shell_print(ctx_shell, "[%u]: Connected to %s", conn_index, addr); in connected_cb() 74 shell_print(ctx_shell, "Member[%u] connected", conn_index); in connected_cb() 97 shell_error(ctx_shell, "discover failed (%d)", err); in csip_discover_cb() 102 shell_warn(ctx_shell, "Device has no sets"); in csip_discover_cb() 108 shell_print(ctx_shell, "Found %zu sets on member[%u]", in csip_discover_cb() 112 shell_print(ctx_shell, "CSIS[%zu]: %p", i, &member->insts[i]); in csip_discover_cb() 113 shell_print(ctx_shell, "\tRank: %u", member->insts[i].info.rank); in csip_discover_cb() 114 shell_print(ctx_shell, "\tSet Size: %u", member->insts[i].info.set_size); in csip_discover_cb() 115 shell_print(ctx_shell, "\tLockable: %u", member->insts[i].info.lockable); in csip_discover_cb() [all …]
|
D | bap_broadcast_assistant.c | 70 shell_error(ctx_shell, "BASE get size failed (%d)", base_size); in pa_decode_base() 98 shell_error(ctx_shell, "BASS discover failed (%d)", err); in bap_broadcast_assistant_discover_cb() 100 shell_print(ctx_shell, "BASS discover done with %u recv states", in bap_broadcast_assistant_discover_cb() 112 shell_print(ctx_shell, in bap_broadcast_assistant_scan_cb() 124 shell_print(ctx_shell, "\t\tMetadata length %u, type %u, data: %s", in metadata_entry() 139 shell_error(ctx_shell, "BASS recv state read failed (%d)", err); in bap_broadcast_assistant_recv_state_cb() 148 shell_print(ctx_shell, in bap_broadcast_assistant_recv_state_cb() 159 shell_print(ctx_shell, "\t[%d]: BIS sync 0x%04X, metadata_len %zu", i, in bap_broadcast_assistant_recv_state_cb() 177 shell_print(ctx_shell, "Found matching PA sync [%zu]", i); in bap_broadcast_assistant_recv_state_cb() 183 shell_print(ctx_shell, "Sending PAST"); in bap_broadcast_assistant_recv_state_cb() [all …]
|
D | tmap.c | 49 shell_error(ctx_shell, "tmap discovery (err %d)", err); in tmap_discover_cb() 53 shell_print(ctx_shell, "tmap discovered for conn %p: role 0x%04x", conn, role); in tmap_discover_cb() 70 if (!ctx_shell) { in cmd_tmap_discover() 71 ctx_shell = sh; in cmd_tmap_discover()
|
D | bap_scan_delegator.c | 186 shell_info(ctx_shell, "PA timeout for %p", state->recv_state); in pa_timer_handler() 203 shell_info(ctx_shell, "Could not do PAST subscribe: %d", err); in pa_sync_past() 205 shell_info(ctx_shell, "Syncing with PAST: %d", err); in pa_sync_past() 236 shell_info(ctx_shell, "Could not sync per adv: %d", err); in pa_sync_no_past() 241 shell_info(ctx_shell, "PA sync pending for addr %s", addr_str); in pa_sync_no_past() 261 shell_info(ctx_shell, "Deleting PA sync"); in pa_sync_term() 265 shell_error(ctx_shell, "Could not delete per adv sync: %d", in pa_sync_term() 278 shell_info(ctx_shell, "Receive state with ID %u updated", recv_state->src_id); in recv_state_updated_cb() 287 shell_info(ctx_shell, in pa_sync_req_cb() 294 shell_error(ctx_shell, "Could not get state"); in pa_sync_req_cb() [all …]
|
D | bap.c | 297 shell_error(ctx_shell, "NULL stream to init LC3"); in init_lc3_encoder() 302 shell_error(ctx_shell, "Invalid stream to init LC3 encoder"); in init_lc3_encoder() 307 shell_error(ctx_shell, "Already initialized"); in init_lc3_encoder() 312 shell_error(ctx_shell, "Invalid freq (%u) or frame duration (%u)", in init_lc3_encoder() 322 shell_error(ctx_shell, "Cannot put %u octets in lc3_tx_buf of size %zu", in init_lc3_encoder() 329 shell_print(ctx_shell, in init_lc3_encoder() 340 shell_error(ctx_shell, "Failed to setup LC3 encoder - wrong parameters?\n"); in init_lc3_encoder() 394 shell_print(ctx_shell, "[%zu]: Encoding frame of size %u (%u/%u)", in encode_frame() 402 shell_error(ctx_shell, "LC3 encoder failed - wrong parameters?: %d", lc3_ret); in encode_frame() 459 shell_error(ctx_shell, "LC3 encoder not setup, cannot encode data"); in lc3_audio_send_data() [all …]
|
D | cap_commander.c | 32 shell_error(ctx_shell, "discover failed (%d)", err); in cap_discover_cb() 36 shell_print(ctx_shell, "discovery completed%s", csis_inst == NULL ? "" : " with CSIS"); in cap_discover_cb() 43 shell_error(ctx_shell, "Volume change failed (%d)", err); in cap_volume_changed_cb() 47 shell_print(ctx_shell, "Volume change completed"); in cap_volume_changed_cb() 53 shell_error(ctx_shell, "Volume mute change failed (%d)", err); in cap_volume_mute_changed_cb() 57 shell_print(ctx_shell, "Volume mute change completed"); in cap_volume_mute_changed_cb() 63 shell_error(ctx_shell, "Volume offset change failed (%d)", err); in cap_volume_offset_changed_cb() 67 shell_print(ctx_shell, "Volume offset change completed"); in cap_volume_offset_changed_cb() 76 shell_error(ctx_shell, "Microphone mute change failed (%d)", err); in cap_microphone_mute_changed_cb() 80 shell_print(ctx_shell, "Microphone mute change completed"); in cap_microphone_mute_changed_cb() [all …]
|
D | pbp.c | 38 extern const struct shell *ctx_shell; 69 shell_info(ctx_shell, "Create Public Broadcast Announcement"); in pbp_ad_data_add() 71 shell_error(ctx_shell, "Failed to create Public Broadcast Announcement: %d", err); in pbp_ad_data_add()
|
D | vcp_vol_rend.c | 34 shell_error(ctx_shell, "VCP state get failed (%d)", err); in vcp_vol_rend_state_cb() 36 shell_print(ctx_shell, "VCP volume %u, mute %u", volume, mute); in vcp_vol_rend_state_cb() 43 shell_error(ctx_shell, "VCP flags get failed (%d)", err); in vcp_vol_rend_flags_cb() 45 shell_print(ctx_shell, "VCP flags 0x%02X", flags); in vcp_vol_rend_flags_cb() 53 shell_error(ctx_shell, in aics_state_cb() 57 shell_print(ctx_shell, in aics_state_cb() 67 shell_error(ctx_shell, in aics_gain_setting_cb() 71 shell_print(ctx_shell, in aics_gain_setting_cb() 81 shell_error(ctx_shell, in aics_input_type_cb() 85 shell_print(ctx_shell, "AICS inst %p input type %u", in aics_input_type_cb() [all …]
|
D | micp_mic_dev.c | 30 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_dev_mute_cb() 44 shell_error(ctx_shell, "AICS state get failed (%d) for " in micp_mic_dev_aics_state_cb() 47 shell_print(ctx_shell, "AICS inst %p state gain %d, mute %u, " in micp_mic_dev_aics_state_cb() 57 shell_error(ctx_shell, "AICS gain settings get failed (%d) for " in micp_mic_dev_aics_gain_setting_cb() 60 shell_print(ctx_shell, "AICS inst %p gain settings units %u, " in micp_mic_dev_aics_gain_setting_cb() 70 shell_error(ctx_shell, "AICS input type get failed (%d) for " in micp_mic_dev_aics_input_type_cb() 73 shell_print(ctx_shell, "AICS inst %p input type %u", in micp_mic_dev_aics_input_type_cb() 82 shell_error(ctx_shell, "AICS status get failed (%d) for " in micp_mic_dev_aics_status_cb() 85 shell_print(ctx_shell, "AICS inst %p status %s", in micp_mic_dev_aics_status_cb() 94 shell_error(ctx_shell, "AICS description get failed (%d) for " in micp_mic_dev_aics_description_cb() [all …]
|
D | audio.h | 1033 shell_print(ctx_shell, "%*sBIS index: 0x%02X", indent, "", bis->index); in print_base_subgroup_bis_cb() 1048 print_codec_cfg(ctx_shell, indent, &codec_cfg); in print_base_subgroup_bis_cb() 1050 shell_print(ctx_shell, "%*sCodec specific configuration:", indent, ""); in print_base_subgroup_bis_cb() 1051 print_ltv_array(ctx_shell, indent, bis->data, bis->data_len); in print_base_subgroup_bis_cb() 1054 shell_print(ctx_shell, "%*sCodec specific configuration:", indent, ""); in print_base_subgroup_bis_cb() 1057 shell_fprintf(ctx_shell, SHELL_NORMAL, "%*s", indent, ""); in print_base_subgroup_bis_cb() 1060 shell_fprintf(ctx_shell, SHELL_NORMAL, "%02X", bis->data[i]); in print_base_subgroup_bis_cb() 1063 shell_fprintf(ctx_shell, SHELL_NORMAL, "\n"); in print_base_subgroup_bis_cb() 1078 shell_print(ctx_shell, "Subgroup %p:", subgroup); in print_base_subgroup_cb() 1085 shell_print(ctx_shell, "%*sCodec Format: 0x%02X", indent, "", codec_id.id); in print_base_subgroup_cb() [all …]
|
D | csip_set_member.c | 34 extern const struct shell *ctx_shell; 43 shell_error(ctx_shell, "Server %s the device", in locked_cb() 50 shell_print(ctx_shell, "Client %s %s the device", in locked_cb() 65 shell_print(ctx_shell, "Client %s requested to read the sirk. " in sirk_read_req_cb() 330 shell_warn(ctx_shell, "RSI derived from unencrypted SIRK"); in csis_ad_data_add() 335 shell_error(ctx_shell, "Failed to generate RSI (err %d)", err); in csis_ad_data_add()
|
D | cap_acceptor.c | 48 extern const struct shell *ctx_shell; 57 shell_error(ctx_shell, "Server %s the device", in locked_cb() 64 shell_print(ctx_shell, "Client %s %s the device", in locked_cb() 79 shell_print(ctx_shell, "Client %s requested to read the sirk. " in sirk_read_req_cb() 356 shell_warn(ctx_shell, "RSI derived from unencrypted SIRK"); in cap_acceptor_ad_data_add() 361 shell_error(ctx_shell, "Failed to generate RSI (err %d)", err); in cap_acceptor_ad_data_add()
|
D | cap_initiator.c | 50 shell_error(ctx_shell, "discover failed (%d)", err); in cap_discover_cb() 54 shell_print(ctx_shell, "discovery completed%s", in cap_discover_cb() 61 shell_print(ctx_shell, "Unicast start was cancelled for conn %p", conn); in cap_unicast_start_complete_cb() 63 shell_error(ctx_shell, "Unicast start failed for conn %p (%d)", conn, err); in cap_unicast_start_complete_cb() 65 shell_print(ctx_shell, "Unicast start completed"); in cap_unicast_start_complete_cb() 72 shell_print(ctx_shell, "Unicast update was cancelled for conn %p", conn); in unicast_update_complete_cb() 74 shell_error(ctx_shell, "Unicast update failed for conn %p (%d)", in unicast_update_complete_cb() 77 shell_print(ctx_shell, "Unicast updated completed"); in unicast_update_complete_cb() 84 shell_print(ctx_shell, "Unicast stop was cancelled for conn %p", conn); in unicast_stop_complete_cb() 86 shell_error(ctx_shell, "Unicast stop failed for conn %p (%d)", conn, err); in unicast_stop_complete_cb() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/shell/ |
D | a2dp.c | 210 shell_print(ctx_shell, "endpoint id: %d, %s, %s:", ep_info->sep_info.id, in shell_a2dp_print_capabilities() 214 shell_print(ctx_shell, " codec type: SBC"); in shell_a2dp_print_capabilities() 217 shell_error(ctx_shell, " wrong sbc codec ie"); in shell_a2dp_print_capabilities() 221 shell_print(ctx_shell, " sample frequency:"); in shell_a2dp_print_capabilities() 223 shell_print(ctx_shell, " 16000 "); in shell_a2dp_print_capabilities() 226 shell_print(ctx_shell, " 32000 "); in shell_a2dp_print_capabilities() 229 shell_print(ctx_shell, " 44100 "); in shell_a2dp_print_capabilities() 232 shell_print(ctx_shell, " 48000"); in shell_a2dp_print_capabilities() 235 shell_print(ctx_shell, " channel mode:"); in shell_a2dp_print_capabilities() 237 shell_print(ctx_shell, " Mono "); in shell_a2dp_print_capabilities() [all …]
|
D | bredr.c | 149 shell_print(ctx_shell, "[DEVICE]: %s, RSSI %i %s", br_addr, rssi, name); in br_device_found() 159 shell_print(ctx_shell, "BR/EDR discovery complete"); in br_discovery_complete() 210 shell_print(ctx_shell, "Incoming data channel %p len %u", chan, in l2cap_recv() 218 shell_print(ctx_shell, "Channel %p connected", chan); in l2cap_connected() 223 shell_print(ctx_shell, "Channel %p disconnected", chan); in l2cap_disconnected() 228 shell_print(ctx_shell, "Channel %p requires buffer", chan); in l2cap_alloc_buf() 249 shell_print(ctx_shell, "Incoming BR/EDR conn %p", conn); in l2cap_accept() 252 shell_error(ctx_shell, "No channels available"); in l2cap_accept() 372 shell_print(ctx_shell, "SDP HFPAG data@%p (len %u) hint %u from" in sdp_hfp_ag_user() 384 shell_error(ctx_shell, "Error getting Server CN, " in sdp_hfp_ag_user() [all …]
|
D | ias.c | 21 extern const struct shell *ctx_shell; 25 shell_print(ctx_shell, "Alert stopped\n"); in alert_stop() 30 shell_print(ctx_shell, "Mild alert started\n"); in alert_start() 35 shell_print(ctx_shell, "High alert started\n"); in alert_high_start()
|
D | ias_client.c | 20 extern const struct shell *ctx_shell; 25 shell_error(ctx_shell, "Failed to discover IAS err: %d\n", err); in ias_discover_cb() 27 shell_print(ctx_shell, "IAS discover success\n"); in ias_discover_cb() 39 if (!ctx_shell) { in cmd_ias_client_init() 40 ctx_shell = sh; in cmd_ias_client_init()
|
D | rfcomm.c | 104 shell_print(ctx_shell, "Incoming data dlc %p len %u", dlci, buf->len); in rfcomm_recv() 109 shell_print(ctx_shell, "Dlc %p connected", dlci); in rfcomm_connected() 114 shell_print(ctx_shell, "Dlc %p disconnected", dlci); in rfcomm_disconnected() 130 shell_print(ctx_shell, "Incoming RFCOMM conn %p", conn); in rfcomm_accept() 133 shell_error(ctx_shell, "No channels available"); in rfcomm_accept()
|
D | bt.c | 47 const struct shell *ctx_shell; variable 126 shell_print(ctx_shell, "%s address: %s (%s)", desc, addr_str, in print_le_addr() 304 shell_fprintf(ctx_shell, color, "0x"); in print_data_hex() 309 shell_fprintf(ctx_shell, color, "%02x", data[i]); in print_data_hex() 324 shell_fprintf(ctx_shell, SHELL_INFO, ADV_DATA_DELIMITER); in print_data_set() 332 shell_fprintf(ctx_shell, SHELL_WARNING, " Excess data: "); in print_data_set() 339 shell_fprintf(ctx_shell, SHELL_INFO, "%*sType 0x%02x: ", in data_verbose_cb() 353 shell_fprintf(ctx_shell, SHELL_WARNING, in data_verbose_cb() 360 shell_fprintf(ctx_shell, SHELL_INFO, ADV_DATA_DELIMITER); in data_verbose_cb() 374 shell_fprintf(ctx_shell, SHELL_WARNING, in data_verbose_cb() [all …]
|
D | l2cap.c | 92 shell_print(ctx_shell, "Confirming reception"); in l2cap_recv_cb() 105 shell_print(ctx_shell, "Incoming data channel %p len %u", chan, in l2cap_recv() 109 shell_hexdump(ctx_shell, buf->data, buf->len); in l2cap_recv() 115 shell_print(ctx_shell, "Delaying response in %u ms...", in l2cap_recv() 130 shell_print(ctx_shell, "Outgoing data channel %p transmitted", chan); in l2cap_sent() 135 shell_print(ctx_shell, "Channel %p status %u", chan, (uint32_t)*status); in l2cap_status() 144 shell_print(ctx_shell, "Channel %p connected", chan); in l2cap_connected() 149 shell_print(ctx_shell, "Channel %p disconnected", chan); in l2cap_disconnected() 156 shell_print(ctx_shell, "Channel %p requires buffer", chan); in l2cap_alloc_buf() 220 shell_print(ctx_shell, "Incoming conn %p", conn); in l2cap_accept() [all …]
|