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

PBAP PSE RFCOMM server structure. More...

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

Data Fields

struct bt_goep_transport_rfcomm_server server
 Underlying GOEP RFCOMM server.
int(* accept )(struct bt_conn *conn, struct bt_pbap_pse_rfcomm *pbap_pse_rfcomm, struct bt_pbap_pse **pbap_pse)
 Accept connection callback.

Detailed Description

PBAP PSE RFCOMM server structure.

Structure for managing PBAP server over RFCOMM transport.

Field Documentation

◆ accept

int(* bt_pbap_pse_rfcomm::accept) (struct bt_conn *conn, struct bt_pbap_pse_rfcomm *pbap_pse_rfcomm, struct bt_pbap_pse **pbap_pse)

Accept connection callback.

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

Parameters
connACL connection.
pbap_pse_rfcommPBAP PSE RFCOMM server instance, bt_pbap_pse_rfcomm.
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_rfcomm_server bt_pbap_pse_rfcomm::server

Underlying GOEP RFCOMM server.


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