Check bluetooth/bluedroid/classic_bt
folder in ESP-IDF examples, which contains the following application:
- This is a SPP demo. This demo can discover the service, connect, send and recive SPP data
bluetooth/bluedroid/classic_bt/bt_spp_acceptor
,bluetooth/bluedroid/classic_bt/bt_spp_initiator
inc/esp_spp_api.inc