thermferm/simulator.h

changeset 715
f5d85af156ab
parent 714
24749c296a50
equal deleted inserted replaced
714:24749c296a50 715:f5d85af156ab
1 #ifndef SIMULATOR_H 1 #ifndef SIMULATOR_H
2 #define SIMULATOR_H 2 #define SIMULATOR_H
3 3
4 #ifdef USE_SIMULATOR 4 #ifdef USE_SIMULATOR
5 5
6 /**
7 * @brief Return a json string with one simulator record
8 * @param simulator The simulator record
9 * @return Json string
10 */
6 char *simulator_json(simulator_list *simulator); 11 char *simulator_json(simulator_list *simulator);
12
13
14 /**
15 * @brief Send all simulator records to the websocket
16 */
7 void simulator_ws(void); 17 void simulator_ws(void);
8 18
19
20 /**
21 * @brief The simulator thread.
22 */
9 void *my_simulator_loop(void *); 23 void *my_simulator_loop(void *);
10 24
11 #endif 25 #endif
12 26
13 #endif 27 #endif

mercurial