Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
l2cap_br.h File Reference

Bluetooth L2CAP BR/EDR handling. More...

#include <stddef.h>
#include <stdint.h>
#include <zephyr/bluetooth/buf.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/hci.h>
#include <zephyr/kernel.h>
#include <zephyr/net_buf.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/sys/slist.h>
#include <zephyr/sys/util.h>
#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  bt_l2cap_br_echo_cb
 ECHO request/response callback structure. More...
 

Macros

#define BT_L2CAP_BR_ECHO_REQ_RESERVE   BT_L2CAP_BUF_SIZE(4)
 Headroom needed for outgoing L2CAP ECHO REQ PDUs.
 
#define BT_L2CAP_BR_ECHO_RSP_RESERVE   BT_L2CAP_BUF_SIZE(4)
 Headroom needed for outgoing L2CAP ECHO RSP PDUs.
 

Functions

int bt_l2cap_br_echo_cb_register (struct bt_l2cap_br_echo_cb *cb)
 Register ECHO callbacks.
 
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_rsp (struct bt_conn *conn, uint8_t identifier, struct net_buf *buf)
 Send ECHO data through ECHO response.
 

Detailed Description

Bluetooth L2CAP BR/EDR handling.