| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
RFCOMM DLC operations structure. More...
#include <rfcomm.h>
Data Fields | |
| void(* | connected )(struct bt_rfcomm_dlc *dlc) | 
| void(* | disconnected )(struct bt_rfcomm_dlc *dlc) | 
| void(* | recv )(struct bt_rfcomm_dlc *dlc, struct net_buf *buf) | 
RFCOMM DLC operations structure.
| void(* bt_rfcomm_dlc_ops::connected) (struct bt_rfcomm_dlc *dlc) | 
DLC connected callback
If this callback is provided it will be called whenever the connection completes.
| dlc | The dlc that has been connected | 
| void(* bt_rfcomm_dlc_ops::disconnected) (struct bt_rfcomm_dlc *dlc) | 
DLC disconnected callback
If this callback is provided it will be called whenever the dlc is disconnected, including when a connection gets rejected or cancelled (both incoming and outgoing)
| dlc | The dlc that has been Disconnected | 
| void(* bt_rfcomm_dlc_ops::recv) (struct bt_rfcomm_dlc *dlc, struct net_buf *buf) | 
DLC recv callback
| dlc | The dlc receiving data. | 
| buf | Buffer containing incoming data. |