3 years, 4 months ago.

Interrupts interfering with BLE stack connection (Seeed Tiny_BLE) nRF51822

Hello friends. I've been working on a BLE Mouse implementation using the Seeed tiny ble board. I've managed to get a functioning mouse implementation after a lot of headaches but it seems that using an interrupt function, be it a ticker or a motion fall detector breaks ble bonding. I'm trying to figure out a way to get a continuous input into the GATT buffer in order to do real time inputs. My idea is to use something akin to a background thread that runs its own ticker of sorts to continuously write to the buffer.

My questions is, am I missing something with using a ticker that wouldn't interrupt the ble stack, and am I on the right track using thread (probably from RTOS) in order to do something like this. Thanks!

Be the first to answer this question.