Commit graph

6774 commits

Author SHA1 Message Date
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
Mariano Alvira f4a2efa221 fix parsing and pcap generation for packets with multiple output lines
(those that are > 16 bytes).
2011-01-07 11:29:07 -05:00
nifi f3d22e6287 dos2unix conversion 2011-01-07 11:55:36 +00:00
ksb eb24078ffb Converted CRLF line endings to LF 2011-01-05 17:16:42 +00:00
nvt-se 4003c3a8c9 do2unix conversion 2011-01-05 17:02:15 +00:00
nvt-se 30f5e29db7 dos2unix conversion 2011-01-05 17:01:03 +00:00
joxe 5b7b3da99c minor fixes of DMA uart code 2011-01-05 13:36:38 +00:00
joxe 2e1c856741 added support for avoiding sleeping in LPM3 when DCO needs to be running - needed for uart DMA 2011-01-05 12:04:23 +00:00
joxe 565fda47aa added initial uart1 DMA rx support and required LPM requirements api 2011-01-05 12:02:01 +00:00
joxe 65048c519c removed some void * casts in uip code 2011-01-04 22:11:37 +00:00
nvt-se 7a43b7d832 Configuration of the objective function made easier. Updated OF0 to the new rank calculation. 2011-01-04 20:43:28 +00:00
joxe b2296e462b removed void * + changed ux_t to uintx_t 2011-01-04 20:22:21 +00:00
oliverschmidt 3ed0411387 Adjusted contiki.cfg offset due to increased size of Breadbox64. 2011-01-04 11:53:07 +00:00