#ifndef __WEBSOCKET_HANDLE_H #define __WEBSOCKET_HANDLE_H #include "json_handle.h" #define WS_EVT_DATA 0x11 typedef struct { int evt; void *data; int len; }ws_data_t; typedef struct { int ph3; _OverAllPwrAckInfo ch[3]; }pwrall_info_t; int websocket_init(void); pwrall_info_t *websocket_get_pwrall(void); #endif