IoT wireless sensors network simulation, a small project for the Advanced Networks and Wireless Systems exam
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
915 B

#ifndef PROJECT_CONF_H_
#define PROJECT_CONF_H_
/* Set the max response payload before fragmentation */
#undef REST_MAX_CHUNK_SIZE
#define REST_MAX_CHUNK_SIZE 64
/* 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
#define NBR_TABLE_CONF_MAX_NEIGHBORS 10
/*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
#define RPL_CONF_DIO_REDUNDANCY 1
#undef RPL_CONF_INTERVAL_MIN
#define RPL_CONF_INTERVAL_MIN 11
#undef RPL_CONF_DIO_INTERVAL_DOUBLINGS
#define RPL_CONF_DIO_INTERVAL_DOUBLINGS 4
#endif