I'm new to ESP32. I have some experience programming Atmel micros in assembler and C using AVR Studio and in Cpp using Arduino IDE.
So far I managed to create a working application for ESP32 to communicate with BT serial monitor on my Android phone.
But...
- I'd like to secure the pairing with my phone (in fact any phone) using a PIN. I found some code samples and I browsed through the Arduino BluetoothSerial library code on Github, but setting the pin and enabling (or not) SSP doesn't have any effect. My phone simply pairs with ESP32 without asking for a PIN. Any help would be very welcome