added function for checking downward route and added configuration for DAO NACK repair - default off

This commit is contained in:
Joakim Eriksson 2015-09-22 21:01:55 +02:00
parent ee65a3982c
commit 1fcef0f90d
5 changed files with 53 additions and 2 deletions

View file

@ -300,5 +300,13 @@ enum rpl_mode rpl_set_mode(enum rpl_mode mode);
*/
enum rpl_mode rpl_get_mode(void);
/**
* Get the RPL's best guess on if we have downward link or not.
*
* \retval 1 if we have a downward link, 0 if not.
*/
int rpl_has_downward_link(void);
/*---------------------------------------------------------------------------*/
#endif /* RPL_H */