7#ifndef BT_LATENCY_CLIENT_H_
8#define BT_LATENCY_CLIENT_H_
17#include <zephyr/bluetooth/uuid.h>
18#include <zephyr/bluetooth/conn.h>
104 const void *data, uint16_t len);
int bt_latency_handles_assign(struct bt_gatt_dm *dm, struct bt_latency_client *latency)
Assign handles to the latency client instance.
int bt_latency_client_init(struct bt_latency_client *latency, const struct bt_latency_client_cb *cb)
Initialize the GATT latency client.
int bt_latency_request(struct bt_latency_client *latency, const void *data, uint16_t len)
Write data to the server.
void(* latency_response)(const void *buf, uint16_t len)
Latency received callback.
Definition latency_client.h:38
Latency client callback structure.
Definition latency_client.h:26
atomic_t state
Definition latency_client.h:53
struct bt_gatt_write_params latency_params
Definition latency_client.h:47
uint16_t handle
Definition latency_client.h:44
struct bt_conn * conn
Definition latency_client.h:50
Latency client structure.
Definition latency_client.h:42