Zephyr API 3.6.99
|
Bluetooth RFCOMM handling. More...
Go to the source code of this file.
Data Structures | |
struct | bt_rfcomm_dlc_ops |
RFCOMM DLC operations structure. More... | |
struct | bt_rfcomm_dlc |
RFCOMM DLC structure. More... | |
struct | bt_rfcomm_server |
Typedefs | |
typedef enum bt_rfcomm_role | bt_rfcomm_role_t |
Role of RFCOMM session and dlc. | |
Enumerations | |
enum | { BT_RFCOMM_CHAN_HFP_HF = 1 , BT_RFCOMM_CHAN_HFP_AG , BT_RFCOMM_CHAN_HSP_AG , BT_RFCOMM_CHAN_HSP_HS , BT_RFCOMM_CHAN_SPP } |
enum | bt_rfcomm_role { BT_RFCOMM_ROLE_ACCEPTOR , BT_RFCOMM_ROLE_INITIATOR } |
Role of RFCOMM session and dlc. More... | |
Functions | |
int | bt_rfcomm_server_register (struct bt_rfcomm_server *server) |
Register RFCOMM server. | |
int | bt_rfcomm_dlc_connect (struct bt_conn *conn, struct bt_rfcomm_dlc *dlc, uint8_t channel) |
Connect RFCOMM channel. | |
int | bt_rfcomm_dlc_send (struct bt_rfcomm_dlc *dlc, struct net_buf *buf) |
Send data to RFCOMM. | |
int | bt_rfcomm_dlc_disconnect (struct bt_rfcomm_dlc *dlc) |
Disconnect RFCOMM dlc. | |
struct net_buf * | bt_rfcomm_create_pdu (struct net_buf_pool *pool) |
Allocate the buffer from pool after reserving head room for RFCOMM, L2CAP and ACL headers. | |
Bluetooth RFCOMM handling.