Skip to content

Commit 03dc244

Browse files
authored
Merge pull request contiki-ng#1052 from atiselsts/feature/ds6-maintenance-timer
reduce the IPv6 data structure (DS) maintenance timer frequency
2 parents 075636f + 9ed719f commit 03dc244

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/platform-specific/cc26x0-cc13x0/very-sleepy-demo/project-conf.h

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
/*---------------------------------------------------------------------------*/
4141
/* For very sleepy operation */
4242
#define RF_BLE_CONF_ENABLED 0
43-
#define UIP_DS6_CONF_PERIOD CLOCK_SECOND
4443
#define UIP_CONF_TCP 0
4544
#define RPL_CONF_LEAF_ONLY 1
4645

os/net/ipv6/uip-ds6.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
/** \brief General DS6 definitions */
166166
/** Period for uip-ds6 periodic task*/
167167
#ifndef UIP_DS6_CONF_PERIOD
168-
#define UIP_DS6_PERIOD (CLOCK_SECOND/10)
168+
#define UIP_DS6_PERIOD (60 * CLOCK_SECOND)
169169
#else
170170
#define UIP_DS6_PERIOD UIP_DS6_CONF_PERIOD
171171
#endif

0 commit comments

Comments
 (0)