Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
Data Length Extension (DLE) API

General Description

The API are used for enable user to use Data Length Extension (DLE) feature of BLE Stack.

Functions

cy_en_ble_api_result_t Cy_BLE_GetDataLength (void)
 This function allows the application to read the suggested and maximum Tx/Rx packet size and suggested and maximum Tx/Rx time that the BLE Stack uses. More...
 

Function Documentation

◆ Cy_BLE_GetDataLength()

cy_en_ble_api_result_t Cy_BLE_GetDataLength ( void  )

This function allows the application to read the suggested and maximum Tx/Rx packet size and suggested and maximum Tx/Rx time that the BLE Stack uses.

This is a non-blocking function. Current data length parameters are informed through the cy_stc_ble_data_length_param_t* type event parameter returned with the 'CY_BLE_EVT_GET_DATA_LENGTH_COMPLETE' event.

Returns
cy_en_ble_api_result_t : Return value indicates whether the function succeeded or failed. Following are the possible error codes.
Errors codes Description
CY_BLE_SUCCESS On successful operation.
CY_BLE_ERROR_MEMORY_ALLOCATION_FAILED If Memory allocation failed.
CY_BLE_ERROR_INSUFFICIENT_RESOURCES If BLE Stack resources are unavailable.