You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: