Skip to content
Snippets Groups Projects
Commit 4ae10762 authored by Sebastian Meiling's avatar Sebastian Meiling
Browse files

gnrc_rpl: correct (some) default params

parent fbafcc39
Branches
No related tags found
No related merge requests found
......@@ -287,18 +287,13 @@ static inline bool GNRC_RPL_COUNTER_GREATER_THAN(uint8_t A, uint8_t B)
* @{
*/
#ifndef GNRC_RPL_DEFAULT_LIFETIME
#define GNRC_RPL_DEFAULT_LIFETIME (60)
#define GNRC_RPL_DEFAULT_LIFETIME (5)
#endif
#ifndef GNRC_RPL_LIFETIME_UNIT
#define GNRC_RPL_LIFETIME_UNIT (2)
#define GNRC_RPL_LIFETIME_UNIT (60)
#endif
/** @} */
/**
* @brief Interval of the void _update_lifetime() function
*/
#define GNRC_RPL_LIFETIME_STEP (2)
/**
* @brief Default prefix length for the DODAG id
*/
......@@ -335,7 +330,7 @@ static inline bool GNRC_RPL_COUNTER_GREATER_THAN(uint8_t A, uint8_t B)
#define GNRC_RPL_REGULAR_DAO_INTERVAL (60)
#endif
#ifndef GNRC_RPL_DEFAULT_DAO_DELAY
#define GNRC_RPL_DEFAULT_DAO_DELAY (5)
#define GNRC_RPL_DEFAULT_DAO_DELAY (1)
#endif
/** @} */
......@@ -376,7 +371,7 @@ static inline bool GNRC_RPL_COUNTER_GREATER_THAN(uint8_t A, uint8_t B)
/**
* @brief Rank of the root node
*/
#define GNRC_RPL_ROOT_RANK (256)
#define GNRC_RPL_ROOT_RANK (GNRC_RPL_DEFAULT_MIN_HOP_RANK_INCREASE)
/**
* @brief DIS ICMPv6 code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment