I'm searching for so many time a way to send bluetooth data from android to arduino using HC-06 in real time, meaning for me send data every seconds for example. Actually with all my tries, my btSocket become null, I don't rally know why. I add that I use in this project tensorflow lite. So I just want a website or an example code to help me.
Thanks you !