ESP8266_RTOS_SDK
v1.4.0
|
#include <espconn.h>
Data Fields | |
enum espconn_type | type |
enum espconn_state | state |
union { | |
esp_tcp * tcp | |
esp_udp * udp | |
} | proto |
espconn_recv_callback | recv_callback |
espconn_sent_callback | sent_callback |
uint8 | link_cnt |
void * | reserve |
A espconn descriptor
uint8 link_cnt |
link count
espconn_recv_callback recv_callback |
data received callback
void* reserve |
reserved for user data
espconn_sent_callback sent_callback |
data sent callback
enum espconn_state state |
current state of the espconn
enum espconn_type type |
type of the espconn (TCP or UDP)