Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
#include <rfcomm.h>
Data Fields | |
uint8_t | channel |
Server Channel. | |
int(* | accept )(struct bt_conn *conn, struct bt_rfcomm_server *server, struct bt_rfcomm_dlc **dlc) |
Server accept callback. | |
int(* bt_rfcomm_server::accept) (struct bt_conn *conn, struct bt_rfcomm_server *server, struct bt_rfcomm_dlc **dlc) |
Server accept callback.
This callback is called whenever a new incoming connection requires authorization.
conn | The connection that is requesting authorization |
server | Pointer to the server structure this callback relates to |
dlc | Pointer to received the allocated dlc |
uint8_t bt_rfcomm_server::channel |
Server Channel.
Possible values: 0 A dynamic value will be auto-allocated when bt_rfcomm_server_register() is called.
0x01 - 0x1e Dynamically allocated. May be pre-set by the application before server registration (not recommended however), or auto-allocated by the stack if the 0 is passed.