21 #ifndef SL_LOGGER_SERIAL_H
22 #define SL_LOGGER_SERIAL_H
void * rx_setup(void *ptargs)
Generic serial connection setup.
void * rx_logging(void *ptargs)
Serial source main logging loop.
device_callbacks rx_getCallbacks(void)
Fill out device callback functions for logging.
bool rx_parseConfig(log_thread_args_t *lta, config_section *s)
Take a configuration section and parse parameters.
void * rx_shutdown(void *ptargs)
Serial source shutdown.
void * rx_channels(void *ptargs)
Serial source channel map.
rx_params rx_getParams(void)
Fill out default MP source parameters.
Configuration file section.
Device specific function information.
Logging thread information.
Serial device specific parameters.
char * portName
Target port name.
char * sourceName
User defined name for this source.
int pollFreq
Minimum number of times per second to check for data.
int minBytes
Minimum number of bytes to group into a message.
int maxBytes
Maximum number of bytes to group into a message.
uint8_t sourceNum
Source ID for messages.
int baudRate
Baud rate for operations (currently unused)
int handle
Handle for currently opened device.