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

brentsinger
Posts: 3
Joined: Tue Mar 22, 2022 11:39 pm

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

Postby brentsinger » Tue Mar 22, 2022 11:44 pm

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.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Wed Mar 23, 2022 1:56 am

C3 indeed does not support BT Classic, only BTLE.

brentsinger
Posts: 3
Joined: Tue Mar 22, 2022 11:39 pm

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

Postby brentsinger » Wed Mar 23, 2022 3:36 am

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.

brentsinger
Posts: 3
Joined: Tue Mar 22, 2022 11:39 pm

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

Postby brentsinger » Wed Mar 23, 2022 4:45 am

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... ?

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Wed Mar 23, 2022 6:44 am

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

Who is online

Users browsing this forum: Majestic-12 [Bot] and 88 guests