Reset Indication characteristic not firing callback when status error is returned after first read

ID: LPCBARESDK-778

Status: Open

First reported: 6.0.18.1182.1

Fixed in: TBD

Description

As an example where the issue could happen, in the \projects\target_apps\ble_examples\ble_app_peripheral project, when the application responds with an error on a Reset Indication enabled characteristic the error response is cached, and all subsequent reads respond with the same error without firing the GATTC_READ_REQ_IND message towards the application. At the user_svc3_read_non_db_val_handler() respond with a status ATT_ERR_APP_ERROR. Perform the read once (the callback will fire). After that only read no more read callbacks are generated. The root cause of this issue is that the application error response is cached, and the cache is not cleared between error responses.

Workaround

This is a ROM issue.This problem only can appear on DA14585/586. The problem does not appear on DA14531 and DA14531-01. For more details about the DA14531-01 device you can refer to the UM-B-117 and the DA14531 DataSheet.