Lines Matching refs:printf

270         printf("A2DP Source: not enough memory to create local stream endpoint\n");  in a2dp_source_and_avrcp_services_init()
350 printf("could not initialize hxcmod\n"); in a2dp_demo_hexcmod_configure_sample_rate()
512 printf("Received media codec configuration:\n"); in dump_sbc_configuration()
513 printf(" - num_channels: %d\n", configuration->num_channels); in dump_sbc_configuration()
514 printf(" - sampling_frequency: %d\n", configuration->sampling_frequency); in dump_sbc_configuration()
515 printf(" - channel_mode: %d\n", configuration->channel_mode); in dump_sbc_configuration()
516 printf(" - block_length: %d\n", configuration->block_length); in dump_sbc_configuration()
517 printf(" - subbands: %d\n", configuration->subbands); in dump_sbc_configuration()
518 printf(" - allocation_method: %d\n", configuration->allocation_method); in dump_sbc_configuration()
519printf(" - bitpool_value [%d, %d] \n", configuration->min_bitpool_value, configuration->max_bit… in dump_sbc_configuration()
523 printf("Start scanning...\n"); in a2dp_source_demo_start_scanning()
549 printf("Pin code request - using '0000'\n"); in hci_packet_handler()
556 printf("Device found: %s ", bd_addr_to_str(address)); in hci_packet_handler()
558 printf("with COD: %06" PRIx32, cod); in hci_packet_handler()
560 printf(", rssi %d dBm", (int8_t) gap_event_inquiry_result_get_rssi(packet)); in hci_packet_handler()
567 printf(", name '%s'", name_buffer); in hci_packet_handler()
569 printf("\n"); in hci_packet_handler()
572printf("Bluetooth speaker detected, trying to connect to %s...\n", bd_addr_to_str(device_addr)); in hci_packet_handler()
580 printf("No Bluetooth speakers found, scanning again...\n"); in hci_packet_handler()
610printf("A2DP Source: Connection failed, status 0x%02x, cid 0x%02x, a2dp_cid 0x%02x \n", status, ci… in a2dp_source_packet_handler()
617printf("A2DP Source: Connected to address %s, a2dp cid 0x%02x, local seid 0x%02x.\n", bd_addr_to_s… in a2dp_source_packet_handler()
637printf("A2DP Source: Received SBC codec configuration, sampling frequency %u, a2dp_cid 0x%02x, loc… in a2dp_source_packet_handler()
675 printf("A2DP Source: remote supports delay report, remote seid %d\n", in a2dp_source_packet_handler()
679 printf("A2DP Source: All capabilities reported, remote seid %d\n", in a2dp_source_packet_handler()
684 printf("A2DP Source: Received delay report of %d.%0d ms, local seid %d\n", in a2dp_source_packet_handler()
693 printf("A2DP Source: Stream failed, status 0x%02x.\n", status); in a2dp_source_packet_handler()
700printf("A2DP Source: Stream established a2dp_cid 0x%02x, local_seid 0x%02x, remote_seid 0x%02x\n",… in a2dp_source_packet_handler()
713 printf("A2DP Source: Stream reconfiguration failed, status 0x%02x\n", status); in a2dp_source_packet_handler()
717printf("A2DP Source: Stream reconfigured a2dp_cid 0x%02x, local_seid 0x%02x\n", cid, local_seid); in a2dp_source_packet_handler()
732printf("A2DP Source: Stream started, a2dp_cid 0x%02x, local_seid 0x%02x\n", cid, local_seid); in a2dp_source_packet_handler()
749printf("A2DP Source: Stream paused, a2dp_cid 0x%02x, local_seid 0x%02x\n", cid, local_seid); in a2dp_source_packet_handler()
759printf("A2DP Source: Stream released, a2dp_cid 0x%02x, local_seid 0x%02x\n", cid, local_seid); in a2dp_source_packet_handler()
763 printf("A2DP Source: Stream released.\n"); in a2dp_source_packet_handler()
776 printf("A2DP Source: Signaling released.\n\n"); in a2dp_source_packet_handler()
799printf("AVRCP: Connection failed, local cid 0x%02x, status 0x%02x\n", local_cid, status); in avrcp_packet_handler()
805printf("AVRCP: Channel to %s successfully opened, avrcp_cid 0x%02x\n", bd_addr_to_str(event_addr),… in avrcp_packet_handler()
812 printf("Enable Volume Change notification\n"); in avrcp_packet_handler()
814 printf("Enable Battery Status Change notification\n"); in avrcp_packet_handler()
819printf("AVRCP Target: Disconnected, avrcp_cid 0x%02x\n", avrcp_subevent_connection_released_get_av… in avrcp_packet_handler()
827 printf("Responding to event 0x%02x failed, status 0x%02x\n", packet[2], status); in avrcp_packet_handler()
855printf("AVRCP Target: operation %s (%s)\n", avrcp_operation2str(operation_id), button_state); in avrcp_target_packet_handler()
879 printf("Responding to event 0x%02x failed, status 0x%02x\n", packet[2], status); in avrcp_target_packet_handler()
893printf("AVRCP Controller: Notification Absolute Volume %d %%\n", avrcp_subevent_notification_volum… in avrcp_controller_packet_handler()
897printf("AVRCP Controller: Notification Battery Status 0x%02x\n", avrcp_subevent_notification_event… in avrcp_controller_packet_handler()
900 printf("AVRCP Controller: Notification %s - %s\n", in avrcp_controller_packet_handler()
913 printf("\n--- Bluetooth A2DP Source/AVRCP Demo %s ---\n", bd_addr_to_str(iut_address)); in show_usage()
914 printf("a - Scan for Bluetooth speaker and connect\n"); in show_usage()
915 printf("b - A2DP Source create connection to addr %s\n", device_addr_string); in show_usage()
916 printf("B - A2DP Source disconnect\n"); in show_usage()
917 printf("c - AVRCP create connection to addr %s\n", device_addr_string); in show_usage()
918 printf("C - AVRCP disconnect\n"); in show_usage()
919 printf("D - delete all link keys\n"); in show_usage()
921 printf("x - start streaming sine\n"); in show_usage()
923 printf("z - start streaming '%s'\n", mod_name); in show_usage()
925 printf("p - pause streaming\n"); in show_usage()
926 printf("w - reconfigure stream for 44100 Hz\n"); in show_usage()
927 printf("e - reconfigure stream for 48000 Hz\n"); in show_usage()
928 printf("t - volume up\n"); in show_usage()
929 printf("T - volume down\n"); in show_usage()
930 printf("v - volume up (via set absolute volume)\n"); in show_usage()
931 printf("V - volume down (via set absolute volume)\n"); in show_usage()
933 printf("---\n"); in show_usage()
944printf("%c - Create A2DP Source connection to addr %s, cid 0x%02x.\n", cmd, bd_addr_to_str(device_… in stdin_process()
947 printf("%c - A2DP Source Disconnect from cid 0x%2x\n", cmd, media_tracker.a2dp_cid); in stdin_process()
951 printf("%c - Create AVRCP connection to addr %s.\n", cmd, bd_addr_to_str(device_addr)); in stdin_process()
955 printf("%c - AVRCP disconnect\n", cmd); in stdin_process()
959 printf("Deleting all link keys\n"); in stdin_process()
967 printf(" - volume up\n"); in stdin_process()
971 printf(" - volume down\n"); in stdin_process()
981printf(" - volume up (via set absolute volume) %d%% (%d)\n", media_tracker.volume * 100 / 127, m… in stdin_process()
990printf(" - volume down (via set absolute volume) %d%% (%d)\n", media_tracker.volume * 100 / 127, … in stdin_process()
998 printf("%c - Play sine.\n", cmd); in stdin_process()
1007 printf("%c - Play mod.\n", cmd); in stdin_process()
1015 printf("%c - Pause stream.\n", cmd); in stdin_process()
1022 printf("Stream cannot be reconfigured while playing, please pause stream first\n"); in stdin_process()
1027 printf("%c - Stream already configured for %d Hz.\n", cmd, new_sample_rate); in stdin_process()
1029 printf("%c - Reconfigure for %d Hz.\n", cmd, new_sample_rate); in stdin_process()
1037 printf("Stream cannot be reconfigured while playing, please pause stream first\n"); in stdin_process()
1042 printf("%c - Stream already configured for %d Hz.\n", cmd, new_sample_rate); in stdin_process()
1044 printf("%c - Reconfigure for %d Hz.\n", cmd, new_sample_rate); in stdin_process()
1054 printf("Could not perform command \'%c\', status 0x%02x\n", cmd, status); in stdin_process()