nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
latency.h File Reference
#include <zephyr/bluetooth/uuid.h>
#include <zephyr/bluetooth/conn.h>
#include <bluetooth/gatt_dm.h>

Go to the source code of this file.

Data Structures

struct  bt_latency_cb
 Latency callback structure. More...
 
struct  bt_latency
 Latency structure. More...
 

Macros

#define BT_UUID_LATENCY_VAL    BT_UUID_128_ENCODE(0x67136e01, 0x58db, 0xf39b, 0x3446, 0xfdde58c0813a)
 Latency Service UUID.
 
#define BT_UUID_LATENCY   BT_UUID_DECLARE_128(BT_UUID_LATENCY_VAL)
 
#define BT_UUID_LATENCY_CHAR_VAL    BT_UUID_128_ENCODE(0x67136e02, 0x58db, 0xf39b, 0x3446, 0xfdde58c0813a)
 
#define BT_UUID_LATENCY_CHAR   BT_UUID_DECLARE_128(BT_UUID_LATENCY_CHAR_VAL)
 UUID of the Latency Characteristic.
 

Functions

int bt_latency_init (struct bt_latency *latency, const struct bt_latency_cb *cb)
 Initialize the GATT latency service.