#include <bt_l2cap.h>
This struct contains all the information needed to handle a l2cap channel Every service can handle only one channel, but one baseband connection can open multiple channels to multiple sevices of the same device.
struct bt_l2cap_service for more information about a service
Data Fields | |
u_short | buf_state |
bt_hci_con_handle_t | con_handle |
u_char | error |
u_char | flags |
u_short | imtu |
bt_l2cap_acl_pkt * | last_acl_pkt |
u_short | local_cid |
u_short | omtu |
u_char | pending |
bt_l2cap_acl_pkt * | pkt |
u_short | received |
u_short | remote_cid |
u_char | service_nr |
HANDLE | sig_con_rsp |
HANDLE | sig_conf_rsp |
HANDLE | sig_disc_rsp |
u_char | sig_id |
HANDLE | sig_timeout |
u_char | state |