diff -r e526dc911bc1 -r 6bf0afc33e70 bmsd/ispindels.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bmsd/ispindels.h Fri Dec 13 16:49:50 2019 +0100 @@ -0,0 +1,19 @@ +/** + * @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