bmsd/ispindels.h

changeset 567
6bf0afc33e70
child 568
6f3c24e21deb
--- /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

mercurial