Skip to content

Example for using classic bluetooth for searching for devices #4510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
redplane opened this issue Nov 9, 2020 · 11 comments
Closed

Example for using classic bluetooth for searching for devices #4510

redplane opened this issue Nov 9, 2020 · 11 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@redplane
Copy link

redplane commented Nov 9, 2020

1. What you are trying to do

Currently, I'm trying to implement bluetooth scanner function for my esp32 device.
I have been searching on internet for tutorial but mostly, they are about:

  • Make connection FROM app to ESP
  • Using ESP Bluetooth Low energy.

However, I have many devices which only support Bluetooth legacy (Bluetooth classic)
I would like to use ESP32 for scanning for bluetooth classic devices and make a connection to them

2. Describe your system (Hardware, computer, O/S, core version, environment)

  • Windows 10
  • x64
  • IDE Clion

3. Describe what is failing
There is no tutorial about using Bluetooth classic for scanning for devices.
I have found this example about classic bluetooth discovery.
From my view, I'm just a beginner to embedded and just started from arduino framework.
I don't know how to convert this code to Arduino code structure, therefore, not so sure whether that example meets my expectation or not.

**4. Show the shortest possible code that will duplicate the error **

  • N/A

Can anyone provide an example about using Classic Bluetooth (Bluetooth legacy) for scanning devices please ?

Thank you,

@stale
Copy link

stale bot commented Jan 9, 2021

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Jan 9, 2021
@redplane
Copy link
Author

I think Bluetooth classic is still being used by many developers.
This issue shouldn't be stale.

@stale
Copy link

stale bot commented Jan 13, 2021

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

@stale stale bot removed the Status: Stale Issue is stale stage (outdated/stuck) label Jan 13, 2021
@ArcticSnowSky
Copy link
Contributor

Raising my hand here too!

Wanted to connect my esp32 to a Variometer which would give me NMEA data through BT Classic SPP then

@ArcticSnowSky
Copy link
Contributor

Heya,
I was searching for the same functionality and didn't find anything.
If you're still in need, check #4811 out

@aleferrero98
Copy link

I'm just like you redplane! I'd like to know if you found how to do that because I need to work with Classic Bluetooth in my thesis. All information will be welcome. Greetings

@redplane
Copy link
Author

@ArcticSnowSky , sorry for my late reply.
Have you tried the solution you found ? I have not tried it yet.

@lbernstone
Copy link
Contributor

His solution is included as part of v2.0.0, which is currently available as an alpha release.

@stale
Copy link

stale bot commented Jun 26, 2021

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Jun 26, 2021
@stale
Copy link

stale bot commented Jul 11, 2021

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Jul 11, 2021
@weinerschizel
Copy link

I have same question. I need to connect ESP32 to a HFP headset or A2DP speaker. There's examples on how to setup the protocol and do this, but they don't show how to find and connect to the headset. Go figure! So I have same question as @redplane redplane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

5 participants