Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages

General Description

Contains the L2CAP specific definitions and data structures used in the L2CAP APIs.

Data Structures

struct  cy_stc_ble_l2cap_cbfc_psm_info_t
 L2CAP Credit based flow Connection parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_connection_info_t
 L2CAP Credit based flow Connection parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_conn_req_info_t
 Connect request parameter. More...
 
struct  cy_stc_ble_l2cap_state_info_t
 L2cap flow control state. More...
 
struct  cy_stc_ble_l2cap_cbfc_conn_resp_info_t
 Connect response parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_credit_info_t
 Connect response parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_tx_data_info_t
 Tx Data parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_disconn_req_info_t
 Disconnect request parameter. More...
 
struct  cy_stc_ble_l2cap_conn_update_param_rsp_info_t
 Connection parameter update response parameter. More...
 
struct  cy_stc_ble_l2cap_queue_flow_control_info_t
 L2CAP queue flow control with water level marking. More...
 
struct  cy_stc_ble_l2cap_cbfc_conn_ind_param_t
 Connect indication parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_conn_cnf_param_t
 Connect confirmation parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_disconn_cnf_param_t
 Disconnect confirmation parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_rx_param_t
 Receive Data parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_low_rx_credit_param_t
 Rx Credit info parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_low_tx_credit_param_t
 Tx Credit info parameter. More...
 
struct  cy_stc_ble_l2cap_cbfc_rx_data_param_t
 Data Write parameter. More...
 
struct  cy_stc_ble_l2cap_conn_update_rsp_param_t
 L2CAP Connection parameters Update response. More...
 
struct  cy_stc_ble_l2cap_cmd_rej_param_t
 L2CAP command reject parameter. More...
 

Enumerations

enum  cy_en_ble_l2cap_command_rej_reason_t {
  CY_BLE_L2CAP_COMMAND_NOT_UNDERSTOOD = 0x0000u,
  CY_BLE_L2CAP_SIGNALLING_MTU_EXCEEDED,
  CY_BLE_L2CAP_INVALID_CID_IN_REQUEST
}
 Reason for command reject event - CY_BLE_EVT_L2CAP_COMMAND_REJ. More...
 
enum  cy_en_ble_l2cap_result_param_t {
  CY_BLE_L2CAP_RESULT_SUCCESS = 0x0000u,
  CY_BLE_L2CAP_RESULT_COMMAND_TIMEOUT = 0x2318u,
  CY_BLE_L2CAP_RESULT_INCORRECT_SDU_LENGTH = 0x2347u,
  CY_BLE_L2CAP_RESULT_NOT_ENOUGH_CREDITS = 0x2371u,
  CY_BLE_L2CAP_RESULT_CREDIT_OVERFLOW = 0x2373u,
  CY_BLE_L2CAP_RESULT_UNACCEPTABLE_CREDIT_VALUE = 0x2374u
}
 The result code of call back structures for L2CAP. More...
 

Enumeration Type Documentation

◆ cy_en_ble_l2cap_command_rej_reason_t

Reason for command reject event - CY_BLE_EVT_L2CAP_COMMAND_REJ.

Enumerator
CY_BLE_L2CAP_COMMAND_NOT_UNDERSTOOD 

Command Not Understood.

CY_BLE_L2CAP_SIGNALLING_MTU_EXCEEDED 

Signaling L2CAP MTU exceeded.

CY_BLE_L2CAP_INVALID_CID_IN_REQUEST 

Invalid Connection Identifier in request.

◆ cy_en_ble_l2cap_result_param_t

The result code of call back structures for L2CAP.

Enumerator
CY_BLE_L2CAP_RESULT_SUCCESS 

Operation Successful.

CY_BLE_L2CAP_RESULT_COMMAND_TIMEOUT 

Command timeout, if L2CAP signaling channel timeout occurs, app should disconnect.

CY_BLE_L2CAP_RESULT_INCORRECT_SDU_LENGTH 

Invalid SDU length.

CY_BLE_L2CAP_RESULT_NOT_ENOUGH_CREDITS 

Not enough Credit to perform this operation.

CY_BLE_L2CAP_RESULT_CREDIT_OVERFLOW 

Credit overflow.

Total Credit exceeded 65535 (maximum)

CY_BLE_L2CAP_RESULT_UNACCEPTABLE_CREDIT_VALUE 

Invalid Credit value, receive Credit is Zero.