Go to the documentation of this file.
49 #ifndef __BLE_L2CAP_H__
50 #define __BLE_L2CAP_H__
145 uint16_t local_cid[5];
164 uint16_t peer_cid[5];
165 uint16_t local_cid[5];
176 uint16_t local_cid[5];
245 uint16_t peer_cid[5];
258 uint16_t local_cid[5];
267 uint16_t local_cid[5];
uint16_t peer_added_credits
The parameter of LE credit based connection request packet sending.
Reconfig LE enhanced credit based connection parameter.
L2cap Connect Request event for BLE_L2CAP_EVT_ENH_CONN_REQ.
LE flow control credit packet parameter.
L2cap Credits Add Completed event for BLE_L2CAP_EVT_ADD_CREDITS_CPLT.
@ BLE_L2CAP_REMOTE_USER_TERM_CON
ble_l2cap_evt_enh_conn_ind_t enh_conn_ind
uint16_t ble_l2cap_lecb_psm_register(uint16_t le_psm)
Register PSM.
ble_l2cap_evt_disconnect_t disconnected
BLE L2CAP event structure.
uint16_t ble_l2cap_lecb_sdu_send(uint8_t conn_idx, const ble_l2cap_lecb_sdu_t *p_sdu)
Send an SDU packet to the peer device.
uint16_t ble_l2cap_lecb_disconnect(uint8_t conn_idx, uint16_t local_cid)
Disconnect the LE credit based connection.
The parameter of LE enhanced credit based connection request packet sending.
Define the chip configuration.
LE enhanced credit based connection confirm parameter.
ble_l2cap_evt_sdu_send_t sdu_send
uint16_t ble_l2cap_enh_lecb_conn_create(uint8_t conn_idx, const ble_l2cap_enh_lecb_conn_req_t *p_enh_conn_req)
Create the LE enhanced credit based connection.
@ BLE_L2CAP_LOCAL_USER_TERM_CON
uint16_t ble_l2cap_lecb_conn_create(uint8_t conn_idx, const ble_l2cap_lecb_conn_req_t *p_conn_req)
Create the LE credit based connection.
ble_l2cap_evt_add_credits_cplt_t add_credits_cplt
ble_l2cap_evt_sdu_recv_t sdu_recv
File that contains error codes.
L2cap SDU Send event for BLE_L2CAP_EVT_SDU_SEND.
ble_l2cap_lecb_disconn_reason_t
LE credit based disconnection reasons.
L2cap Enhanced Connected Indicate event for BLE_L2CAP_EVT_ENH_CONN_IND.
ble_l2cap_evt_enh_reconfig_ind_t enh_reconfig_ind
L2cap Reconfig Enhanced credit Indicate event for BLE_L2CAP_EVT_ENH_RECONFIG_IND.
ble_l2cap_evt_enh_conn_req_t enh_conn_req
L2cap Credits Add Indicate event for BLE_L2CAP_EVT_ADD_CREDITS_IND.
uint16_t ble_l2cap_lecb_conn_cfm(uint8_t conn_idx, const ble_l2cap_lecb_cfm_conn_t *p_cfm_conn)
Confirm the LE credit based connection after receiving the connection request packet from the peer de...
ble_l2cap_evt_add_credits_ind_t add_credits_ind
uint16_t ble_l2cap_enh_lecb_reconfig(uint8_t conn_idx, const ble_l2cap_enh_lecb_reconfig_t *p_enh_reconfig)
Reconfig the mtu and mps for the indicated channels.
L2cap Connected Indicate event for BLE_L2CAP_EVT_CONN_IND.
L2cap Enhanced Connect Request event for BLE_L2CAP_EVT_ENH_CONN_REQ.
ble_l2cap_evt_conn_req_t conn_req
ble_l2cap_evt_conn_ind_t conn_ind
uint16_t ble_l2cap_lecb_credits_add(uint8_t conn_idx, const ble_l2cap_lecb_add_credits_t *p_add_credits)
Send a LE Flow Control Credit packet when the device is capable of receiving additional LE-frames (fo...
uint16_t ble_l2cap_enh_lecb_conn_cfm(uint8_t conn_idx, const ble_l2cap_enh_lecb_cfm_conn_t *p_enh_cfm_conn)
Confirm the LE enhanced credit based connection after receiving the connection request packet from th...
L2cap SDU Receive event for BLE_L2CAP_EVT_SDU_RECV.
LE credit based connection confirm parameter.
L2cap disconnect event for BLE_L2CAP_EVT_DISCONNECTED.
ble_l2cap_lecb_disconn_reason_t reason