Arduino DLNA Server
Loading...
Searching...
No Matches
Macros
dlna_config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DLNA_LOOP_DELAY_MS   5
 Define delay in ms for main DLNA loop.
 
#define DLNA_RUN_SCHEDULER_EVERY_MS   200
 Define scheduler run interval in ms.
 
#define DLNA_RUN_SUBSCRIPTIONS_EVERY_MS   300
 Define subscription publish interval in ms.
 
#define DLNA_HTTP_READ_TIMEOUT_MS   100
 Define the default http request timeout.
 
#define DLNA_HTTP_REQUEST_TIMEOUT_MS   15000
 Define the default http request timeout.
 
#define DLNA_REQUEST_KEEP_ALIVE   false
 Keep the session open for multiple requests.
 
#define XML_PARSER_BUFFER_SIZE   512
 Define XML parse buffer size.
 
#define STR_PRINT_INITIAL_SIZE   200
 Define initial size for StrPrint.
 
#define STR_PRINT_INC_SIZE   200
 Define increment size for StrPrint.
 
#define DLNA_SSDP_PORT   1900
 SSDP multicast/UDP port (default 1900)
 
#define DLNA_MAX_URL_LEN   256
 app-wide max URL length
 
#define MAX_PRINTF_SIZE   512
 Max printf buffer size.
 
#define DLNA_PROTOCOL_ALL
 All possible protocols.
 
#define DLNA_PROTOCOL_AUDIO
 All possible audio protocols.
 
#define MAX_NOTIFY_RETIES   3
 Define maximum number of notify retries.
 
#define DLNA_PROTOCOL   DLNA_PROTOCOL_AUDIO
 Define the default protocols to use.
 
#define DLNA_ALLOCATOR   AllocatorPSRAM
 Define the default allocator base class to use: std::allocator, AllocatorPSRAM.
 
#define DLNA_LOG_XML   false
 Enable or disable logging of XML messages.
 
#define DLNA_CHECK_XML_LENGTH   false
 
#define DLNA_DISCOVERY_NETMASK   IPAddress(255, 255, 255, 0)
 Define the netmask for discovery filtering.
 

Macro Definition Documentation

◆ DLNA_ALLOCATOR

#define DLNA_ALLOCATOR   AllocatorPSRAM

Define the default allocator base class to use: std::allocator, AllocatorPSRAM.

◆ DLNA_CHECK_XML_LENGTH

#define DLNA_CHECK_XML_LENGTH   false

◆ DLNA_DISCOVERY_NETMASK

#define DLNA_DISCOVERY_NETMASK   IPAddress(255, 255, 255, 0)

Define the netmask for discovery filtering.

◆ DLNA_HTTP_READ_TIMEOUT_MS

#define DLNA_HTTP_READ_TIMEOUT_MS   100

Define the default http request timeout.

◆ DLNA_HTTP_REQUEST_TIMEOUT_MS

#define DLNA_HTTP_REQUEST_TIMEOUT_MS   15000

Define the default http request timeout.

◆ DLNA_LOG_XML

#define DLNA_LOG_XML   false

Enable or disable logging of XML messages.

◆ DLNA_LOOP_DELAY_MS

#define DLNA_LOOP_DELAY_MS   5

Define delay in ms for main DLNA loop.

◆ DLNA_MAX_URL_LEN

#define DLNA_MAX_URL_LEN   256

app-wide max URL length

◆ DLNA_PROTOCOL

#define DLNA_PROTOCOL   DLNA_PROTOCOL_AUDIO

Define the default protocols to use.

◆ DLNA_PROTOCOL_ALL

#define DLNA_PROTOCOL_ALL

All possible protocols.

◆ DLNA_PROTOCOL_AUDIO

#define DLNA_PROTOCOL_AUDIO
Value:
"http-get:*:audio/mpeg:DLNA.ORG_PN=MP3," \
"http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE," \
"http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL," \
"http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO," \
"http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL," \
"http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL_MULT5," \
"http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320," \
"http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320," \
"http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO," \
"http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO," \
"http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM," \
"http-get:*:audio/x-wav:*," \
"http-get:*:audio/x-flac:*," \
"http-get:*:audio/x-dsd:*"

All possible audio protocols.

◆ DLNA_REQUEST_KEEP_ALIVE

#define DLNA_REQUEST_KEEP_ALIVE   false

Keep the session open for multiple requests.

◆ DLNA_RUN_SCHEDULER_EVERY_MS

#define DLNA_RUN_SCHEDULER_EVERY_MS   200

Define scheduler run interval in ms.

◆ DLNA_RUN_SUBSCRIPTIONS_EVERY_MS

#define DLNA_RUN_SUBSCRIPTIONS_EVERY_MS   300

Define subscription publish interval in ms.

◆ DLNA_SSDP_PORT

#define DLNA_SSDP_PORT   1900

SSDP multicast/UDP port (default 1900)

◆ MAX_NOTIFY_RETIES

#define MAX_NOTIFY_RETIES   3

Define maximum number of notify retries.

◆ MAX_PRINTF_SIZE

#define MAX_PRINTF_SIZE   512

Max printf buffer size.

◆ STR_PRINT_INC_SIZE

#define STR_PRINT_INC_SIZE   200

Define increment size for StrPrint.

◆ STR_PRINT_INITIAL_SIZE

#define STR_PRINT_INITIAL_SIZE   200

Define initial size for StrPrint.

◆ XML_PARSER_BUFFER_SIZE

#define XML_PARSER_BUFFER_SIZE   512

Define XML parse buffer size.