We have a system which a BLE peripheral. It implements a set of characteristics for reading and then writing. We have implemented a write indication handler for a particular characteristic. This characteristic is 64 bytes long. When the central side of the connection writes this characteristic (using write-with-response) we run a ECDSA signature verification process inside the method pointed to by the app_process_catch_rest_cb. This operation takes approximately 1.2 seconds, which means that the handler is blocked in the CUSTS1_VAL_WRITE_IND handling inside the app_process_catch_rest_cb. This makes the central (iOS in this case) drop the connection, because the Supervision Timeout is 720ms (iOS specific).
We need to defer this ECDSA signature verification to some kind of "background thread" in the Dialog BLE SDK, but we have no knowledge of where to start looking.
Is there a Dialog/RiveraWave way of doing this in the 6.0.6 SDK on the 14585?