Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_bip_l2cap_server Struct Reference

BIP L2CAP server structure. More...

#include <zephyr/bluetooth/classic/bip.h>

Data Fields

struct bt_goep_transport_l2cap_server server
 Underlying GOEP L2CAP server.
int(* accept )(struct bt_conn *conn, struct bt_bip_l2cap_server *server, struct bt_bip **bip)
 Accept connection callback.

Detailed Description

BIP L2CAP server structure.

Structure for BIP server using L2CAP transport

Field Documentation

◆ accept

int(* bt_bip_l2cap_server::accept) (struct bt_conn *conn, struct bt_bip_l2cap_server *server, struct bt_bip **bip)

Accept connection callback.

Called when a new L2CAP connection is accepted

Parameters
connBluetooth connection
serverL2CAP server instance
bipPointer to store the created BIP instance
Returns
0 on success, negative error code on failure

◆ server

struct bt_goep_transport_l2cap_server bt_bip_l2cap_server::server

Underlying GOEP L2CAP server.


The documentation for this struct was generated from the following file:
  • zephyr/bluetooth/classic/bip.h