libcoap  4.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Macros
lwippools.h File Reference
#include <net.h>
#include <subscribe.h>
#include <resource.h>

Go to the source code of this file.

Macros

#define MEMP_NUM_COAPNODE   4
 Memory pool definitions for the libcoap when used with lwIP (which has its own mechanism for quickly allocating chunks of data with known sizes). More...
 
#define MEMP_NUM_COAP_SUBSCRIPTION   4
 
#define MEMP_NUM_COAPRESOURCE   10
 
#define MEMP_NUM_COAPRESOURCEATTR   20
 

Macro Definition Documentation

#define MEMP_NUM_COAP_SUBSCRIPTION   4

Definition at line 20 of file lwippools.h.

#define MEMP_NUM_COAPNODE   4

Memory pool definitions for the libcoap when used with lwIP (which has its own mechanism for quickly allocating chunks of data with known sizes).

Has to be findable by lwIP (ie. an #include <lwippools.h> must either directly include this or include something more generic which includes this), and MEMP_USE_CUSTOM_POOLS has to be set in lwipopts.h.

Definition at line 16 of file lwippools.h.

#define MEMP_NUM_COAPRESOURCE   10

Definition at line 24 of file lwippools.h.

#define MEMP_NUM_COAPRESOURCEATTR   20

Definition at line 28 of file lwippools.h.