Home
last modified time | relevance | path

Searched refs:broadcast_name (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_broadcast_assistant.c44 char broadcast_name[BT_AUDIO_BROADCAST_NAME_LEN_MAX + 1]; member
53 char broadcast_name[BT_AUDIO_BROADCAST_NAME_LEN_MAX + 1]; member
505 utf8_lcpy(sr_info->broadcast_name, data->data, (data->data_len) + 1); in broadcast_source_found()
522 (strlen(auto_scan.broadcast_name) == 0U)) { in scan_recv_cb()
550 if ((strlen(auto_scan.broadcast_name) != 0U) && in scan_recv_cb()
551 is_substring(auto_scan.broadcast_name, sr_info.broadcast_name)) { in scan_recv_cb()
555 sr_info.broadcast_name, addr_str); in scan_recv_cb()
698 memset(auto_scan.broadcast_name, 0, sizeof(auto_scan.broadcast_name)); in cmd_bap_broadcast_assistant_add_broadcast_id()
707 char *broadcast_name; in cmd_bap_broadcast_assistant_add_broadcast_name() local
710 broadcast_name = argv[1]; in cmd_bap_broadcast_assistant_add_broadcast_name()
[all …]
Dbap.c2353 char broadcast_name[BT_AUDIO_BROADCAST_NAME_LEN_MAX + 1]; member
2415 memcpy(sr_info->broadcast_name, data->data, data->data_len); in scan_check_and_sync_broadcast()
2416 sr_info->broadcast_name[data->data_len] = '\0'; in scan_check_and_sync_broadcast()
2432 (strlen(auto_scan.broadcast_info.broadcast_name) == 0U)) { in broadcast_scan_recv()
2452 } else if ((strlen(auto_scan.broadcast_info.broadcast_name) != 0U) && in broadcast_scan_recv()
2453 is_substring(auto_scan.broadcast_info.broadcast_name, sr_info.broadcast_name)) { in broadcast_scan_recv()
2458 sr_info.broadcast_name, addr_str); in broadcast_scan_recv()
3498 char *broadcast_name; in cmd_create_sink_by_name() local
3501 broadcast_name = argv[1]; in cmd_create_sink_by_name()
3502 if (!IN_RANGE(strlen(broadcast_name), BT_AUDIO_BROADCAST_NAME_LEN_MIN, in cmd_create_sink_by_name()
[all …]
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c57 static const char broadcast_name[] = "PBP Source Demo"; variable
208 ext_ad[1].data_len = ARRAY_SIZE(broadcast_name); in setup_extended_adv_data()
209 ext_ad[1].data = broadcast_name; in setup_extended_adv_data()
/Zephyr-latest/subsys/bluetooth/audio/
Dcodec.c1044 const uint8_t **broadcast_name) in codec_meta_get_broadcast_name() argument
1054 CHECKIF(broadcast_name == NULL) { in codec_meta_get_broadcast_name()
1064 *broadcast_name = data; in codec_meta_get_broadcast_name()
1070 const uint8_t *broadcast_name, size_t broadcast_name_len) in codec_meta_set_broadcast_name() argument
1077 CHECKIF(broadcast_name == NULL) { in codec_meta_set_broadcast_name()
1083 broadcast_name, broadcast_name_len); in codec_meta_set_broadcast_name()
1533 const uint8_t **broadcast_name) in bt_audio_codec_cfg_meta_get_broadcast_name() argument
1540 return codec_meta_get_broadcast_name(codec_cfg->meta, codec_cfg->meta_len, broadcast_name); in bt_audio_codec_cfg_meta_get_broadcast_name()
1544 const uint8_t *broadcast_name, in bt_audio_codec_cfg_meta_set_broadcast_name() argument
1550 ARRAY_SIZE(codec_cfg->meta), broadcast_name, in bt_audio_codec_cfg_meta_set_broadcast_name()
[all …]
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c44 char broadcast_name[NAME_LEN]; member
84 memcpy(sr_info->broadcast_name, data->data, MIN(data->data_len, NAME_LEN - 1)); in device_found()
313 printk(" Broadcast Name: %s\n", sr_info.broadcast_name); in scan_recv_cb()
321 sr_info.broadcast_name)) { in scan_recv_cb()
/Zephyr-latest/tests/bluetooth/audio/codec/src/
Dmain.c969 const uint8_t *broadcast_name; in ZTEST() local
972 ret = bt_audio_codec_cfg_meta_get_broadcast_name(&codec_cfg, &broadcast_name); in ZTEST()
974 zassert_mem_equal(expected_data, broadcast_name, ARRAY_SIZE(expected_data)); in ZTEST()
985 const uint8_t *broadcast_name; in ZTEST() local
988 ret = bt_audio_codec_cfg_meta_get_broadcast_name(&codec_cfg, &broadcast_name); in ZTEST()
990 zassert_mem_equal(expected_data, broadcast_name, ARRAY_SIZE(expected_data)); in ZTEST()
996 ret = bt_audio_codec_cfg_meta_get_broadcast_name(&codec_cfg, &broadcast_name); in ZTEST()
998 zassert_mem_equal(new_expected_data, broadcast_name, ARRAY_SIZE(new_expected_data)); in ZTEST()
1922 const uint8_t *broadcast_name; in ZTEST() local
1925 ret = bt_audio_codec_cap_meta_get_broadcast_name(&codec_cap, &broadcast_name); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Daudio.h1403 const uint8_t **broadcast_name);
1417 const uint8_t *broadcast_name,
2005 const uint8_t **broadcast_name);
2019 const uint8_t *broadcast_name,
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst26 create_sink_by_name : <broadcast_name>
232 Starting scanning for broadcast_name