21 #ifndef SL_LOGGER_MQTT_H 
   22 #define SL_LOGGER_MQTT_H 
void * mqtt_channels(void *ptargs)
Channel map.
 
void * mqtt_logging(void *ptargs)
Network source main logging loop.
 
void * mqtt_setup(void *ptargs)
Device thread setup.
 
bool mqtt_parseConfig(log_thread_args_t *lta, config_section *s)
Take a configuration section and parse parameters.
 
mqtt_params mqtt_getParams(void)
Fill out default MP source parameters.
 
void * mqtt_shutdown(void *ptargs)
Network source shutdown.
 
device_callbacks mqtt_getCallbacks(void)
Fill out device callback functions for logging.
 
struct mosquitto mqtt_conn
Convenient alias for library structure.
 
Configuration file section.
 
Device specific function information.
 
Logging thread information.
 
MQTT source specific parameters.
 
char * sourceName
User defined name for this source.
 
char * sysid
Portal/System ID for use with victron_keepalive.
 
int port
Target port number.
 
int keepalive_interval
Interval between keepalives.
 
uint8_t sourceNum
Source ID for messages.
 
mqtt_conn * conn
Connection.
 
bool victron_keepalives
Victron compatible keep alives.
 
mqtt_queue_map qm
Topic mapping.