21 #ifndef SL_LOGGER_NET_H
22 #define SL_LOGGER_NET_H
bool net_parseConfig(log_thread_args_t *lta, config_section *s)
Take a configuration section and parse parameters.
void * net_logging(void *ptargs)
Network source main logging loop.
device_callbacks net_getCallbacks(void)
Fill out device callback functions for logging.
void * net_channels(void *ptargs)
Channel map.
void * net_shutdown(void *ptargs)
Network source shutdown.
net_params net_getParams(void)
Fill out default MP source parameters.
void * net_setup(void *ptargs)
Device thread setup.
bool net_connect(void *ptargs)
Network connection helper function.
Configuration file section.
Device specific function information.
Logging thread information.
Network device specific parameters.
uint8_t sourceNum
Source ID for messages.
int minBytes
Minimum number of bytes to group into a message.
int handle
Handle for currently opened device.
char * sourceName
User defined name for this source.
int maxBytes
Maximum number of bytes to group into a message.
int port
Target port number.
int timeout
Reconnect if no data received after this interval [s].