10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_L2CAP_BR_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_L2CAP_BR_H_
102#define BT_L2CAP_BR_ECHO_REQ_RESERVE BT_L2CAP_BUF_SIZE(4)
107#define BT_L2CAP_BR_ECHO_RSP_RESERVE BT_L2CAP_BUF_SIZE(4)
Bluetooth data buffer API.
Bluetooth connection handling.
int bt_l2cap_br_echo_cb_unregister(struct bt_l2cap_br_echo_cb *cb)
Unregister ECHO callbacks.
int bt_l2cap_br_echo_req(struct bt_conn *conn, struct net_buf *buf)
Send ECHO data through ECHO request.
int bt_l2cap_br_echo_cb_register(struct bt_l2cap_br_echo_cb *cb)
Register ECHO callbacks.
int bt_l2cap_br_echo_rsp(struct bt_conn *conn, uint8_t identifier, struct net_buf *buf)
Send ECHO data through ECHO response.
struct _snode sys_snode_t
Single-linked list node structure.
Definition slist.h:39
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
ECHO request/response callback structure.
Definition l2cap_br.h:47
void(* req)(struct bt_conn *conn, uint8_t identifier, struct net_buf *buf)
A ECHO request has been received.
Definition l2cap_br.h:58
void(* rsp)(struct bt_conn *conn, struct net_buf *buf)
A ECHO response has been received.
Definition l2cap_br.h:68
Network buffer representation.
Definition net_buf.h:1006