Loading...
Searching...
No Matches

Detailed Description

Macros

#define CONFIG_GNRC_UDP_MSG_QUEUE_SIZE_EXP   (3U)
 Default message queue size for the UDP thread (as exponent of 2^n).
 
#define GNRC_UDP_PRIO   (THREAD_PRIORITY_MAIN - 2)
 Priority of the UDP thread.
 
#define GNRC_UDP_STACK_SIZE   ((THREAD_STACKSIZE_SMALL) - 64)
 Default stack size to use for the UDP thread.
 

Macro Definition Documentation

◆ CONFIG_GNRC_UDP_MSG_QUEUE_SIZE_EXP

#define CONFIG_GNRC_UDP_MSG_QUEUE_SIZE_EXP   (3U)

Default message queue size for the UDP thread (as exponent of 2^n).

     As the queue size ALWAYS needs to be power of two, this option
     represents the exponent of 2^n, which will be used as the size of
     the queue.

Definition at line 48 of file udp.h.

◆ GNRC_UDP_PRIO

#define GNRC_UDP_PRIO   (THREAD_PRIORITY_MAIN - 2)

Priority of the UDP thread.

Definition at line 55 of file udp.h.

◆ GNRC_UDP_STACK_SIZE

#define GNRC_UDP_STACK_SIZE   ((THREAD_STACKSIZE_SMALL) - 64)

Default stack size to use for the UDP thread.

Note
The message queue was previously allocated on the stack. The default number of messages is 2³. Given sizeof(msg_t) == 8, the stack size is reduced by 64 bytes.

Definition at line 66 of file udp.h.