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

BIP RFCOMM server structure. More...

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

Data Fields

struct bt_goep_transport_rfcomm_server server
 Underlying GOEP RFCOMM server.
int(* accept )(struct bt_conn *conn, struct bt_bip_rfcomm_server *server, struct bt_bip **bip)
 Accept connection callback.

Detailed Description

BIP RFCOMM server structure.

Structure for BIP server using RFCOMM transport

Field Documentation

◆ accept

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

Accept connection callback.

Called when a new RFCOMM connection is accepted

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

◆ server

struct bt_goep_transport_rfcomm_server bt_bip_rfcomm_server::server

Underlying GOEP RFCOMM server.


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