Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60

General Description

API unique to LLS designs configured as a GATT Server role.

A letter 's' is appended to the API name: Cy_BLE_LLSS_

Functions

cy_en_ble_api_result_t Cy_BLE_LLSS_GetCharacteristicValue (cy_en_ble_lls_char_index_t charIndex, uint8_t attrSize, uint8_t *attrValue)
 Gets an Alert Level characteristic value of the service, which is identified by charIndex. More...
 

Function Documentation

◆ Cy_BLE_LLSS_GetCharacteristicValue()

cy_en_ble_api_result_t Cy_BLE_LLSS_GetCharacteristicValue ( cy_en_ble_lls_char_index_t  charIndex,
uint8_t  attrSize,
uint8_t *  attrValue 
)

Gets an Alert Level characteristic value of the service, which is identified by charIndex.

Parameters
charIndexThe index of an Alert Level characteristic.
attrSizeThe size of the Alert Level characteristic value attribute.
attrValueThe pointer to the location where an Alert Level characteristic value data should be stored.
Returns
A return value of type cy_en_ble_api_result_t.
Error Codes Description
CY_BLE_SUCCESS The characteristic value was read successfully.
CY_BLE_ERROR_INVALID_PARAMETER Validation of the input parameter failed.