Esp32-snippets: Cannot detect/scan classic bluetooth devices

Created on 21 Jan 2018  路  8Comments  路  Source: nkolban/esp32-snippets

I acquired an ESP32 recently (a ESP-WROOM32-Breakout).
And tried the ble_scan example with Arduino. This works ok: Upload works. Some BT devices are listed as found.

However the devices listed there are only "low energy" ones.

This is true even if I define _CLASSIC_BT_ENABLED_. And as another test I even set the _ESP_BT_MODE_CLASSIC_BT_ for _esp_bt_controller_enable()_ in BLEDevice.cpp.

Parallely I checked this with an app on my Android phone ("BlueScan") which shows some more devices as type "Classic". All of which are not found by the ESP32.
(The one I am actually looking for also shows up as classic there...)

Does this sound like a hardware defect? Or are there any shortcomings in the libraries known?

Most helpful comment

Is it possible to detect/scan bluetooth classic devices somehow?

All 8 comments

As you can see this is BLE library which means it only works with bluetooth LE. You cant work with bluetooth classic devices or use ESP32 as bluetooth classic device.

Is there a purpose for the _CLASSIC_BT_ENABLED_ flag from BLEDevice.cpp?

No and yes. When memory release will be implemented eventualy it could crash user application if it will be dual mode app.

But the underlying sdk supports classic bluetooth? Because the ESP32 does according datasheets.

Thank you for your time and patience.

Yes, esp32 and esp-idf sdk support classic bluetooth. Here you can find nice project:
https://github.com/MrBuddyCasino/ESP32_MP3_Decoder

Is it possible to detect/scan bluetooth classic devices somehow?

3 years later, and I have the same question

This is BLE only library.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jim-ber picture jim-ber  路  8Comments

hellowtisch picture hellowtisch  路  7Comments

wegunterjr picture wegunterjr  路  7Comments

mahdikan picture mahdikan  路  4Comments

JasXSL picture JasXSL  路  3Comments