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

factor configuration into a "modular" multiple-inheritance approach #69

Open
scott2b opened this issue Jul 5, 2018 · 0 comments
Open
Assignees

Comments

@scott2b
Copy link
Member

scott2b commented Jul 5, 2018

Pull config.cpp/h apart such that we have modular configuration structs each with a loadConfig that handles loading it's own specific properties from the SD card config file. For now, just create base structs for RFM95 and for WiFi

The SensorGridPM config implementation should then inherit from these base configs to create an overall config combined from those "modules". PM implmentation will also add it's own parameters. Override loadConfig to load its own parameters as well as to call the load config of the base classes so that all parameters are read into the final struct

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

No branches or pull requests

2 participants