Increase the trickle resend interval for router advertisements
This commit is contained in:
parent
181213124b
commit
4bc4f033e8
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: uip-over-mesh.c,v 1.16 2010/02/02 21:12:29 adamdunkels Exp $
|
||||
* $Id: uip-over-mesh.c,v 1.17 2010/02/03 01:13:17 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -47,7 +47,7 @@
|
||||
#include "net/rime/route.h"
|
||||
#include "net/rime/trickle.h"
|
||||
|
||||
#define ROUTE_TRICKLE_INTERVAL CLOCK_SECOND * 8
|
||||
#define ROUTE_TRICKLE_INTERVAL CLOCK_SECOND * 32
|
||||
#define ROUTE_DISCOVERY_INTERVAL CLOCK_SECOND * 4
|
||||
#define ROUTE_TIMEOUT CLOCK_SECOND * 4
|
||||
|
||||
@ -256,6 +256,7 @@ uip_over_mesh_send(void)
|
||||
waiting for an ACK. */
|
||||
if(BUF->proto == UIP_PROTO_TCP) {
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_ERELIABLE, 1);
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_RELIABLE, 1);
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_PACKET_TYPE, PACKETBUF_ATTR_PACKET_TYPE_STREAM);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user