ESPTerm - ESP8266 terminal emulator. Branches: [master] patches, [work] next release
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
espterm-firmware/user/cgi_sockets.h

29 lines
519 B

#ifndef CGI_SOCKETS_H
#define CGI_SOCKETS_H
#define URL_WS_UPDATE "/term/update.ws"
#include <cgiwebsocket.h>
/** Update websocket connect callback */
void updateSockConnect(Websock *ws);
void notify_empty_txbuf(void);
void send_beep(void);
/** open pop-up notification */
void notify_growl(char *msg);
// defined in the makefile
#if DEBUG_INPUT
#define inp_warn warn
#define inp_dbg dbg
#define inp_info info
#else
#define inp_warn(...)
#define inp_dbg(...)
#define inp_info(...)
#endif
#endif //CGI_SOCKETS_H