MeterLogger
|
#include "lwip/app/espconn.h"
Go to the source code of this file.
Macros | |
#define | ESPCONN_TCP_DEBUG LWIP_DBG_OFF |
#define | ESPCONN_TCP_TIMER 40 |
#define | espconn_keepalive_enable(pcb) ((pcb)->so_options |= SOF_KEEPALIVE) |
#define | espconn_keepalive_disable(pcb) ((pcb)->so_options &= ~SOF_KEEPALIVE) |
Functions | |
void | espconn_kill_oldest_pcb (void) |
void | espconn_tcp_disconnect (espconn_msg *pdiscon, u8 type) |
sint8 | espconn_tcp_client (struct espconn *espconn) |
sint8 | espconn_tcp_server (struct espconn *espconn) |
#define espconn_keepalive_disable | ( | pcb | ) | ((pcb)->so_options &= ~SOF_KEEPALIVE) |
Definition at line 14 of file espconn_tcp.h.
Referenced by espconn_clear_opt().
#define espconn_keepalive_enable | ( | pcb | ) | ((pcb)->so_options |= SOF_KEEPALIVE) |
Definition at line 13 of file espconn_tcp.h.
Referenced by espconn_client_connect(), espconn_set_opt(), and espconn_tcp_accept().
#define ESPCONN_TCP_DEBUG LWIP_DBG_OFF |
Definition at line 5 of file espconn_tcp.h.
#define ESPCONN_TCP_TIMER 40 |
Definition at line 10 of file espconn_tcp.h.
void espconn_kill_oldest_pcb | ( | void | ) |
Definition at line 115 of file espconn_tcp.c.
References espconn_kill_oldest(), MEMP_NUM_TCP_PCB, NULL, and tcp_pcb_lists.
Referenced by espconn_tcp_disconnect_successful(), and espconn_tcp_reconnect().
Definition at line 878 of file espconn_tcp.c.
References ERR_OK, ERR_RTE, ERR_USE, espconn_client_connect(), espconn_client_err(), espconn_kill_pcb(), espconn_list_creat(), espconn_list_delete(), ESPCONN_MEM, ESPCONN_RTE, ESPCONN_WAIT, ICACHE_FLASH_ATTR, IP4_ADDR, IP_ADDR_ANY, memp_free(), NULL, os_free, os_zalloc, espconn::proto, _esp_tcp::remote_ip, espconn::state, and espconn::tcp.
Referenced by espconn_connect().
void espconn_tcp_disconnect | ( | espconn_msg * | pdiscon, |
u8 | type | ||
) |
Definition at line 498 of file espconn_tcp.c.
References espconn_client_close(), espconn_printf, espconn_server_close(), ICACHE_FLASH_ATTR, NULL, _comon_pkt::pcb, _espconn_msg::pcommon, and _espconn_msg::preverse.
Referenced by espconn_abort(), and espconn_disconnect().
Definition at line 1281 of file espconn_tcp.c.
References _espconn_msg::count_opt, espconn_list_creat(), ESPCONN_LISTEN, ESPCONN_MEM, ESPCONN_OK, espconn_tcp_accept(), IP_ADDR_ANY, _esp_tcp::local_port, memp_free(), MEMP_NUM_TCP_PCB, NULL, os_free, os_zalloc, _espconn_msg::pcommon, _espconn_msg::pespconn, _espconn_msg::preverse, espconn::proto, espconn::state, espconn::tcp, and _comon_pkt::timeout.
Referenced by espconn_accept().