Skip to content

Commit 24fe129

Browse files
committed
Bluetooth: Controller: Deprecate bt_ctlr_set_public_addr
Deprecate the bt_ctlr_set_public_addr function. It is unused in the tree, and there is a vendor specific HCI command that can be used for the same purpose. The function does not have any tests and is basically unmaintained. Additionally it is the only function in the public controller API, and removing it would allow us to remove that part completely as unused. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 9ae10ea commit 24fe129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/bluetooth/controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extern "C" {
2929
*
3030
* @param addr Public address
3131
*/
32-
void bt_ctlr_set_public_addr(const uint8_t *addr);
32+
__deprecated void bt_ctlr_set_public_addr(const uint8_t *addr);
3333

3434
#ifdef __cplusplus
3535
}

0 commit comments

Comments
 (0)