4 |
4 |
5 #ifndef _ISPINDEL_H |
5 #ifndef _ISPINDEL_H |
6 #define _ISPINDEL_H |
6 #define _ISPINDEL_H |
7 |
7 |
8 void ispindel_dump(sys_ispindel_list *ispindel); |
8 void ispindel_dump(sys_ispindel_list *ispindel); |
|
9 |
|
10 /** |
|
11 * @brief Process received command from a websocket. |
|
12 * @param payload The received data in JSON format. |
|
13 */ |
|
14 void ispindel_ws_receive(char *payload); |
9 |
15 |
10 /** |
16 /** |
11 * @brief Messages received from a iSpindel using the MQTT sender. |
17 * @brief Messages received from a iSpindel using the MQTT sender. |
12 * A new node is created if this is the first message of the |
18 * 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 |
19 * iSpindel, else the last seen time is updated. Then the last |