API unique to LLS designs configured as a GATT Server role.
A letter 's' is appended to the API name: Cy_BLE_LLSS_
◆ Cy_BLE_LLSS_GetCharacteristicValue()
Gets an Alert Level characteristic value of the service, which is identified by charIndex.
- Parameters
-
charIndex | The index of an Alert Level characteristic. |
attrSize | The size of the Alert Level characteristic value attribute. |
attrValue | The 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. |