mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
gnrc_rpl: make trickle parameters configurable
This commit is contained in:
parent
5f88fee132
commit
370105760c
@ -32,6 +32,13 @@
|
||||
* CFLAGS += -DGNRC_RPL_WITHOUT_PIO
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* - Modify trickle parameters
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.mk}
|
||||
* CFLAGS += -DGNRC_RPL_DEFAULT_DIO_INTERVAL_DOUBLINGS=20
|
||||
* CFLAGS += -DGNRC_RPL_DEFAULT_DIO_INTERVAL_MIN=3
|
||||
* CFLAGS += -DGNRC_RPL_DEFAULT_DIO_REDUNDANCY_CONSTANT=10
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
@ -211,9 +218,17 @@ static inline bool GNRC_RPL_COUNTER_GREATER_THAN(uint8_t A, uint8_t B)
|
||||
* </a>
|
||||
* @{
|
||||
*/
|
||||
#ifndef GNRC_RPL_DEFAULT_DIO_INTERVAL_DOUBLINGS
|
||||
#define GNRC_RPL_DEFAULT_DIO_INTERVAL_DOUBLINGS (20)
|
||||
#endif
|
||||
|
||||
#ifndef GNRC_RPL_DEFAULT_DIO_INTERVAL_MIN
|
||||
#define GNRC_RPL_DEFAULT_DIO_INTERVAL_MIN (3)
|
||||
#endif
|
||||
|
||||
#ifndef GNRC_RPL_DEFAULT_DIO_REDUNDANCY_CONSTANT
|
||||
#define GNRC_RPL_DEFAULT_DIO_REDUNDANCY_CONSTANT (10)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user