Connect the HC-06 module to the ESP32 as follows:
- HC-06 VCC to ESP32 3.3V (or 5V if your module supports it)
- HC-06 GND to ESP32 GND
- HC-06 TX to ESP32 RX2 (GPIO pin 16)
- HC-06 RX to ESP32 TX2 (GPIO pin 17)
Use HardwareSerial.h library to read data send by the module