Commit Graph

6786 Commits

Author SHA1 Message Date
nvt-se
00ac8cfaa0 Moved watchdog_periodic into the lowest level to avoid multiple redundant calls higher up 2011-01-18 14:03:55 +00:00
joxe
db0423af20 added response to Mac addr request and added addrs in printout 2011-01-17 20:05:51 +00:00
maralvira
ce92a90e58 new timer setup routines. 2011-01-17 15:51:19 +00:00
maralvira
b3c8c14b7d add timer setup routines 2011-01-17 15:51:02 +00:00
maralvira
ca098db611 fix a race condition regarding advancement of the softclock. Without
this, the advancment would fail to trigger a tx cycle
occasionally. This would cause the packet to get deferred until the
next expiration of the softclock.
2011-01-17 15:49:17 +00:00
maralvira
40bb4b80dc whitespace fixup to sync with libmc1322x 2011-01-17 15:48:39 +00:00
maralvira
6fb75263f9 fix parsing and pcap generation for packets with multiple output lines
(those that are > 16 bytes).
2011-01-17 15:47:23 +00:00
maralvira
d82b004154 fix parsing and pcap generation for packets with multiple output lines
(those that are > 16 bytes).
2011-01-17 15:47:08 +00:00
maralvira
d0227afbed cycle channel on keypress. 2011-01-17 15:46:27 +00:00
maralvira
c78e1e345e add stdint.h 2011-01-17 15:45:02 +00:00
maralvira
0445a4f78f add cmdline options to set the intercharacter delays. 2011-01-17 15:44:18 +00:00
maralvira
fb8c08ca7c only use these stubs with linux toolchains 2011-01-17 15:42:24 +00:00
Mariano Alvira
377f849a02 moved timer.c and .h into tmr.c and .h so that these names don't
conflict with the timers in Contiki.
2011-01-17 10:10:38 -05:00
Mariano Alvira
53e4a06ac9 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2011-01-17 09:56:00 -05:00
Mariano Alvira
f133321b03 remove extra semicolon from macro definition 2011-01-17 09:55:37 -05:00
Mariano Alvira
e4f644f7b1 fix a race condition regarding advancement of the softclock. Without
this, the advancment would fail to trigger a tx cycle
occasionally. This would cause the packet to get deferred until the
next expiration of the softclock.
2011-01-17 07:41:44 -05:00
salvopitru
dcff411f9d New example for mb851 board that comes from sky-websense. 2011-01-17 10:58:04 +00:00
salvopitru
9aa734936f RANDOM_MAX changed to RANDOM_RAND_MAX. 2011-01-17 10:08:14 +00:00
salvopitru
fb75503624 'BTM' can be defined to flash devices already in bootloader mode.
COFFEE_FILES changed to COFFEE.
2011-01-17 09:41:47 +00:00
salvopitru
a9b1b37bec Added definition of BAUD2UBR macro. 2011-01-17 09:22:24 +00:00
salvopitru
8e0bcaee50 Added new options that make wpcapslip6 work also with the rpl-border-router. 2011-01-17 09:16:55 +00:00
Mariano Alvira
92164e7eff more note about autoack --- requires proper hardware addressing 2011-01-16 12:38:34 -05:00
Mariano Alvira
fc7c0ad3c1 note about how contiki isn't using 802.15.4 acks so there isn't much
point to implement them
2011-01-16 12:01:13 -05:00
Mariano Alvira
8967d8a85e notes about acking 2011-01-16 09:32:57 -05:00
joxe
d7712b27d0 added undef of putchar for platforms where it is a macro 2011-01-14 17:57:48 +00:00
adamdunkels
26e3b6fdc0 Bugfix by Simon Duquennoy: don't transmit packet until previous packet has been sent by the RDC layer. 2011-01-13 19:06:22 +00:00
adamdunkels
6f89233b01 Print out the speedup when simulation stops 2011-01-13 19:05:09 +00:00
nifi
569895af1c Removed void * operations 2011-01-12 22:58:33 +00:00
joxe
8663cb8921 fixed compilation error 2011-01-12 20:00:48 +00:00
joxe
ce46b7c6cb patched rest-code for econotag 2011-01-12 18:32:36 +00:00
joxe
20f8777fd6 patched rest-example 2011-01-12 18:30:29 +00:00
adamdunkels
820d6eb334 Allow the network to settle before sending first packet. Packet transmissions are now periodic, and randomized within each period. 2011-01-10 15:11:44 +00:00
adamdunkels
81d23a3a36 Minor bugfixes pertaining to queue handling: if a packet was explicitly dropped, the packet would later be acknowledged despite it never being received; added a limit on how many queue entries that can be used for packets that are being forwarded, to allow for originated packets even if the forwarding queue is filled. 2011-01-10 15:10:43 +00:00
adamdunkels
70f9f075a0 Safeguard against NULL arguments 2011-01-10 15:08:52 +00:00
adamdunkels
928cb1fc84 Simplified the test code; made the rime_collect and rime_collect_sky tests the same. 2011-01-10 15:05:52 +00:00
adamdunkels
5bbe113e5b Removed reference to unused last_stats 2011-01-10 06:39:53 +00:00
adamdunkels
d5851423fd Copied the test code from the sky_shell_collect test, which correctly counts packet receptions and duplicates. Test code is much leaner and meaner now. 2011-01-09 23:51:30 +00:00
adamdunkels
148bd60fe1 Bugfix: the defensive retransmission timer setting must be made before the packet is transmitted, otherwise the retransmission timer will always be for the defensive retransmit 2011-01-09 23:49:27 +00:00
adamdunkels
50a3e6ea23 Increased the max ETX to allow for longer paths even with the initial conservative ETX estimate; made collect use announcements by default 2011-01-09 23:48:33 +00:00
adamdunkels
acf45ec648 Bugfix: memory wasn't freed when a neighbor was dropped from the list. Also increase the max age to 180 minutes to allow for regular beacons to refresh the neighbor before it is dropped. 2011-01-09 21:20:05 +00:00
adamdunkels
90dc0ceebf Replaced default link estimator with an exponential weighted moving average, which reduces memory consumption per neighbor. 2011-01-09 21:14:22 +00:00
adamdunkels
4e91d9303e Added safeguard timer if the MAC layer would fail to call back after transmission. 2011-01-09 21:13:20 +00:00
adamdunkels
cea299d79a Call upper layers even if packet reception failed - this allows the RDC layer to shut off the radio even if a malformed packet was received. 2011-01-09 21:09:28 +00:00
adamdunkels
026076e1f4 Moved packet structure into its own header file 2011-01-09 21:08:30 +00:00
adamdunkels
a0960154ba Cleaned up parts of the code; added comments 2011-01-09 21:07:01 +00:00
adamdunkels
a29d56874a Timesynch is now on 32768 Hz clock instead of 8192 Hz. 2011-01-09 21:06:10 +00:00
adamdunkels
34f2d3e025 Disable timesynch by default - it is not well-tested enough yet. 2011-01-09 21:04:14 +00:00
adamdunkels
a6fe42f60f Restart CC2420 SFD interrupt after DCO calibration only if it is enabled. 2011-01-09 21:03:42 +00:00
adamdunkels
f002563e60 Tx on interrupts occasionally misses characters on output. Therefore we turn it off by default. 2011-01-09 20:44:14 +00:00
nvt-se
540675bc6a Updated the announcement example to follow the current API. 2011-01-07 23:23:31 +00:00