Skip to content

ESP32-C2 BLE #110

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

Merged
merged 1 commit into from
Jan 24, 2023
Merged

ESP32-C2 BLE #110

merged 1 commit into from
Jan 24, 2023

Conversation

bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Jan 20, 2023

This adds support for ESP32-C2 BLE

I observed that sometimes it doesn't get the Disconnect event - not sure why or what we can do about that. I will try to add some timeout and automatic disconnect to the toy BLE stack used and see if that helps

There are a lot todo!()s here - that's because apparently the controller doesn't use much of the NPL functions - we could just set them to NULL but then if they get used in future it will be very inconvenient to find what is exactly missing.

This also contains some refactoring to the previous BLE implementation to better separate the chip specific things from the common code.

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Works well on my phone and computer :)

@bjoernQ bjoernQ merged commit 7fd20eb into main Jan 24, 2023
@jessebraham
Copy link
Member

I never did manage to get this working, just FYI @bjoernQ

@bjoernQ bjoernQ deleted the esp32c2-ble branch February 1, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants