9#ifndef ZEPHYR_INCLUDE_BLUETOOTH_GOEP_H_
10#define ZEPHYR_INCLUDE_BLUETOOTH_GOEP_H_
105 struct bt_conn *_acl;
long atomic_t
Definition atomic_types.h:15
Bluetooth subsystem core APIs.
Bluetooth connection handling.
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.
int bt_goep_transport_l2cap_server_register(struct bt_goep_transport_l2cap_server *server)
Register GOEP L2CAP server.
int bt_goep_transport_rfcomm_disconnect(struct bt_goep *goep)
Disconnect GOEP transport from RFCOMM.
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.
bt_goep_transport_state
Life-span states of GOEP transport.
Definition goep.h:76
struct net_buf * bt_goep_create_pdu(struct bt_goep *goep, struct net_buf_pool *pool)
Allocate the buffer from given pool after reserving head room for GOEP.
@ BT_GOEP_TRANSPORT_CONNECTING
GOEP in connecting state.
Definition goep.h:80
@ BT_GOEP_TRANSPORT_DISCONNECTING
GOEP in disconnecting state.
Definition goep.h:84
@ BT_GOEP_TRANSPORT_DISCONNECTED
GOEP disconnected.
Definition goep.h:78
@ BT_GOEP_TRANSPORT_CONNECTED
GOEP ready for upper layer traffic on it.
Definition goep.h:82
struct _snode sys_snode_t
Single-linked list node structure.
Definition slist.h:39
Bluetooth L2CAP handling.
Bluetooth RFCOMM handling.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
GOEP Server structure for GOEP v2.0 and later.
Definition goep.h:224
struct bt_l2cap_server l2cap
L2CAP PSM for GOEP v2.0 and later.
Definition goep.h:237
int(* accept)(struct bt_conn *conn, struct bt_goep_transport_l2cap_server *server, struct bt_goep **goep)
Server accept callback.
Definition goep.h:256
sys_snode_t node
Definition goep.h:259
GOEP transport operations structure.
Definition goep.h:40
void(* connected)(struct bt_conn *conn, struct bt_goep *goep)
GOEP transport connected callback.
Definition goep.h:49
void(* disconnected)(struct bt_goep *goep)
GOEP transport disconnected callback.
Definition goep.h:58
GOEP Server structure GOEP v1.1.
Definition goep.h:128
sys_snode_t node
Definition goep.h:161
int(* accept)(struct bt_conn *conn, struct bt_goep_transport_rfcomm_server *server, struct bt_goep **goep)
Server accept callback.
Definition goep.h:158
struct bt_rfcomm_server rfcomm
RFCOMM server for GOEP v1.1.
Definition goep.h:139
struct bt_rfcomm_dlc dlc
Definition goep.h:90
struct bt_obex obex
OBEX object.
Definition goep.h:118
struct bt_l2cap_br_chan chan
Definition goep.h:91
const struct bt_goep_transport_ops * transport_ops
GOEP transport operations.
Definition goep.h:115
BREDR L2CAP Channel structure.
Definition l2cap.h:404
L2CAP Server structure.
Definition l2cap.h:686
OBEX structure.
Definition obex.h:451
RFCOMM DLC structure.
Definition rfcomm.h:99
Network buffer pool representation.
Definition net_buf.h:1079
Network buffer representation.
Definition net_buf.h:1006