Searched refs:sr_info (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_assistant/src/ |
D | main.c | 63 struct scan_recv_info *sr_info = (struct scan_recv_info *)user_data; in device_found() local 69 memcpy(sr_info->bt_name, data->data, MIN(data->data_len, NAME_LEN - 1)); in device_found() 72 memcpy(sr_info->broadcast_name, data->data, MIN(data->data_len, NAME_LEN - 1)); in device_found() 88 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in device_found() 118 sr_info->has_bass = true; in device_found() 123 sr_info->has_pacs = true; in device_found() 282 struct scan_recv_info sr_info = {0}; in scan_recv_cb() local 287 sr_info.broadcast_id = INVALID_BROADCAST_ID; in scan_recv_cb() 295 bt_data_parse(ad, device_found, (void *)&sr_info); in scan_recv_cb() 297 if (sr_info.broadcast_id != INVALID_BROADCAST_ID) { in scan_recv_cb() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 482 struct bt_scan_recv_info *sr_info = (struct bt_scan_recv_info *)user_data; in broadcast_source_found() local 499 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in broadcast_source_found() 507 utf8_lcpy(sr_info->broadcast_name, data->data, (data->data_len) + 1); in broadcast_source_found() 517 struct bt_scan_recv_info sr_info = { 0 }; in scan_recv_cb() local 521 sr_info.broadcast_id = INVALID_BROADCAST_ID; in scan_recv_cb() 539 bt_data_parse(ad, broadcast_source_found, (void *)&sr_info); in scan_recv_cb() 542 if (sr_info.broadcast_id != INVALID_BROADCAST_ID) { in scan_recv_cb() 548 if (sr_info.broadcast_id == auto_scan.broadcast_id) { in scan_recv_cb() 553 is_substring(auto_scan.broadcast_name, sr_info.broadcast_name)) { in scan_recv_cb() 557 sr_info.broadcast_name, addr_str); in scan_recv_cb() [all …]
|