35#ifndef _FREERTOS_DRIVERS_NET_FREERTOSTCP_FREERTOSTCP_HXX_
36#define _FREERTOS_DRIVERS_NET_FREERTOSTCP_FREERTOSTCP_HXX_
void * Socket_t
local declaraction of Socket_t to avoid dependency on FreeRTOSTCP headers
int socket(int domain, int type, int protocol)
Create an unbound socket in a communications domain.
Provides the startup and mantainance methods for configuring and using the FreeRTOSTCP stack.
Socket_t wakeup
signal socket to wakeup select()
FreeRTOSTCP()
Constructor.
void net_task()
Thread that will manage the net connection inside object context.
void start()
Startup the networking processes.
static FreeRTOSTCP * instance_
singleton instance pointer.
void fd_set_read(Socket_t socket)
Add socket to the read fd set.
static void * net_task_entry(void *context)
Thread that will manage the network connection.
void select_wakeup(Socket_t data=nullptr)
Asynchronously wakeup the select call.
~FreeRTOSTCP()
Destructor.
uint32_t ipAddress
assigned IP adress
void fd_set_write(Socket_t socket)
Add socket to the write fd set.
static FreeRTOSTCP * instance()
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Removes default copy-constructor and assignment added by C++.