NetBurner 3.5.0
PDF Version
 
Config Class

This program shows the basics of using NetBurner's config system. The config system stores system-defined boot and interface information, such as default BaudRate and current IP settings, and also provides a system for the user to define and store their own persistent variables.

In this example, which expands on the BasicConfigVariable example, we create some custom classes that inherit from an empty config object type. We then use these classes to group additional config data together. The objects of these types 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: