brewpanel/sockio.h

Wed, 01 May 2024 14:38:37 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 01 May 2024 14:38:37 +0200
changeset 715
f5d85af156ab
parent 637
21e542c15832
permissions
-rw-r--r--

Added device_present() function to easy update device present from one-wire and simulator devices. When a simulator temperature sensor present is changed, the device table is changed too. Controlling simulator relays is now for each simulator. The simulator runs under the state machine. If something changed in the running simulator, all data is broadcasted over websocket. Completed the web editor.

#ifndef _SOCKIO_H
#define	_SOCKIO_H
#ifdef	HAVE_SDL2_SDL_H


void socket_recv(SGOBJ *dlg);
int  socket_connect(void);


#endif
#endif

mercurial