ESP8266 Centre + NB
成员变量
espconn结构体 参考

#include <espconn.h>

espconn 的协作图:
Collaboration graph
[图例]

成员变量

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 * reverse
 

详细描述

A espconn descriptor

结构体成员变量说明

enum espconn_type espconn::type

type of the espconn (TCP, UDP)

enum espconn_state espconn::state

current state of the espconn

esp_tcp* espconn::tcp
esp_udp* espconn::udp
union { ... } espconn::proto
espconn_recv_callback espconn::recv_callback

A callback function that is informed about events for this espconn

espconn_sent_callback espconn::sent_callback
uint8 espconn::link_cnt
void* espconn::reverse

该结构体的文档由以下文件生成: