nes-proj/core
Benoît Thébaudeau 14db3382af csma: Initialize sequence number with random value
According to IEEE 802.15.4 (§5.1.6.1, §6.4.2), the MAC sequence numbers should
be initialized to random values. This was already the case in
framer-802154.c:create(), but not in csma.c:send_packet(), sometimes causing
false detections of duplicate MAC-layer packets in other devices when a device
was restarted too quickly. This patch decreases the probability of such an
event.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2013-11-25 13:01:11 +01:00
..
cfs Changed handling of predefined macros in cc65 allows for simplification. 2013-11-20 20:55:56 +01:00
ctk
dev Removed old unused timetable code 2013-11-19 08:29:23 +01:00
lib Use TRICKLE_TIMER_IS_STOPPED in trickle_timer_stop() 2013-09-30 12:37:03 +01:00
loader Parse rodata too 2013-08-06 21:33:03 +02:00
net csma: Initialize sequence number with random value 2013-11-25 13:01:11 +01:00
sys Removed old unused sys/ files 2013-11-19 00:23:13 +01:00
contiki-default-conf.h Fix naming issues and includes in uip-ds6-nbr.h 2013-08-19 17:48:30 +02:00
contiki-lib.h
contiki-net.h
contiki-version.h
contiki.h A default configuraion file for Contiki 2013-03-18 11:12:43 +01:00