zephyr/subsys/bluetooth/host/scan.h
Piotr Pryga 64c359bcef Bluetoot: host: Make get_per_adv_sync to be global function
The function get_per_adv_sync is used by HCI events to get
reference to periodic advertising sync object related with
handle available in handled events. Due to implementation
of Direction Finding event handlers in separate source file,
direction.c instead of putting in hci_core.c the function
get_per_adv_sync has to be globally accessible.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2021-05-06 16:27:16 +02:00

15 lines
329 B
C

/*
* Copyright (c) 2017-2021 Nordic Semiconductor ASA
* Copyright (c) 2015-2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
void bt_scan_reset(void);
bool bt_id_scan_random_addr_check(void);
int bt_le_scan_set_enable(uint8_t enable);
struct bt_le_per_adv_sync *bt_hci_get_per_adv_sync(uint16_t handle);