Arduino DLNA Server
Public Member Functions | Protected Attributes | List of all members
tiny_dlna::UDPAsyncService Class Reference

Access to UDP functionality: sending and receiving of data using the Async API of the ESP32. More...

#include <UDPAsyncService.h>

Inheritance diagram for tiny_dlna::UDPAsyncService:
Inheritance graph
[legend]
Collaboration diagram for tiny_dlna::UDPAsyncService:
Collaboration graph
[legend]

Public Member Functions

bool begin (IPAddressAndPort addr)
 
bool send (uint8_t *data, int len)
 
bool send (IPAddressAndPort addr, uint8_t *data, int len)
 
RequestData receive ()
 

Protected Attributes

AsyncUDP udp
 
IPAddressAndPort peer
 
QueueLockFree< RequestDataqueue {50}
 

Detailed Description

Access to UDP functionality: sending and receiving of data using the Async API of the ESP32.

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

bool tiny_dlna::UDPAsyncService::begin ( IPAddressAndPort  addr)
inlinevirtual

◆ receive()

RequestData tiny_dlna::UDPAsyncService::receive ( )
inlinevirtual

◆ send() [1/2]

bool tiny_dlna::UDPAsyncService::send ( IPAddressAndPort  addr,
uint8_t *  data,
int  len 
)
inlinevirtual

◆ send() [2/2]

bool tiny_dlna::UDPAsyncService::send ( uint8_t *  data,
int  len 
)
inlinevirtual

Member Data Documentation

◆ peer

IPAddressAndPort tiny_dlna::UDPAsyncService::peer
protected

◆ queue

QueueLockFree<RequestData> tiny_dlna::UDPAsyncService::queue {50}
protected

◆ udp

AsyncUDP tiny_dlna::UDPAsyncService::udp
protected

The documentation for this class was generated from the following file: