![]() |
nRF Connect SDK API 3.3.99
|
| int bt_throughput_init | ( | struct bt_throughput * | throughput, |
| const struct bt_throughput_cb * | cb ) |
#include <include/bluetooth/services/throughput.h>
Initialize the GATT Throughput Service instance.
Initializes the instance with the given callbacks.
| [in] | throughput | Throughput Service instance. |
| [in] | cb | Struct containing pointers to callback functions. Can be NULL if no callbacks are defined. |
| 0 | If the operation was successful. Otherwise, a negative error code is returned. |