bmsd/ispindels.h

Fri, 13 Dec 2019 16:49:50 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 13 Dec 2019 16:49:50 +0100
changeset 567
6bf0afc33e70
child 568
6f3c24e21deb
permissions
-rw-r--r--

Initial code for iSpindel support in the daemon

/**
 * @file ispindels.h
 */

#ifndef _ISPINDEL_H
#define _ISPINDEL_H

void ispindel_dump(sys_ispindel_list *ispindel);

/**
 * @brief Birth of a ispindel or data update. Create it in the database if 
 *        never seen before, else just update the database entry.
 * @param topic The MQTT topic string, contains the ispindel type and name.
 * @param payload The JSON formatted payload with the ispindel details.
 */
void ispindel_mqtt(char *topic, char *payload);


#endif

mercurial