Go to the source code of this file.
|
#define | L2CAP_MIN_OFFSET 13 /* plus control(2), SDU length(2) */ |
|
#define | L2CAP_DW_FAILED false |
|
#define | L2CAP_DW_SUCCESS true |
|
#define | L2CAP_DW_CONGESTED 2 |
|
#define | L2CAP_FCR_BASIC_MODE 0x00 |
|
#define | L2CAP_FCR_ERTM_MODE 0x03 |
|
#define | L2CAP_FCR_STREAM_MODE 0x04 |
|
#define | L2CA_REGISTER(a, b, c) L2CA_Register(a,(tL2CAP_APPL_INFO *)b) |
|
#define | L2CA_DEREGISTER(a) L2CA_Deregister(a) |
|
#define | L2CA_CONNECT_REQ(a, b, c, d) L2CA_ErtmConnectReq(a,b,c) |
|
#define | L2CA_CONNECT_RSP(a, b, c, d, e, f, g) L2CA_ErtmConnectRsp(a,b,c,d,e,f) |
|
#define | L2CA_CONFIG_REQ(a, b) L2CA_ConfigReq(a,b) |
|
#define | L2CA_CONFIG_RSP(a, b) L2CA_ConfigRsp(a,b) |
|
#define | L2CA_DISCONNECT_REQ(a) L2CA_DisconnectReq(a) |
|
#define | L2CA_DISCONNECT_RSP(a) L2CA_DisconnectRsp(a) |
|
#define | L2CA_DATA_WRITE(a, b) L2CA_DataWrite(a, b) |
|
|
typedef void() | tL2CA_CONNECT_IND_CB(BD_ADDR, UINT16, UINT16, UINT8) |
|
typedef void() | tL2CA_CONNECT_CFM_CB(UINT16, UINT16) |
|
typedef void() | tL2CA_CONNECT_PND_CB(UINT16) |
|
typedef void() | tL2CA_CONFIG_IND_CB(UINT16, tL2CAP_CFG_INFO *) |
|
typedef void() | tL2CA_CONFIG_CFM_CB(UINT16, tL2CAP_CFG_INFO *) |
|
typedef void() | tL2CA_DISCONNECT_IND_CB(UINT16, BOOLEAN) |
|
typedef void() | tL2CA_DISCONNECT_CFM_CB(UINT16, UINT16) |
|
typedef void() | tL2CA_QOS_VIOLATION_IND_CB(BD_ADDR) |
|
typedef void() | tL2CA_DATA_IND_CB(UINT16, BT_HDR *) |
|
typedef void() | tL2CA_CONGESTION_STATUS_CB(UINT16, BOOLEAN) |
|
typedef void() | tL2CA_TX_COMPLETE_CB(UINT16, UINT16) |
|
|
UINT16 | L2CA_Register (UINT16 psm, tL2CAP_APPL_INFO *p_cb_info) |
|
void | L2CA_Deregister (UINT16 psm) |
|
UINT16 | L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) |
|
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) |
|
BOOLEAN | L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) |
|
BOOLEAN | L2CA_DisconnectReq (UINT16 cid) |
|
BOOLEAN | L2CA_DisconnectRsp (UINT16 cid) |
|
UINT8 | L2CA_DataWrite (UINT16 cid, BT_HDR *p_data) |
|
◆ L2CA_CONFIG_REQ
◆ L2CA_CONFIG_RSP
◆ L2CA_CONNECT_REQ
◆ L2CA_CONNECT_RSP
#define L2CA_CONNECT_RSP |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
e, |
|
|
|
f, |
|
|
|
g |
|
) |
| L2CA_ErtmConnectRsp(a,b,c,d,e,f) |
◆ L2CA_DATA_WRITE
◆ L2CA_DEREGISTER
◆ L2CA_DISCONNECT_REQ
◆ L2CA_DISCONNECT_RSP
◆ L2CA_REGISTER
#define L2CA_REGISTER |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| L2CA_Register(a,(tL2CAP_APPL_INFO *)b) |
◆ L2CAP_DW_CONGESTED
#define L2CAP_DW_CONGESTED 2 |
◆ L2CAP_DW_FAILED
#define L2CAP_DW_FAILED false |
◆ L2CAP_DW_SUCCESS
#define L2CAP_DW_SUCCESS true |
◆ L2CAP_FCR_BASIC_MODE
#define L2CAP_FCR_BASIC_MODE 0x00 |
◆ L2CAP_FCR_ERTM_MODE
#define L2CAP_FCR_ERTM_MODE 0x03 |
◆ L2CAP_FCR_STREAM_MODE
#define L2CAP_FCR_STREAM_MODE 0x04 |
◆ L2CAP_MIN_OFFSET
#define L2CAP_MIN_OFFSET 13 /* plus control(2), SDU length(2) */ |
◆ tL2CA_CONFIG_CFM_CB
typedef void() tL2CA_CONFIG_CFM_CB(UINT16, tL2CAP_CFG_INFO *) |
◆ tL2CA_CONFIG_IND_CB
typedef void() tL2CA_CONFIG_IND_CB(UINT16, tL2CAP_CFG_INFO *) |
◆ tL2CA_CONGESTION_STATUS_CB
◆ tL2CA_CONNECT_CFM_CB
◆ tL2CA_CONNECT_IND_CB
◆ tL2CA_CONNECT_PND_CB
typedef void() tL2CA_CONNECT_PND_CB(UINT16) |
◆ tL2CA_DATA_IND_CB
typedef void() tL2CA_DATA_IND_CB(UINT16, BT_HDR *) |
◆ tL2CA_DISCONNECT_CFM_CB
◆ tL2CA_DISCONNECT_IND_CB
◆ tL2CA_QOS_VIOLATION_IND_CB
typedef void() tL2CA_QOS_VIOLATION_IND_CB(BD_ADDR) |
◆ tL2CA_TX_COMPLETE_CB
◆ L2CA_ConfigReq()
◆ L2CA_ConfigRsp()
◆ L2CA_DataWrite()
◆ L2CA_Deregister()
void L2CA_Deregister |
( |
UINT16 |
psm | ) |
|
◆ L2CA_DisconnectReq()
◆ L2CA_DisconnectRsp()
◆ L2CA_ErtmConnectReq()
◆ L2CA_ErtmConnectRsp()
◆ L2CA_Register()
UINT16 L2CA_Register |
( |
UINT16 |
psm, |
|
|
tL2CAP_APPL_INFO * |
p_cb_info |
|
) |
| |