Currently, Configuration and NavigationData classes have public attributes that anyone can modify freely. Some of these attributes trigger dedicated actions like writing configuration to EEPROM or updating MicronetCodec internal configuration. The current way to handle it is messy : it is the responsibility of the user to set some flags or to check for modifications.
All Configuration and NavigationData attributes should be private and getters/setters should handle potential flags to trigger EEPROM writes or config update in MicronetCodec or MicroneDevice.
Currently,
Configuration
andNavigationData
classes have public attributes that anyone can modify freely. Some of these attributes trigger dedicated actions like writing configuration to EEPROM or updatingMicronetCodec
internal configuration. The current way to handle it is messy : it is the responsibility of the user to set some flags or to check for modifications. AllConfiguration
andNavigationData
attributes should be private and getters/setters should handle potential flags to trigger EEPROM writes or config update inMicronetCodec
orMicroneDevice
.