mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 04:57:19 +00:00
This allows to provide public address for controller without using VS HCI command from host. Useful for controller only builds or combined builds that are not using VS HCI commands. Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
40 lines
659 B
C
40 lines
659 B
C
/** @file
|
|
* @brief Bluetooth subsystem controller APIs.
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2018 Codecoup
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_
|
|
#define ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_
|
|
|
|
/**
|
|
* @brief Bluetooth Controller
|
|
* @defgroup bt_ctrl Bluetooth Controller
|
|
* @ingroup bluetooth
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** @brief Set public address for controller
|
|
*
|
|
* Should be called before bt_enable().
|
|
*
|
|
* @param addr Public address
|
|
*/
|
|
void bt_ctlr_set_public_addr(const u8_t *addr);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_ */
|