Hello, it's possible to use a variable or a #define in ser configure file? for example, can I write something like this:
#define PHONE_IP ="10.10.2.3" #define MSG_ERROR="this is a message error"
etc. etc.
if it's not possible, how can I obtain the same behaviour?
Thank You Andrea
Hi,
Andrea Federico wrote:
#define PHONE_IP ="10.10.2.3" #define MSG_ERROR="this is a message error"
etc. etc.
if it's not possible, how can I obtain the same behaviour?
We use a kind of template config file for ser, where we have templates like MY_TMPL_FOO, and a shell script which uses sed to replace the templates by the real strings, copies it to the right place, sets the permissions to 444 to protect against editing and starts ser with -c for checking the resulting config file.
Andy