Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60

General Description

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

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

Functions

cy_en_ble_api_result_t Cy_BLE_NDCSS_SetCharacteristicValue (cy_en_ble_ndcs_char_index_t charIndex, uint8_t attrSize, uint8_t *attrValue)
 Sets characteristic value of the Next DST Change service, which is identified by charIndex in the local database. More...
 
cy_en_ble_api_result_t Cy_BLE_NDCSS_GetCharacteristicValue (cy_en_ble_ndcs_char_index_t charIndex, uint8_t attrSize, uint8_t *attrValue)
 Gets a characteristic value of the Next DST Change service, which is identified by charIndex. More...
 

Function Documentation

◆ Cy_BLE_NDCSS_SetCharacteristicValue()

cy_en_ble_api_result_t Cy_BLE_NDCSS_SetCharacteristicValue ( cy_en_ble_ndcs_char_index_t  charIndex,
uint8_t  attrSize,
uint8_t *  attrValue 
)

Sets characteristic value of the Next DST Change service, which is identified by charIndex in the local database.

Parameters
charIndexThe index of a service characteristic of type cy_en_ble_ndcs_char_index_t.
attrSizeThe size of the characteristic value attribute.
attrValueThe pointer to the characteristic value data that should be stored to the GATT database.
Returns
A return value of type cy_en_ble_api_result_t.
Error Codes Description
CY_BLE_SUCCESS The request is handled successfully.
CY_BLE_ERROR_INVALID_PARAMETER Validation of the input parameters failed.

◆ Cy_BLE_NDCSS_GetCharacteristicValue()

cy_en_ble_api_result_t Cy_BLE_NDCSS_GetCharacteristicValue ( cy_en_ble_ndcs_char_index_t  charIndex,
uint8_t  attrSize,
uint8_t *  attrValue 
)

Gets a characteristic value of the Next DST Change service, which is identified by charIndex.

Parameters
charIndexThe index of a service characteristic of type cy_en_ble_ndcs_char_index_t.
attrSizeThe size of the characteristic value attribute.
attrValueThe pointer to the location where 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 request is handled successfully.
CY_BLE_ERROR_INVALID_PARAMETER Validation of the input parameters failed.