Gbox 4.20
Grow box automation and monitoring - <a href='https://sites.google.com/site/growboxguy/'>https://sites.google.com/site/growboxguy/</a>
 
Loading...
Searching...
No Matches
ELClientSocket.h File Reference

Definitions for ELClientSocket. More...

#include <Arduino.h>
#include "FP.h"
#include "ELClient.h"
Include dependency graph for ELClientSocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ELClientSocket
 

Macros

#define DEFAULT_SOCKET_TIMEOUT   5000
 
#define USERCB_SENT   0
 
#define USERCB_RECV   1
 
#define USERCB_RECO   2
 
#define USERCB_CONN   3
 
#define SOCKET_TCP_CLIENT   0
 
#define SOCKET_TCP_CLIENT_LISTEN   1
 
#define SOCKET_TCP_SERVER   2
 
#define SOCKET_UDP   3
 

Detailed Description

Definitions for ELClientSocket.

Author
BeeGee
Version
1.0
Date
2016
Warning
Needs ESP-LINK V2.4

Definition in file ELClientSocket.h.

Macro Definition Documentation

◆ DEFAULT_SOCKET_TIMEOUT

#define DEFAULT_SOCKET_TIMEOUT   5000

Default timeout for SOCKET requests when waiting for a response

Definition at line 17 of file ELClientSocket.h.

◆ SOCKET_TCP_CLIENT

#define SOCKET_TCP_CLIENT   0

TCP socket client for sending only, doesn't wait for response from server

Definition at line 25 of file ELClientSocket.h.

◆ SOCKET_TCP_CLIENT_LISTEN

#define SOCKET_TCP_CLIENT_LISTEN   1

TCP socket client, waits for response from server after sending

Definition at line 26 of file ELClientSocket.h.

◆ SOCKET_TCP_SERVER

#define SOCKET_TCP_SERVER   2

TCP socket server

Definition at line 27 of file ELClientSocket.h.

◆ SOCKET_UDP

#define SOCKET_UDP   3

UDP socket for sending and receiving UDP packets

Definition at line 28 of file ELClientSocket.h.

◆ USERCB_CONN

#define USERCB_CONN   3

Type of callback from ELClient. SOCKET socket connected or disconnected

Definition at line 22 of file ELClientSocket.h.

◆ USERCB_RECO

#define USERCB_RECO   2

Type of callback from ELClient. SOCKET connection error

Definition at line 21 of file ELClientSocket.h.

◆ USERCB_RECV

#define USERCB_RECV   1

Type of callback from ELClient. SOCKET packet has been received

Definition at line 20 of file ELClientSocket.h.

◆ USERCB_SENT

#define USERCB_SENT   0

Type of callback from ELClient. SOCKET packet has been sent

Definition at line 19 of file ELClientSocket.h.