mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
gnrc_rpl: correct (some) default params
This commit is contained in:
parent
fbafcc39ac
commit
4ae107626a
@ -287,18 +287,13 @@ static inline bool GNRC_RPL_COUNTER_GREATER_THAN(uint8_t A, uint8_t B)
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#ifndef GNRC_RPL_DEFAULT_LIFETIME
|
#ifndef GNRC_RPL_DEFAULT_LIFETIME
|
||||||
#define GNRC_RPL_DEFAULT_LIFETIME (60)
|
#define GNRC_RPL_DEFAULT_LIFETIME (5)
|
||||||
#endif
|
#endif
|
||||||
#ifndef GNRC_RPL_LIFETIME_UNIT
|
#ifndef GNRC_RPL_LIFETIME_UNIT
|
||||||
#define GNRC_RPL_LIFETIME_UNIT (2)
|
#define GNRC_RPL_LIFETIME_UNIT (60)
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Interval of the void _update_lifetime() function
|
|
||||||
*/
|
|
||||||
#define GNRC_RPL_LIFETIME_STEP (2)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Default prefix length for the DODAG id
|
* @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)
|
#define GNRC_RPL_REGULAR_DAO_INTERVAL (60)
|
||||||
#endif
|
#endif
|
||||||
#ifndef GNRC_RPL_DEFAULT_DAO_DELAY
|
#ifndef GNRC_RPL_DEFAULT_DAO_DELAY
|
||||||
#define GNRC_RPL_DEFAULT_DAO_DELAY (5)
|
#define GNRC_RPL_DEFAULT_DAO_DELAY (1)
|
||||||
#endif
|
#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
|
* @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
|
* @brief DIS ICMPv6 code
|
||||||
|
Loading…
Reference in New Issue
Block a user