2019-11-07 21:34:13 +00:00
|
|
|
#ifndef PROJECT_CONF_H_
|
|
|
|
#define PROJECT_CONF_H_
|
2019-12-14 08:38:27 +00:00
|
|
|
|
|
|
|
/* Set the max response payload before fragmentation */
|
|
|
|
#undef REST_MAX_CHUNK_SIZE
|
2019-11-07 21:34:13 +00:00
|
|
|
#define REST_MAX_CHUNK_SIZE 64
|
2019-12-14 08:38:27 +00:00
|
|
|
/* Set the max number of concurrent transactions */
|
|
|
|
#undef COAP_MAX_OPEN_TRANSACTIONS
|
|
|
|
#define COAP_MAX_OPEN_TRANSACTIONS 2
|
|
|
|
|
|
|
|
/* Set the max number of entries in neighbors table */
|
|
|
|
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
2019-11-07 21:34:13 +00:00
|
|
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS 10
|
2019-12-14 08:38:27 +00:00
|
|
|
|
|
|
|
/*Set the max number of routes handled by the node */
|
|
|
|
#undef UIP_CONF_MAX_ROUTES
|
|
|
|
#define UIP_CONF_MAX_ROUTES 32
|
|
|
|
|
|
|
|
/* Set the amount of memory reserved to the uIP packet buffer */
|
|
|
|
#undef UIP_CONF_BUFFER_SIZE
|
|
|
|
#define UIP_CONF_BUFFER_SIZE 192
|
|
|
|
|
|
|
|
/* RPL specific tuning parameters */
|
|
|
|
#undef RPL_CONF_DIO_REDUNDANCY
|
2019-12-27 16:01:55 +00:00
|
|
|
#define RPL_CONF_DIO_REDUNDANCY 1
|
2019-12-14 08:38:27 +00:00
|
|
|
|
|
|
|
#undef RPL_CONF_INTERVAL_MIN
|
2019-12-27 16:01:55 +00:00
|
|
|
#define RPL_CONF_INTERVAL_MIN 11
|
2019-12-14 08:38:27 +00:00
|
|
|
|
|
|
|
#undef RPL_CONF_DIO_INTERVAL_DOUBLINGS
|
2019-12-27 16:01:55 +00:00
|
|
|
#define RPL_CONF_DIO_INTERVAL_DOUBLINGS 4
|
2019-12-14 08:38:27 +00:00
|
|
|
|
2019-11-07 21:34:13 +00:00
|
|
|
#endif
|
|
|
|
|