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 support for all chips #93

Closed
6 tasks done
jessebraham opened this issue Nov 30, 2022 · 8 comments · Fixed by #352
Closed
6 tasks done

Bluetooth support for all chips #93

jessebraham opened this issue Nov 30, 2022 · 8 comments · Fixed by #352
Labels
chip support Add support for a new device enhancement New feature or request

Comments

@jessebraham
Copy link
Member

jessebraham commented Nov 30, 2022

  • ESP32
  • ESP32-C2
  • ESP32-C3
  • ESP32-C6
  • ESP32-H2
  • ESP32-S3
@jessebraham jessebraham added the enhancement New feature or request label Nov 30, 2022
@jessebraham jessebraham moved this to Todo in esp-rs Nov 30, 2022
@jessebraham jessebraham pinned this issue Nov 30, 2022
@jessebraham jessebraham added the chip support Add support for a new device label Nov 30, 2022
@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 1, 2022

I think there is no bluetooth for ESP32-S2?

@jessebraham
Copy link
Member Author

I just copy-pasted the list for all these issues haha my bad

@SergioGasquez
Copy link
Member

I think we can check ESP32-C2, don't we @bjoernQ?

@Finomnis
Copy link

Do I understand correctly that "Bluetooth support" here is based on bleps? Are there plans to release bleps, or at least bring it out of "toy state" any time in the near future?

@MabezDev
Copy link
Member

We can probably cut a release of bleps soon, it probably needs a bit of polish with some docs etc. Getting it out of "toy" state requires battle testing the thing, and contributions from the community to fill the gaps.

@Finomnis
Copy link

Finomnis commented Sep 11, 2023

Then maybe replace the words "toy state" with "early alpha", and add words like "contributions welcome" so people are motivated to contribute. "toy state" sounds to me like it isn't intended to ever be a real thing.

@bjoernQ
Copy link
Contributor

bjoernQ commented Sep 12, 2023

It's important that esp-wifi doesn't depend on the bleps crate. What esp-wifi offers for Bluetooth is an HCI connection.

For very simple use-cases like advertising only you could just pass it the HCI commands needed without using any stack.

Unfortunately, there are not many options besides bleps for a no-std BLE stack currently. One promising crate is https://crates.io/crates/burble - they are considering making it no_std at some point.

Another option would be to port/use Nimble (which is written in C).

Initially bleps was really just meant to be used for the examples - that's why it says it's a toy. I think the biggest thing missing currently is pairing/bonding

@JurajSadel
Copy link
Contributor

Update: I've started working on adding BLE for H2.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Dec 6, 2023
@MabezDev MabezDev unpinned this issue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chip support Add support for a new device enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants