Zephyr API Documentation  3.7.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_rfcomm_server Struct Reference

#include <rfcomm.h>

Data Fields

uint8_t channel
 Server Channel.
 
int(* accept )(struct bt_conn *conn, struct bt_rfcomm_dlc **dlc)
 Server accept callback.
 

Field Documentation

◆ accept

int(* bt_rfcomm_server::accept) (struct bt_conn *conn, struct bt_rfcomm_dlc **dlc)

Server accept callback.

This callback is called whenever a new incoming connection requires authorization.

Parameters
connThe connection that is requesting authorization
dlcPointer to received the allocated dlc
Returns
0 in case of success or negative value in case of error.

◆ channel

uint8_t bt_rfcomm_server::channel

Server Channel.


The documentation for this struct was generated from the following file: