Hi,
I have a peripheral connected to CC254x. And whenever data is ready it generates interrupt. On this interrupt I am reading data from that peripheral and collecting it. When sufficient data is collected i.e. 20 bytes, I send it over BLE in the Interrupt Service Routine (ISR) itself. But in this case it disconnects abruptly from the central device after some time.
But if I set the event, after collecting sufficient data, and send the data when event occurs then it runs perfectly fine.
Has anybody faced this type of issue?
Any help is appreciated.
Thanks,
Dhaval