nRF Connect SDK API 2.8.99
|
API for the Bluetooth LE GATT Throughput Service. More...
Data Structures | |
struct | bt_throughput_metrics |
Throughput metrics. More... | |
struct | bt_throughput_cb |
Throughput callback structure. More... | |
struct | bt_throughput |
Throughput structure. More... | |
Macros | |
#define | BT_UUID_THROUGHPUT_CHAR BT_UUID_DECLARE_16(0x1524) |
Throughput Characteristic UUID. | |
#define | BT_UUID_THROUGHPUT_VAL BT_UUID_128_ENCODE(0x0483dadd, 0x6c9d, 0x6ca9, 0x5d41, 0x03ad4fff4abb) |
#define | BT_UUID_THROUGHPUT BT_UUID_DECLARE_128(BT_UUID_THROUGHPUT_VAL) |
Throughput Service UUID. | |
Functions | |
int | bt_throughput_init (struct bt_throughput *throughput, const struct bt_throughput_cb *cb) |
Initialize the GATT Throughput Service. | |
int | bt_throughput_handles_assign (struct bt_gatt_dm *dm, struct bt_throughput *throughput) |
Assign handles to the Throughput Service instance. | |
int | bt_throughput_read (struct bt_throughput *throughput) |
Read data from the server. | |
int | bt_throughput_write (struct bt_throughput *throughput, const uint8_t *data, uint16_t len) |
Write data to the server. | |
API for the Bluetooth LE GATT Throughput Service.