Hi. I have some heavy calculations to do while having an established ble connection. I notice that the link tears down because the cpu is busy doing my work instead of handling connection events. Instead of (recursively) call rwip_schedule every now and then to hopefully serve the events on time, I wonder if it's possible to activate some interrupt instead to take care of the the ble events.
Device:
Hi Joacimwe,
Sorry there is no way of calling rwip_schedule based on interrupts. A possible solution would be, if you are a peripheral, to increase the supervision timeout in order for you to ingore the connection events by the central. In that way maybe theres enough time to execute the heavy calculations you are talking about.
Thanks MT_dialog.
Ok thanks for the response anyway.