Skip to content

Commit 90a335b

Browse files
author
Juha Heiskanen
authored
Merge pull request #1982 from ARMmbed/iotthd-3258
Defined WS RPL default configure
2 parents df2b98e + b4091c0 commit 90a335b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/6LoWPAN/ws/ws_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void ws_common_network_size_configure(protocol_interface_info_entry_t *cur, uint
302302
// imin: 14 (16s)
303303
// doublings:3 (128s)
304304
// redundancy; 0 Disabled
305-
ws_bbr_rpl_config(0, 0, 0);// set the default values
305+
ws_bbr_rpl_config(14, 3, 0);
306306
} else if (network_size < 300) {
307307
// Configure the Wi-SUN discovery trickle parameters
308308
cur->ws_info->trickle_params_pan_discovery = trickle_params_pan_discovery_medium;

source/6LoWPAN/ws/ws_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*
2828
*/
2929

30-
#define WS_RPL_DIO_IMIN 14
31-
#define WS_RPL_DIO_DOUBLING 3
30+
#define WS_RPL_DIO_IMIN 15
31+
#define WS_RPL_DIO_DOUBLING 2
3232
#define WS_RPL_DIO_REDUNDANCY 0
3333

3434

0 commit comments

Comments
 (0)