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

Continued work on #369: Inject radio interface implementations #481

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

mcumings
Copy link
Contributor

@mcumings mcumings commented Sep 9, 2022

This required creation of new interfaces in order to break the static coupling. This also allowed for the removal of some plumbing of dependencies of these implementations since they are now directly injected.

The resulting code is not my favorite but I'm avoiding fan-out to callers.

This also moves the needle a very small amount on increasing the encapsulation of the interface ID type mappings into InterfaceFactory. I think a god next step would be to create an object to represent a complete address so that we can maintain type safety and eliminate the parsing and reassembly of addresses.

mcumings and others added 3 commits September 9, 2022 15:41
This required creation of new interfaces in order to break the
static coupling.  This also allowed for the removal of some plumbing
of dependencies of these implementations since they are now directly
injected.
@andrekir andrekir marked this pull request as ready for review October 24, 2023 19:05
@andrekir andrekir merged commit a7b0d70 into meshtastic:master Oct 24, 2023
1 check passed
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.

2 participants