eae25d622d
Due to errors in mspsim and/or radio drivers, packets of incorrect length are sometimes transmitted. The length might be larger than the 127-byte maximum (considered negative in the current code) or not matching the actual number of transmitted bytes. This leads to wrong packet delimiting when converting from the mspsim-level stream of bytes to Cooja-level packets causing unhandled exceptions that terminate the simulation. This patch checks the frame preamble (0000007A) and the length field. If they are wrong, no decoding attempt is done. The transmitted bytes are still delivered to the receivers untouched. The connection is terminated when the radio state is changed (which alway s happens when TX is done). |
||
---|---|---|
.. | ||
6502 | ||
apple2enh | ||
atarixl | ||
c64 | ||
c128 | ||
cc2538-bsl@d6711e24ce | ||
code-style | ||
coffee-manager | ||
collect-view | ||
cooja | ||
csc | ||
cygwin | ||
mspsim@58f187351f | ||
powertrace | ||
release-tools | ||
sensinode | ||
sky | ||
stm32w | ||
wpcapslip | ||
z1 | ||
z80 | ||
avr-make-symbols | ||
avr-makecoffeedata | ||
avr-makefsdata | ||
base64-encode | ||
codeprop.c | ||
empty-symbols.c | ||
empty-symbols.h | ||
freebsd-6-setup-slip | ||
make-symbols-nm | ||
Makefile | ||
makefsdata | ||
makestrings | ||
mknmlist | ||
mknmlist-ansi | ||
msp430-make-symbols | ||
scat.c | ||
serial-log.pl | ||
setup-nat-ubuntu | ||
tapslip6.c | ||
timestamp | ||
tunslip6.c | ||
tunslip.c |