I would like to record the latitude and longitude data of the android phone on the esp32 via BLE. Do you have any suggestion where to get an example or information.
2 Answers
Hi Rick.
There’s a block in MIT App Inventor that allows you to use GPS location of your phone. See the following figure:
Then, if you go to the Blocks tab, you can see all the methods available to get longitude and latitude.
More information here: http://explore.appinventor.mit.edu/tutorial-type/gps
Then, you can use the BLE extension to send the location to your ESP32.
Let me know if you need further help.
Regards,
Sara