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: 2
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.

redplane
Posts: 2
Joined: Sun Oct 11, 2020 5:32 pm

Re: Bluetooth Classic Scanner

Postby redplane » Mon Nov 09, 2020 1:50 am

Same question, as far as I know, esp32 support both type of bluetooth but only examples about ble are available.

Did anyone successfully implement bluetooth scanner using legacy bluetooth ?

marcudanf
Posts: 1
Joined: Mon Jan 01, 2018 6:19 pm

Re: Bluetooth Classic Scanner

Postby marcudanf » Sat Apr 10, 2021 10:44 pm

Same question here, any updates?
I want to scan for devices that show on hc05 but not on ble scan.

matthew798
Posts: 16
Joined: Mon Jun 01, 2020 2:31 am

Re: Bluetooth Classic Scanner

Postby matthew798 » Wed Apr 21, 2021 9:20 pm

Me too!!!

Who is online

Users browsing this forum: No registered users and 72 guests