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

Refactor host API #117

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Refactor host API #117

merged 1 commit into from
Sep 23, 2024

Conversation

lulf
Copy link
Member

@lulf lulf commented Sep 20, 2024

The refactoring ensures that API is less likely to be misused, and moves logic associated with a BLE role to the appropriate place.

  • Peripheral type for advertising
  • Central type for connecting and scanning
  • Runner type for running the stack

The refactoring ensures that API is less likely to be misused, and moves
logic associated with a BLE role to the appropriate place.

- Peripheral type for advertising
- Central type for connecting and scanning
- Runner type for running the stack
- Stack type for passing a copyable handle to the stack
@lulf lulf marked this pull request as ready for review September 23, 2024 07:47
@lulf lulf changed the title WIP: Refactor host API Refactor host API Sep 23, 2024
@lulf
Copy link
Member Author

lulf commented Sep 23, 2024

/test

@lulf lulf merged commit ca9c775 into main Sep 23, 2024
5 checks passed
@lulf lulf deleted the refactor-stack branch September 23, 2024 07:53
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.

1 participant