Page 1 of 1

Bluetooth Classic Scanner

Posted: Sun Oct 21, 2018 7:12 am
by satrik
Hi everyone!

Is it possible to use classic bt to scan for devices?

I've found endless examples and tutorials about ble, but i need bluetooth classic :roll:

Greetings from Germany
Satrik

Re: Bluetooth Classic Scanner

Posted: Wed Oct 24, 2018 1:26 pm
by JeroenH
I'm looking for the same stuff. I need to connect from an ESP32 to a bluetooth device (in my case, an OBD2 bluetooth plug in a car) and set up a serial connection over the BT connection.

Online, there's heaps of stuff to be found about Blutooth BLE and how connect over BT classic TO the ESP32, but I haven't been able to find any example script that shows me how to connect to bluetooth device FROM an ESP32. I'm starting to think it's not possible (yet) with the Arduino IDE, but I still have hope that this is possible.

What I need to do, summarised:
  • Set up a bluetooth connection from the ESP32 to a known BT device. The BT MAC address, name, PIN etc. of the device are known
  • Set up a serial connection over the BT connection
  • Send a command from the ESP32 to the BT device over the serial connection
  • Listen over the serial connection to the BT device response to the command
I hope some one can help. Having an easy way to connect to BT classic devices should make the ESP32 an even more powerful device!

Re: Bluetooth Classic Scanner

Posted: Sat Oct 27, 2018 8:10 pm
by sjfaustino
I second this request for Classic BT from ESP to device with known info.
If anyone has any sample code for a SPP Initiator with security ( I believe it's esp_bt_gap_pin_reply), please do share.

Re: Bluetooth Classic Scanner

Posted: Mon Dec 03, 2018 2:28 am
by Waldorffsmama
Following and hoping someone comes up with a more advanced library for classical bluetooth, especially a scan-function and read out of the signal strength

Re: Bluetooth Classic Scanner

Posted: Wed Feb 06, 2019 3:32 pm
by puddletowntom
Has there been any update on this. Has anyone developed a scanner for Bluetooth Classic yet?

Re: Bluetooth Classic Scanner

Posted: Wed Feb 06, 2019 3:35 pm
by puddletowntom
Any update on this?

Re: Bluetooth Classic Scanner

Posted: Mon Sep 16, 2019 4:02 am
by hondaman900
Did anyone make any progress on this topic and could share their results? I'm also looking to connect my ESP32 to an ELM BT dongle. It's the initial connection via BT I need assistance with.