Page 1 of 1

Migration from ESP32-WROOM to ESP32-C3-MINI specifically BT Classic SPP

Posted: Tue Mar 22, 2022 11:44 pm
by brentsinger
Hi, I have a simple BT classic SPP pass through project running on an ESP32 WROOM module. It is just a UART to/from a smartphone.

I need to move to the C3-MINI -> Will the SPP still work? Does the code need to change? Or are they the same binary?

I'm currently using PlatformIO and the Arduino framework.

My concern is that the newer BT hardware on the C3 won't support legacy protocols SPP/RFComm like the older hardware. Any insight would be a great help.

Thanks, Brent.

Re: Migration from ESP32-WROOM to ESP32-C3-MINI specifically BT Classic SPP

Posted: Wed Mar 23, 2022 1:56 am
by ESP_Sprite
C3 indeed does not support BT Classic, only BTLE.

Re: Migration from ESP32-WROOM to ESP32-C3-MINI specifically BT Classic SPP

Posted: Wed Mar 23, 2022 3:36 am
by brentsinger
Thanks for the quick response.

So would there be a SPP emulation project for the C3?

I am using serial terminal apps on Android, and I just need to maintain compatibility.

When I try this with Nordic NUS I need to write my own app as BLE Server so I can't reuse with older apps.

Re: Migration from ESP32-WROOM to ESP32-C3-MINI specifically BT Classic SPP

Posted: Wed Mar 23, 2022 4:45 am
by brentsinger
I have found that the ESP-IDF documentation for the C3 has Bluedroid with Classic SPP examples included in the documentation.

Ref: https://docs.espressif.com/projects/esp ... index.html

So I wonder if BT 5.0 on the C3 supports the SPP examples that are included in the ESP-IDF... ?

Re: Migration from ESP32-WROOM to ESP32-C3-MINI specifically BT Classic SPP

Posted: Wed Mar 23, 2022 6:44 am
by ESP_krzychb
Hi brentsinger,
Thank you for pointing this issue out.
brentsinger wrote: So I wonder if BT 5.0 on the C3 supports the SPP examples that are included in the ESP-IDF... ?
As for the Classic Bluetooth examples, they are marked in the README.md as being for ESP32 only, e.g. "Supported Targets ESP32"
https://github.com/espressif/esp-idf/tr ... p_acceptor