Skip to content
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

Bluetooth client api/example #1606

Open
ccruquan opened this issue Jul 27, 2023 · 4 comments
Open

Bluetooth client api/example #1606

ccruquan opened this issue Jul 27, 2023 · 4 comments
Labels
package:esp-wifi Issues related to the esp-wifi package

Comments

@ccruquan
Copy link

Is any plan support device as bluetooth client?

@bjoernQ
Copy link
Contributor

bjoernQ commented Aug 7, 2023

There are currently no real plans to add an example for working as a BLE central device.

The problem is for that we just don't have a convenient BLE stack which could do that.
I think porting Nimble would be possible but ideally someone would create a pure Rust BLE central stack (but I don't know of anyone working on that right now)

I know that someone is definitely using esp-wifi to scan for BLE advertisements at least - if that is sufficient for you, we could add an example for that by just using raw HCI commands sent to the driver

@par5er
Copy link

par5er commented Oct 2, 2023

Not the issue opener, but an HCI example would be very much appreciated as I'm looking to use an external host in my case

@trembel
Copy link

trembel commented Dec 21, 2023

I think not only client as central, but also client as peripheral would be interesting (e.g. for Current Time Service, where the central, e.g a smartphone, is the server of the CTS and the device as a peripheral fetches the time information in the role of a client).

@MabezDev
Copy link
Member

I think having an example like this would be really nice too! If someone has some spare cycles, we'd appreciate some help in the form of contributions. We'd be happy to mentor and answer questions to help through the process, we just don't have time to work on this ourselves right now.

@bjoernQ bjoernQ transferred this issue from esp-rs/esp-wifi-sys May 27, 2024
@bjoernQ bjoernQ added the package:esp-wifi Issues related to the esp-wifi package label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:esp-wifi Issues related to the esp-wifi package
Projects
Status: Todo
Development

No branches or pull requests

5 participants