Hi everyone , I am new to app inventor and I would like to ask some questions about BluetoothLE .
The problem is that I cannot send data successfully with bluetooth.
Since my code is too large, I just post the part of sending data with bluetooth, but I will describe other part rapidly. Below is my sending data code.
My goal is to send a string from my phone to Bluetooth module HM10. I've used another ready app to check whether HM10 module received data normally. And the answer is yes, the motor works correctly. So my MCU code should not be incorrect.
Thus I think the problem should be in the program I posted.
I will be very grateful if anyone can help me solve the problem.
And if needed, I can provide other part of my code or information.
Thank you very much.
Also show what exactly the command_str variable contains. Display this data in a label and take a screenshot. You can send a maximum of 20 bytes of text at a time.
By the way, I found out that using bluetooth between two screens seems to cause disconnection problems. However, my phone screen did not show the "connection error" message. How can I whether bluetooth in the second screen works normally?