这是 ESP-IDF 范例,ESP32 板子做为 BLE SPP (Serial Port Profile) server 端,也就是当作周边之用。此外,在手机上安装 BLE 工具,双方连线后,可以传送信息。