In the book ESP32 I have tested the example ‘ESP32 BLE Android Application’ with MIT Inventor App and found two problems:
1. A bluetooth client must be added in the MIT Inventor App. Otherwise the ‘Connect nearby devices’ authorisation cannot be set up on the smartphone.
2. If the ‘Disconnect’ button is pressed, the ESP32 must be rebooted, otherwise it will no longer appear in the list of available devices when trying to establish a new connection. BLE on the ESP32 probably needs to be reset after disconnecting. How could this work?
Best regards,
Thomas