RTL00_WEB/project/inc/web/web_websocket.h

19 lines
645 B
C
Raw Normal View History

2017-04-22 13:54:00 +00:00
#ifndef _WEB_WEBSOCKET_H_
/******************************************************************************
* FileName: web_websocket.h
* Description: websocket for web ESP8266
* Author: PV`
* (c) PV` 2016
*******************************************************************************/
#define _WEB_WEBSOCKET_H_
#include "user_config.h"
#ifdef WEBSOCKET_ENA
#include "websock.h"
err_t websock_tx_close_err(TCP_SERV_CONN *ts_conn, uint32 err);
bool websock_rx_data(TCP_SERV_CONN *ts_conn);
2017-09-06 11:34:28 +00:00
err_t websock_tx_frame(TCP_SERV_CONN *ts_conn, uint32 opcode, uint8 *raw_data, uint32 raw_len);
2017-04-22 13:54:00 +00:00
#endif // WEBSOCKET_ENA
#endif /* _WEB_WEBSOCKET_H_ */