RPL: re-enable RPL_DIO_REFRESH_DAO_ROUTES by default as it is needed with DAO-ACK disabled. Now increments the DTSN only at the root
This commit is contained in:
parent
c3ea1f9fc6
commit
343c274359
2 changed files with 9 additions and 6 deletions
|
@ -257,15 +257,16 @@
|
|||
#endif /* RPL_CONF_RPL_REPAIR_ON_DAO_NACK */
|
||||
|
||||
/*
|
||||
* Setting the DIO_REFRESH_DAO_ROUTES will make RPL always increase
|
||||
* the DTSN (Destination Advertisement Trigger Sequence Number) when
|
||||
* sending broadcast DIO. This is to get all children to re-register
|
||||
* their DAO route.
|
||||
* Setting the DIO_REFRESH_DAO_ROUTES will make the RPL root always
|
||||
* increase the DTSN (Destination Advertisement Trigger Sequence Number)
|
||||
* when sending multicast DIO. This is to get all children to re-register
|
||||
* their DAO route. This is needed when DAO-ACK is not enabled to add
|
||||
* reliability to route maintenance.
|
||||
* */
|
||||
#ifdef RPL_CONF_DIO_REFRESH_DAO_ROUTES
|
||||
#define RPL_DIO_REFRESH_DAO_ROUTES RPL_CONF_DIO_REFRESH_DAO_ROUTES
|
||||
#else
|
||||
#define RPL_DIO_REFRESH_DAO_ROUTES 0
|
||||
#define RPL_DIO_REFRESH_DAO_ROUTES 1
|
||||
#endif /* RPL_CONF_DIO_REFRESH_DAO_ROUTES */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue