Makes RPL Initial Link Metric configurable
This commit is contained in:
parent
bfc1e816de
commit
95ab192e88
4 changed files with 11 additions and 4 deletions
|
@ -154,4 +154,13 @@
|
|||
#define RPL_DIO_REDUNDANCY 10
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Initial metric attributed to a link when the ETX is unknown
|
||||
*/
|
||||
#ifndef RPL_CONF_INIT_LINK_METRIC
|
||||
#define RPL_INIT_LINK_METRIC NEIGHBOR_INFO_ETX2FIX(5)
|
||||
#else
|
||||
#define RPL_INIT_LINK_METRIC NEIGHBOR_INFO_ETX2FIX(RPL_CONF_INIT_LINK_METRIC)
|
||||
#endif
|
||||
|
||||
#endif /* RPL_CONF_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue