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>
15 lines
329 B
C
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);
|