I'm trying to create a desktop application that can connet by bluetooth to an arduino device.
Arduino device connected by HC-06 bluetooth by serial connections TR/RX.
My desktop application can connect to it, but now, I'm trying to send command to Arduino device and then I have to wait a response.
How can I do that?
After write message, Ardunio receipt correctly and send on its TX connection its response, but desktop application side is disconnected, why? how can I do this?