Dialog Semiconductor customer support - deferral https://support.dialog-semiconductor.com/resource-keywords/deferral en Long running operation like ECDSA verify signature in the app_process_catch_rest_cb handler https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/long-running-operation-ecdsa-verify

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?

Device: 
Thu, 15 Nov 2018 14:26:11 +0000 tly@xtel.dk 254716 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/long-running-operation-ecdsa-verify#comments