I am developing an application in C on an Embededd Linux platform.
I would like to have a way of setting values of variables (i.e.: parameters) from the outside (calibration protocol)
Example of a parameter would be the initial value of a counter keeping track of the uptime of the system. (Additionally, I would need to periodically save the current uptime value, storing it somewhere (e.g.: into a file) and loading the updated initial value when the application is started again.)
I had a brief experience with Embedded C programming of ECU communicating over CAN bus and there I used CCP protocol (XCP protocol over CAN bus) to update values of parameters.
I would like to have something similar to what I had with CCP, but on a more complex system (not just a bare-metal system, but a Linux OS) and by performing parameters update operations remotely (e.g.: with a UDP or TCP socket).
How can I achieve this? Is there some standard protocol to do this?
Thank you in advance.