21 #ifndef SL_LOGGER_DW_H
22 #define SL_LOGGER_DW_H
57 #define DWCHAN_NAME SLCHAN_NAME
58 #define DWCHAN_MAP SLCHAN_MAP
59 #define DWCHAN_TSTAMP SLCHAN_TSTAMP
60 #define DWCHAN_RAW SLCHAN_RAW
68 #define DWCHAN_ORIENT 10
69 #define DWCHAN_INCLIN 11
70 #define DWCHAN_GPSFIX 12
71 #define DWCHAN_HRMS 13
72 #define DWCHAN_TREF 14
73 #define DWCHAN_TWTR 15
74 #define DWCHAN_WEEKS 16
bool dw_net_connect(void *ptargs)
DW Network connection helper.
void * dw_channels(void *ptargs)
Channel map.
bool dw_parseConfig(log_thread_args_t *lta, config_section *s)
Take a configuration section and parse parameters.
void dw_push_message(log_thread_args_t *args, uint8_t sNum, uint8_t cNum, float data)
Create and push messages to queue.
void * dw_setup(void *ptargs)
Datawell thread setup.
dw_params dw_getParams(void)
Fill out default MP source parameters.
void * dw_logging(void *ptargs)
Datawell source main logging loop.
void * dw_shutdown(void *ptargs)
Datawell source shutdown.
device_callbacks dw_getCallbacks(void)
Fill out device callback functions for logging.
Configuration file section.
Device specific function information.
Configuration is as per simple network sources.
char * sourceName
User defined name for this source.
bool parseSpectrum
Enable parsing of spectral data.
int timeout
Reconnect if no data received after this interval [s].
uint8_t sourceNum
Source ID for messages.
int handle
Handle for currently opened device.
bool recordRaw
Enable retention of raw data.
Logging thread information.