|
RSeries astromech firmware
|
|
Go to the documentation of this file.
39 #define L2CAP_MIN_OFFSET 13
42 #define L2CAP_DW_FAILED false
43 #define L2CAP_DW_SUCCESS true
44 #define L2CAP_DW_CONGESTED 2
53 #define L2CAP_FCR_BASIC_MODE 0x00
54 #define L2CAP_FCR_ERTM_MODE 0x03
55 #define L2CAP_FCR_STREAM_MODE 0x04
84 tHCI_EXT_FLOW_SPEC ext_flow_spec;
201 UINT8 preferred_mode;
210 #define L2CA_REGISTER(a,b,c) L2CA_Register(a,(tL2CAP_APPL_INFO *)b)
211 #define L2CA_DEREGISTER(a) L2CA_Deregister(a)
212 #define L2CA_CONNECT_REQ(a,b,c,d) L2CA_ErtmConnectReq(a,b,c)
213 #define L2CA_CONNECT_RSP(a,b,c,d,e,f,g) L2CA_ErtmConnectRsp(a,b,c,d,e,f)
214 #define L2CA_CONFIG_REQ(a,b) L2CA_ConfigReq(a,b)
215 #define L2CA_CONFIG_RSP(a,b) L2CA_ConfigRsp(a,b)
216 #define L2CA_DISCONNECT_REQ(a) L2CA_DisconnectReq(a)
217 #define L2CA_DISCONNECT_RSP(a) L2CA_DisconnectRsp(a)
218 #define L2CA_DATA_WRITE(a, b) L2CA_DataWrite(a, b)
270 tL2CAP_ERTM_INFO *p_ertm_info);
286 tL2CAP_ERTM_INFO *p_ertm_info);
void() tL2CA_DISCONNECT_CFM_CB(UINT16, UINT16)
Definition: l2c_api.h:140
uint8_t BD_ADDR[BD_ADDR_LEN]
Definition: bt_types.h:66
BOOLEAN L2CA_ConfigRsp(UINT16 cid, tL2CAP_CFG_INFO *p_cfg)
void() tL2CA_QOS_VIOLATION_IND_CB(BD_ADDR)
Definition: l2c_api.h:146
void() tL2CA_CONNECT_CFM_CB(UINT16, UINT16)
Definition: l2c_api.h:106
UINT8 L2CA_DataWrite(UINT16 cid, BT_HDR *p_data)
void() tL2CA_DATA_IND_CB(UINT16, BT_HDR *)
Definition: l2c_api.h:153
void() tL2CA_CONNECT_IND_CB(BD_ADDR, UINT16, UINT16, UINT8)
Definition: l2c_api.h:99
void() tL2CA_CONGESTION_STATUS_CB(UINT16, BOOLEAN)
Definition: l2c_api.h:162
UINT16 L2CA_ErtmConnectReq(UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info)
uint8_t UINT8
Definition: bt_types.h:25
void() tL2CA_CONNECT_PND_CB(UINT16)
Definition: l2c_api.h:112
void() tL2CA_DISCONNECT_IND_CB(UINT16, BOOLEAN)
Definition: l2c_api.h:133
bool BOOLEAN
Definition: bt_types.h:33
void() tL2CA_CONFIG_CFM_CB(UINT16, tL2CAP_CFG_INFO *)
Definition: l2c_api.h:126
void() tL2CA_CONFIG_IND_CB(UINT16, tL2CAP_CFG_INFO *)
Definition: l2c_api.h:119
BOOLEAN L2CA_DisconnectRsp(UINT16 cid)
void L2CA_Deregister(UINT16 psm)
UINT16 L2CA_Register(UINT16 psm, tL2CAP_APPL_INFO *p_cb_info)
BOOLEAN L2CA_DisconnectReq(UINT16 cid)
void() tL2CA_TX_COMPLETE_CB(UINT16, UINT16)
Definition: l2c_api.h:172
BOOLEAN L2CA_ErtmConnectRsp(BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result, UINT16 status, tL2CAP_ERTM_INFO *p_ertm_info)
BOOLEAN L2CA_ConfigReq(UINT16 cid, tL2CAP_CFG_INFO *p_cfg)
uint16_t UINT16
Definition: bt_types.h:26