- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what does charinstance mean in function CyBle_EsssSetCharacteristicValue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kai1: This is the definition of this Sets the characteristic value of the service in the local database.
Parameters:
charIndex The index of the service characteristic. Starts with zero.
charInstance The instance number of the characteristic specified by "charIndex".
attrSize The size (in Bytes) of the characteristic value attribute.
attrValue The pointer to the characteristic value data that should be stored in the GATT database.
It Returns:
A return value is of type CYBLE_API_RESULT_T.
1) CYBLE_ERROR_OK - The request handled successfully.
2) CYBLE_ERROR_INVALID_PARAMETER - Validation of the input parameter failed.
3) CYBLE_ERROR_GATT_DB_INVALID_ATTR_HANDLE - An optional characteristic is absent.