Merge pull request #1822 from yatch/pr/fix-rpl-udp-for-non-storing

Make it easier to use the Non-Storing mode with the rpl-udp example
This commit is contained in:
Simon Duquennoy 2016-09-05 16:48:54 +02:00 committed by GitHub
commit 41d2851a55

View File

@ -60,10 +60,6 @@
#define RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME 1 #define RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME 1
#ifndef RPL_CONF_WITH_NON_STORING
#define RPL_CONF_WITH_NON_STORING 0 /* Set this to run with non-storing mode */
#endif /* RPL_CONF_WITH_NON_STORING */
#if WITH_NON_STORING #if WITH_NON_STORING
#undef RPL_NS_CONF_LINK_NUM #undef RPL_NS_CONF_LINK_NUM
#define RPL_NS_CONF_LINK_NUM 40 /* Number of links maintained at the root. Can be set to 0 at non-root nodes. */ #define RPL_NS_CONF_LINK_NUM 40 /* Number of links maintained at the root. Can be set to 0 at non-root nodes. */