Hi everyone,
I need to record voice for around 30sec in my application and for this i have used "for" loop. I want to maintain connection while recording so that device doesn't get disconnected and my peripheral will be able to communicate with the central device during this process.
For this, i have planned that i will be sending some data in between of my recording process(i know its going to affect the voice quality badly but i have no other option) so that my peripheral doesn't loose connection. For implementing this, i am writing to characteristic while recording but then also my device is disconnecting.
Can anyone please suggest me what should i do to retain the connection while recording? I have not disabled interrupt. My min and max time are set as 1sec