I am using a feather nrf52840 express and trying to use rx callback to process bleuart data . My application sends continuous short messages to the feather approximately every 600ms, but even at a higher interval this problem exists. The rx callback will process data for around ten seconds but then will stop for around a second, then frequently but not always process data for a second or two, stop again for a second, then process data again for around ten seconds and repeat the stop behavior. If I use the loop instead of the rx callback it processes data much more consistently. I wanted to use the rx callback because I can tell which connection handle the data is received on. Is there either a fix for this or a way to get the connection handle for received data in the loop?
thanks