iot-wsn/oracle/project-conf.h

17 lines
678 B
C
Raw Normal View History

/* reduce RAM consumption */
#ifndef PROJECT_CONF_H_
#define PROJECT_CONF_H_
#undef REST_MAX_CHUNK_SIZE // Set the max response payload before fragmentation
#define REST_MAX_CHUNK_SIZE 64
#undef COAP_MAX_OPEN_TRANSACTIONS // Set the max number of concurrent transactions
#define COAP_MAX_OPEN_TRANSACTIONS 4
#undef NBR_TABLE_CONF_MAX_NEIGHBORS // Set the max number of entries in neighbors table
#define NBR_TABLE_CONF_MAX_NEIGHBORS 10
#undef UIP_CONF_MAX_ROUTES // Set the max number of routes handled by the node
#define UIP_CONF_MAX_ROUTES 10
#undef UIP_CONF_BUFFER_SIZE // Set the amount of memory reserved to the uIP packet buffer
#define UIP_CONF_BUFFER_SIZE 280
#endif