thermferm/simulator.h

Fri, 03 May 2024 20:41:26 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 03 May 2024 20:41:26 +0200
changeset 722
1ff860e407f2
parent 715
f5d85af156ab
permissions
-rw-r--r--

In fermenter screen fix errors during page load.

#ifndef SIMULATOR_H
#define	SIMULATOR_H

#ifdef USE_SIMULATOR

/**
 * @brief Return a json string with one simulator record
 * @param simulator The simulator record
 * @return Json string
 */
char *simulator_json(simulator_list *simulator);


/**
 * @brief Send all simulator records to the websocket
 */
void simulator_ws(void);


/**
 * @brief The simulator thread.
 */
void *my_simulator_loop(void *);

#endif

#endif

mercurial