Hello everyone, I have an Ottody robot that I built. I am trying to modify this example https://www.b4x.com/android/forum/threads/b4xpages-bluetooth-chat-example.119014/#content to create an application that controls it.
I have already gotten it to show the bluetooth devices to connect and it works fine. Now from the second screen I need to send him the orders to make the movements.
For example:
It would be something like "\nM 8\n", where \n is a line break, those breaks are necessary for it to understand the command, if I command "M 8" it doesn't work.
How can I send that data? I'm stuck, there's only that left for me to keep moving forward.
Thank you
I have already gotten it to show the bluetooth devices to connect and it works fine. Now from the second screen I need to send him the orders to make the movements.
For example:
It would be something like "\nM 8\n", where \n is a line break, those breaks are necessary for it to understand the command, if I command "M 8" it doesn't work.
How can I send that data? I'm stuck, there's only that left for me to keep moving forward.
Thank you