Introduction - If you have any usage issues, please Google them yourself
Arduino ESP32 module Bluetooth communication example
(1) Establish a Bluetooth server
(2) Broadcasting
(3) Scanning peripheral Bluetooth devices
(4) Pairing management
(5) Establish serial communication and data transmission management