Line data Source code
1 1 : /** @file
2 : * @brief Bluetooth subsystem controller APIs.
3 : */
4 :
5 : /*
6 : * Copyright (c) 2018 Codecoup
7 : *
8 : * SPDX-License-Identifier: Apache-2.0
9 : */
10 : #ifndef ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_
11 : #define ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_
12 :
13 : /**
14 : * @brief Bluetooth Controller
15 : * @defgroup bt_ctrl Bluetooth Controller
16 : * @ingroup bluetooth
17 : * @{
18 : */
19 :
20 : #include <stdint.h>
21 :
22 : #ifdef __cplusplus
23 : extern "C" {
24 : #endif
25 :
26 : /** @brief Set public address for controller
27 : *
28 : * Should be called before bt_enable().
29 : *
30 : * @param addr Public address
31 : */
32 1 : void bt_ctlr_set_public_addr(const uint8_t *addr);
33 :
34 : #ifdef __cplusplus
35 : }
36 : #endif
37 : /**
38 : * @}
39 : */
40 :
41 : #endif /* ZEPHYR_INCLUDE_BLUETOOTH_CONTROLLER_H_ */
|