How can I pass the syslog SERVER_HOST as a string that is derived from input in my application.
Currently it is hard coded in #define SYSLOG_HOST "5.5.5.5" at compile time.
New to Arduino coding I am having a hard time dynamically setting the syslog output in my app because
syslogstream.h
void setDestination(const char dest) { _dest = dest; }
is looking for a char and I am trying to pass a string.
How can I resolve this?
Can the syslogstream be adapted to accept strings directly or optionally?
Thank you for a great application.
How can I pass the syslog SERVER_HOST as a string that is derived from input in my application.
Currently it is hard coded in #define SYSLOG_HOST "5.5.5.5" at compile time. New to Arduino coding I am having a hard time dynamically setting the syslog output in my app because syslogstream.h void setDestination(const char dest) { _dest = dest; } is looking for a char and I am trying to pass a string. How can I resolve this?
Can the syslogstream be adapted to accept strings directly or optionally?
Thanks