Update 04-rime/07-sky-collect.csc

- decrease timeout value to 450,000 msec, which is enough to send 10
  messages at 30 seconds interval after 2 minutes start-up wait
- handle the case of receiving seqno out of range
This commit is contained in:
Yasuyuki Tanaka 2016-12-13 15:32:21 +01:00
parent 8fca9ced8e
commit 5d19196e54

View File

@ -362,7 +362,7 @@ make example-collect.sky TARGET=sky</commands>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(600000);
<script>TIMEOUT(450000);
num_nodes = mote.getSimulation().getMotesCount();
@ -408,6 +408,8 @@ while(true) {
dups = received[source].substr(seqno, 1);
if(dups == "_") {
dups = 1;
} else if (dups == "") {
continue;
} else if(dups &lt; 9) {
dups++;
}