17#include <zephyr/bluetooth/uuid.h>
18#include <zephyr/bluetooth/conn.h>
55#define BT_UUID_LATENCY_VAL \
56 BT_UUID_128_ENCODE(0x67136e01, 0x58db, 0xf39b, 0x3446, 0xfdde58c0813a)
58#define BT_UUID_LATENCY BT_UUID_DECLARE_128(BT_UUID_LATENCY_VAL)
60#define BT_UUID_LATENCY_CHAR_VAL \
61 BT_UUID_128_ENCODE(0x67136e02, 0x58db, 0xf39b, 0x3446, 0xfdde58c0813a)
64#define BT_UUID_LATENCY_CHAR BT_UUID_DECLARE_128(BT_UUID_LATENCY_CHAR_VAL)
int bt_latency_init(struct bt_latency *latency, const struct bt_latency_cb *cb)
Initialize the GATT latency service.
void(* latency_request)(const void *buf, uint16_t len)
Latency received callback.
Definition: latency.h:38
Latency callback structure.
Definition: latency.h:26
atomic_t state
Definition: latency.h:50
struct bt_conn * conn
Definition: latency.h:47
uint16_t handle
Definition: latency.h:44
Latency structure.
Definition: latency.h:42