11 * @brief Messages received from a iSpindel using the MQTT sender. |
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 |
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 |
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 |
14 * actual state is recorded. A log line is written when a beer |
15 * is assigned. |
15 * is assigned. |
16 * @param topic The MQTT topic string, contains the ispindel name and |
16 * @param topic The MQTT topic string, contains the ispindel type and name |
17 * keyword for the data. |
|
18 * @param payload The value for the selected keyword. |
17 * @param payload The value for the selected keyword. |
19 */ |
18 */ |
20 void ispindel_mqtt(char *topic, char *payload); |
19 void ispindel_birth_data(char *topic, char *payload); |
21 |
20 |
22 |
21 |
23 #endif |
22 #endif |