fixed simulation files to be closer to defaults in configuration
This commit is contained in:
parent
09c624dcd3
commit
ab4a0e08c7
|
@ -1,4 +1,3 @@
|
||||||
<<<<<<< 1d90b9290e293eedcb6451dd86c474ec168f688c
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<simconf>
|
<simconf>
|
||||||
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
||||||
|
@ -7058,4 +7057,4 @@ while(true) {
|
||||||
<location_x>603</location_x>
|
<location_x>603</location_x>
|
||||||
<location_y>43</location_y>
|
<location_y>43</location_y>
|
||||||
</plugin>
|
</plugin>
|
||||||
</simconf>
|
</simconf>
|
|
@ -105,6 +105,13 @@ PROCESS_THREAD(http_example_process, ev, data)
|
||||||
http_socket_get(&s, "http://www.contiki-os.org/", 0, 0,
|
http_socket_get(&s, "http://www.contiki-os.org/", 0, 0,
|
||||||
callback, NULL);
|
callback, NULL);
|
||||||
connect = 0;
|
connect = 0;
|
||||||
|
} else if(connect) {
|
||||||
|
connect++;
|
||||||
|
/* If connect have been "tried" 5 timer we quit trying now... */
|
||||||
|
if(connect > 5) {
|
||||||
|
restart();
|
||||||
|
connect = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,5 +7,5 @@
|
||||||
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
||||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 8
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS 8
|
||||||
|
|
||||||
#define RPL_CONF_DEFAULT_LIFETIME_UNIT 60
|
/* #define RPL_CONF_DEFAULT_LIFETIME_UNIT 60 */
|
||||||
#define RPL_CONF_DEFAULT_LIFETIME 3
|
/* #define RPL_CONF_DEFAULT_LIFETIME 10 */
|
||||||
|
|
Loading…
Reference in a new issue