21 #ifndef SL_LOGGER_N2K_H
22 #define SL_LOGGER_N2K_H
46 #define N2KCHAN_NAME SLCHAN_NAME
47 #define N2KCHAN_MAP SLCHAN_MAP
48 #define N2KCHAN_TSTAMP SLCHAN_TSTAMP
49 #define N2KCHAN_RAW SLCHAN_RAW
bool n2k_parseConfig(log_thread_args_t *lta, config_section *s)
Take a configuration section and parse parameters.
void * n2k_channels(void *ptargs)
N2K Channel map.
void * n2k_setup(void *ptargs)
N2K Setup.
void * n2k_shutdown(void *ptargs)
N2K Shutdown.
n2k_params n2k_getParams(void)
Fill out default N2K parameters.
void * n2k_logging(void *ptargs)
N2K logging (with pthread function signature)
device_callbacks n2k_getCallbacks(void)
Fill out device callback functions for logging.
Configuration file section.
Device specific function information.
Logging thread information.
N2K Device specific parameters.
char * portName
Target port name.
uint8_t sourceNum
Source ID for messages.
char * sourceName
User defined name for this source.
int baudRate
Baud rate for operations.
int handle
Handle for currently opened device.