Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_pbap_pse_l2cap Struct Reference

PBAP PSE L2CAP server structure. More...

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

Data Fields

struct bt_goep_transport_l2cap_server server
 Underlying GOEP L2CAP server.
int(* accept )(struct bt_conn *conn, struct bt_pbap_pse_l2cap *pbap_pse_l2cap, struct bt_pbap_pse **pbap_pse)
 Accept connection callback.

Detailed Description

PBAP PSE L2CAP server structure.

Structure for managing PBAP server over L2CAP transport.

Field Documentation

◆ accept

int(* bt_pbap_pse_l2cap::accept) (struct bt_conn *conn, struct bt_pbap_pse_l2cap *pbap_pse_l2cap, struct bt_pbap_pse **pbap_pse)

Accept connection callback.

Called when a new L2CAP connection is accepted. The application should allocate and initialize a PBAP PSE instance.

Parameters
connACL connection.
pbap_pse_l2capPBAP PSE L2CAP server instance, bt_pbap_pse_l2cap.
pbap_psePointer to store the created PBAP PSE instance, bt_pbap_pse.
Returns
0 on success, negative error code on failure.

◆ server

struct bt_goep_transport_l2cap_server bt_pbap_pse_l2cap::server

Underlying GOEP L2CAP server.


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