Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
goep.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_goep_transport_ops
 GOEP transport operations structure. More...
 
struct  bt_goep
 
struct  bt_goep_transport_rfcomm_server
 GOEP Server structure GOEP v1.1. More...
 
struct  bt_goep_transport_l2cap_server
 GOEP Server structure for GOEP v2.0 and later. More...
 

Enumerations

enum  bt_goep_transport_state { BT_GOEP_TRANSPORT_DISCONNECTED , BT_GOEP_TRANSPORT_CONNECTING , BT_GOEP_TRANSPORT_CONNECTED , BT_GOEP_TRANSPORT_DISCONNECTING }
 Life-span states of GOEP transport. More...
 

Functions

int bt_goep_transport_rfcomm_server_register (struct bt_goep_transport_rfcomm_server *server)
 Register GOEP RFCOMM server.
 
int bt_goep_transport_rfcomm_connect (struct bt_conn *conn, struct bt_goep *goep, uint8_t channel)
 Connect GOEP transport over RFCOMM.
 
int bt_goep_transport_rfcomm_disconnect (struct bt_goep *goep)
 Disconnect GOEP transport from RFCOMM.
 
int bt_goep_transport_l2cap_server_register (struct bt_goep_transport_l2cap_server *server)
 Register GOEP L2CAP server.
 
int bt_goep_transport_l2cap_connect (struct bt_conn *conn, struct bt_goep *goep, uint16_t psm)
 Connect GOEP transport over L2CAP.
 
int bt_goep_transport_l2cap_disconnect (struct bt_goep *goep)
 Disconnect GOEP transport from L2CAP channel.
 
struct net_bufbt_goep_create_pdu (struct bt_goep *goep, struct net_buf_pool *pool)
 Allocate the buffer from given pool after reserving head room for GOEP.