Lines Matching +full:proximity +full:- +full:it

2  * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
80 while (len-- != 0) { in print_hex()
89 printk("%s: type 0x%02x value_len %u\n", str, data->type, data->data_len); in print_cb()
90 print_hex(data->data, data->data_len); in print_cb()
98 printk("codec id 0x%02x cid 0x%04x vid 0x%04x count %u\n", codec_cap->id, codec_cap->cid, in print_codec_cap()
99 codec_cap->vid, codec_cap->data_len); in print_codec_cap()
101 if (codec_cap->id == BT_HCI_CODING_FORMAT_LC3) { in print_codec_cap()
102 bt_audio_data_parse(codec_cap->data, codec_cap->data_len, print_cb, "data"); in print_codec_cap()
103 } else { /* If not LC3, we cannot assume it's LTV */ in print_codec_cap()
105 print_hex(codec_cap->data, codec_cap->data_len); in print_codec_cap()
109 bt_audio_data_parse(codec_cap->meta, codec_cap->meta_len, print_cb, "meta"); in print_codec_cap()
125 printk("[AD]: %u data_len %u\n", data->type, data->data_len); in check_audio_support_and_connect()
127 if (data->type != BT_DATA_SVC_DATA16) { in check_audio_support_and_connect()
131 if (data->data_len < sizeof(uuid_val)) { in check_audio_support_and_connect()
132 printk("AD invalid size %u\n", data->data_len); in check_audio_support_and_connect()
136 net_buf_simple_init_with_data(&ascs_svc_data, (void *)data->data, in check_audio_support_and_connect()
137 data->data_len); in check_audio_support_and_connect()
148 printk("AD invalid size %u\n", data->data_len); in check_audio_support_and_connect()
196 /* connect only to devices in close proximity */ in device_found()
197 if (rssi < -50) { in device_found()
244 if (stream == NULL || stream->ep == NULL) { in stream_tx_can_send()
248 err = bt_bap_ep_get_info(stream->ep, &info); in stream_tx_can_send()
262 if (stream->ep == sinks[i].ep) { in stream_connected_cb()
274 /* Register the stream for TX if it can send */ in stream_started()
300 /* Unregister the stream for TX if it can send */ in stream_stopped()
319 if (info->flags & BT_ISO_FLAGS_VALID) { in stream_recv()
321 printk("Incoming audio on stream %p len %u (%"PRIu64")\n", stream, buf->len, in stream_recv()
776 if (err == -EALREADY) { in connect_streams()
799 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_dir()