contiki/tools
Timofei Istomin eae25d622d Check the frame preamble and MPDU length before parsing
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).
2015-05-08 18:52:34 +02:00
..
6502 Removed superfluous AppleCommander parameters. 2015-02-21 17:16:08 +01:00
apple2enh
atarixl
c64
c128
cc2538-bsl@d6711e24ce Updated cc2538-bsl submodule to version 1.1 (d6711e2). Most important changes include support for Python3, fixed a bug that would make synch fail on first try, added support for DTR and RTS pins driving Bootloader_enable and Reset pins, versioning system, setting of secondary IEEE address, general clean-up. 2015-02-12 20:13:40 +01:00
code-style Fix a typo 2014-03-08 23:25:08 +00:00
coffee-manager
collect-view
cooja Check the frame preamble and MPDU length before parsing 2015-05-08 18:52:34 +02:00
csc
cygwin
mspsim@58f187351f
powertrace Avoid multiple inclusion 2010-10-24 21:12:52 +00:00
release-tools Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
sensinode
sky Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
stm32w Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
wpcapslip Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
z1 Added missing license file referenced in z1-bsl-* scripts 2014-05-15 16:02:57 +02:00
z80
avr-make-symbols
avr-makecoffeedata
avr-makefsdata
base64-encode
codeprop.c
empty-symbols.c Replaced make-empty-symbols with empty-symbols.[c|h] 2011-04-03 13:24:58 +02:00
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 Increase fixed filename sizes in SLIP tunnels 2014-07-08 01:48:28 -04:00
timestamp
tunslip6.c Increase fixed filename sizes in SLIP tunnels 2014-07-08 01:48:28 -04:00
tunslip.c Increase fixed filename sizes in SLIP tunnels 2014-07-08 01:48:28 -04:00