I need to connect to my ESP32 and I am using Listview to connect. It has been working fine until today. When I start scanning, it shows up but I can't click on it. Then the app freezes and closes every time. I have restarted my app and phone several times and closed the MIT App Inventor App. I checked with the nRF connect app and the ESP32 is connecting fine and sending data correctly
What might the issue be? Here are my for Bluetooth connection:
I have not seen how you format the strings coming out of your sketch, so I will assume there is no other non-numeric markup other than that comma between the two numbers.
The local custom is to mention some one who made a mistake by name, so they can correct it.
No such person comes to mind, as I am not seeing any mistake in AI2.
Experts read at their own pace, and usually answer if they have something good to offer.
P.S. a nice fresh .aia export AND clear Downloaded Blocks Image (not screenshot) might attract them, like fresh birdseed.
I just wanted to note on this, the string comes in this format: [["0.00,0.00,0,0.00"]]
. Will making the string a list and splitting it at the comma remove the [[ and ]] and ""?
I do however have another problem. I am sending data to my ESP32 and data from my ESP32 to the app. I was previously using one characteristic for the communication but when I started sending a bit more data either way, it would freeze up the app. I added a second characteristic but every time I open the app in companion, it crashes. Do you know what the problem might be?
I am currently doing this and it is working but I think that it might be an inefficient way of doing it that might slow down my programme. Is there a more efficient way to achieve this or is the way that I did it also fine and changing it won't really change the speed of the programme much?