This program shows the basics of using NetBurner's config system. The config system is used both to store boot and interface information, such as default BaudRate and current IP settings, as well as provide for the user to define and store their own persistent variables.
In this example, build on BasicConfigVariable, and create some custom classes that inherit from an empty config object type. We then use it to group additional config data together. The objects of these type are created when the device first boots, and their values persist after the device has been power cycled. The currently available config objects that can be used are as follows:
config_obj
// base object, used as a container for other objectsconfig_bool
// boolconfig_int
// intconfig_double
// doubleconfig_string
// stringconfig_chooser
// multiple choice optionconfig_pass
// passwordconfig_IPADDR4
// IP4 Addressconfig_IPADDR6
// IP6 Addressconfig_MACADR
// MAC Address