I want to send bytes to my raspberry pi 3 through bluetooth with an application on my smartphone. Bluetoothctl works fine, pairable, discoverable, agent NoInputNoOutput all work. However, my phone manages to connect only for 3 seconds, and then get disconnected for no reason.
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no
I run raspbian buster lite, and installed nothing related to bluetooth on it (no conflict with blueman or whatever). Could you please help me ?
Thank you very much !