CiscoDevNet / csmp-agent-lib

OpenCSMP: CiscoDevNet Opensource CSMP-Agent Library (Formerly CSMP-Agent)
https://github.com/CiscoDevNet/csmp-agent-lib
Apache License 2.0
5 stars 3 forks source link

Implement config interface for CsmpAgent Sample application #19

Open ismilak opened 4 months ago

ismilak commented 4 months ago

Creating a config header to have a compile time interface to set sample app specific parameters.

Currently sample application includes constant initialisers for TLVs, like pubkey, etc., that can be moved into a configuration header file. By this way these parameters can be set at compile time with constant vendor data, CLI interface and runtime setters/getters are not required.