GomSpace/libcsp — Issue #26: CSP routing table storage interface
Author: johandc
Created: 2012-01-09 13:17:06+00:00
State: open
Labels: Feature

The routing table in CSP should be available as a struct array, that could be used by the user to easily store and restore the configuration to/from EEPROM or in flash. This is to allow generic CSP products to be shipped out, configured by the user and then stored in the flash configuraiton.

I suggest that CSP will support a callback function pattern for store and restore. CSP will take care of formatting and parsing the data, and the user provides a function that will store the char * data and int length, from CSP.

This may even be extended in the future such that node address, buffer sizes and other options could be stored along with the routing table, and make CSP even more flexible for the users.

The aim is to provide a generic CSP software for products like the EPS that we will "mass-produce" without re-compiling the software for each user-defined routing table.