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

Could be Enumerated #3

Open
gorkemcaylak opened this issue Mar 9, 2021 · 0 comments
Open

Could be Enumerated #3

gorkemcaylak opened this issue Mar 9, 2021 · 0 comments

Comments

@gorkemcaylak
Copy link

I would define these as enums in the header file like

enum Families{
BCR = 0,
SOLAR_PANEL_SENS = 1,
POWER_BUSES = 2,
....
}

// possible families
// 0x00 BCRs
// 0x01 Solar Panel Sensors
// 0x02 Power Buses
// 0x03 Switchable Power Buses
// 0x04 Battery Module
// 0x05 System Data

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

1 participant