|
1 /** |
|
2 * @file ispindels.h |
|
3 */ |
|
4 |
|
5 #ifndef _ISPINDEL_H |
|
6 #define _ISPINDEL_H |
|
7 |
|
8 void ispindel_dump(sys_ispindel_list *ispindel); |
|
9 |
|
10 /** |
|
11 * @brief Messages received from a iSpindel using the MQTT sender. |
|
12 * A new node is created if this is the first message of the |
|
13 * iSpindel, else the last seen time is updated. Then the last |
|
14 * actual state is recorded. A log line is written when a beer |
|
15 * is assigned. |
|
16 * @param topic The MQTT topic string, contains the ispindel type and name |
|
17 * @param payload The value for the selected keyword. |
|
18 */ |
|
19 void ispindel_birth_data(char *topic, char *payload); |
|
20 |
|
21 |
|
22 #endif |