Bluetooth Classic Scanner

satrik
Posts: 1
Joined: Sun Oct 21, 2018 6:55 am

Bluetooth Classic Scanner

Postby satrik » Sun Oct 21, 2018 7:12 am

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

JeroenH
Posts: 1
Joined: Wed Oct 24, 2018 1:10 pm

Re: Bluetooth Classic Scanner

Postby JeroenH » Wed Oct 24, 2018 1:26 pm

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!

sjfaustino
Posts: 1
Joined: Sat Oct 27, 2018 7:28 pm

Re: Bluetooth Classic Scanner

Postby sjfaustino » Sat Oct 27, 2018 8:10 pm

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.

Waldorffsmama
Posts: 2
Joined: Mon Dec 03, 2018 12:39 am

Re: Bluetooth Classic Scanner

Postby Waldorffsmama » Mon Dec 03, 2018 2:28 am

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

puddletowntom
Posts: 5
Joined: Wed Feb 06, 2019 3:27 pm

Re: Bluetooth Classic Scanner

Postby puddletowntom » Wed Feb 06, 2019 3:32 pm

Has there been any update on this. Has anyone developed a scanner for Bluetooth Classic yet?

puddletowntom
Posts: 5
Joined: Wed Feb 06, 2019 3:27 pm

Re: Bluetooth Classic Scanner

Postby puddletowntom » Wed Feb 06, 2019 3:35 pm

Any update on this?

hondaman900
Posts: 1
Joined: Mon Sep 16, 2019 3:59 am

Re: Bluetooth Classic Scanner

Postby hondaman900 » Mon Sep 16, 2019 4:02 am

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.

Who is online

Users browsing this forum: Bing [Bot], Hairyloon and 7 guests