nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
radio_notification_cb.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef BT_RADIO_NOTIFICATION_CB_H__
8#define BT_RADIO_NOTIFICATION_CB_H__
9
23#include <stdint.h>
24#include <zephyr/bluetooth/conn.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
41#define BT_RADIO_NOTIFICATION_CONN_CB_PREPARE_DISTANCE_US_RECOMMENDED 3000
42
55 void (*prepare)(struct bt_conn *conn);
56};
57
86 uint32_t prepare_distance_us);
87
88#ifdef __cplusplus
89}
90#endif
91
96#endif /* BT_RADIO_NOTIFICATION_CB_H__ */
int bt_radio_notification_conn_cb_register(const struct bt_radio_notification_conn_cb *cb, uint32_t prepare_distance_us)
void(* prepare)(struct bt_conn *conn)
Definition radio_notification_cb.h:55
Definition radio_notification_cb.h:47