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 loader.system is now official part of the cc65 Apple II support. 2013-02-17 00:30:55 +01:00
atarixl Added platform 'Atari XL'. 2013-06-01 22:49:00 +02:00
c64 Replaced 10.1.1.1/8 with 192.168.0.0/24. 2013-02-16 23:04:55 +01:00
c128 Replaced 10.1.1.1/8 with 192.168.0.0/24. 2013-02-16 23:04:55 +01:00
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 Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies 2013-11-20 16:43:27 +01:00
collect-view Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies 2013-11-20 16:43:27 +01:00
cooja Check the frame preamble and MPDU length before parsing 2015-05-08 18:52:34 +02:00
csc Added the computation of average loss rate 2011-02-26 22:07:46 +01:00
cygwin Updated to a version compatible with latest serialdump-windows.exe 2011-09-19 17:42:30 +02:00
mspsim@58f187351f Added mspsim as a submodule instead of as a binary mspsim.jar file 2013-11-07 17:28:50 +01:00
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 Rename to md 2013-03-26 23:15:37 +01:00
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 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
avr-make-symbols PROGMEM changes needed for newer avr-gcc compiler 2012-02-21 11:10:57 -05:00
avr-makecoffeedata Converted u8_t to uint8_t and u16_t to uint16_t in the docs and tools directories. 2012-02-21 08:33:25 -05:00
avr-makefsdata Put strings in PROGMEM, strip CRLF in text files only 2009-06-19 17:12:35 +00:00
base64-encode Tool for Base64 encoding 2008-06-11 19:04:14 +00:00
codeprop.c Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
empty-symbols.c Replaced make-empty-symbols with empty-symbols.[c|h] 2011-04-03 13:24:58 +02:00
empty-symbols.h Replaced make-empty-symbols with empty-symbols.[c|h] 2011-04-03 13:24:58 +02:00
freebsd-6-setup-slip Script for setting up SLIP communication under FreeBSD 6 2006-06-18 05:57:10 +00:00
make-symbols-nm scripts for auto-generating symbols.[c,h] 2006-12-18 15:25:01 +00:00
Makefile Add gitclean and distclean options to /tools/Makefile 2011-08-05 12:14:18 -04:00
makefsdata Converted u8_t to uint8_t and u16_t to uint16_t in the docs and tools directories. 2012-02-21 08:33:25 -05:00
makestrings Tool for making the http-string.c file from http-strings 2007-03-29 22:17:47 +00:00
mknmlist Filter out symbols defined by the C implementation 2013-08-06 21:33:03 +02:00
mknmlist-ansi Added memmove as a builtin function. 2007-08-22 10:57:31 +00:00
msp430-make-symbols added missing 'grep -v ^_' 2007-11-13 06:06:36 +00:00
scat.c Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
serial-log.pl Add serial logging tool. 2011-08-28 16:12:41 -04:00
setup-nat-ubuntu Enable NAT on both tap0 and tun0, and set the outgoing interface to eth10 which seems to be the default on instant-contiki 2009-05-12 17:24:04 +00:00
tapslip6.c Increase fixed filename sizes in SLIP tunnels 2014-07-08 01:48:28 -04:00
timestamp Small hack for adding a timestamp to incoming lines 2007-11-12 11:48:49 +00:00
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