Commit graph

4827 commits

Author SHA1 Message Date
adamdunkels 8fe15f7b45 New packet attribute for specifiying MAC layer retransmissions; reorder and commented packet attributes 2010-02-28 09:19:43 +00:00
adamdunkels 970a9eb9c7 Increased neighbor lifetime to allow for longer neighbor announcement intervals 2010-02-28 09:19:04 +00:00
adamdunkels 7165a3866f Significant rework of the Contiki data collection protocol:
* the new version makes use of MAC-layer feedback so that bad paths
  can be identified quicker and then avoided.

* the new code uses transport layer ACKs that contain feedback from
  the collect protocol: when a packet cannot be forwarded due to lack
  of resources, the ACK contains a flag that indicates that the packet
  could not be forwarded. ACKs also contain the routing metric of the
  sender, which improves agility in face of rapid path changes.

* loop detection and management has been improved: with higher path
  metric agility, the system is more prone to short-lived routing
  loops. Instead of dropping looping packets, the new version adjusts
  the routing metric for the routes that exhibit loops so that the
  risk for future loops is reduced.

* make use of packet attributes to inform the MAC layer of how many
  times packets should be retransmitted.
2010-02-28 09:18:01 +00:00
adamdunkels b6b4941871 Made the number of MAC-layer retransmissions configurable on a per-packet basis, via a packet attribute 2010-02-28 08:35:16 +00:00
adamdunkels ed88f487c8 Improved detection of link-layer ACKs; increased the time ContikiMAC waits when it has detected a link-layer ACK; increased the number of silence periods required to detect a CCA false positive 2010-02-28 08:33:21 +00:00
adamdunkels fa1a96636e Bugfix: the compile-time check for UIP_LLADDR_LEN previously generated a run-time error, when it should have generated a compile-time error 2010-02-28 08:30:39 +00:00
adamdunkels ba0e50a7b7 Set the default number of MAC layer retransmissions for IPv6 packets to 2 2010-02-28 08:29:42 +00:00
adamdunkels 486f7f9728 Rewrite of the Sky shell collect test. The new test is better equipped
to handle reordered packets - unlike the previous test, the new test
counts all incoming packets in the data stream, even those that are
significantly reordered. The new test also shows the received packets
and their hop counts in a much more readable fashion.
2010-02-28 08:25:36 +00:00
dak664 5debc183a9 Enable radio stats in sensor cgi as default 2010-02-26 21:38:57 +00:00
dak664 844b3a34f7 Platform 0 was matching by default 2010-02-26 21:15:28 +00:00
dak664 195f5939c4 Clean up after testing 2010-02-26 20:51:48 +00:00
c_oflynn b5b77ac47a Use new HC06 2010-02-26 10:55:00 +00:00
nifi a373c426f0 Disabled the cross-level conversion of Contiki timestamp (currently not used by Contiki) 2010-02-26 08:15:41 +00:00
nifi 52d234417d Changed to draw the network traffic under the motes 2010-02-26 07:46:26 +00:00
nifi 512da4195c Changed to draw the mote relations under the motes 2010-02-26 07:38:08 +00:00
nifi 74df2dbf43 * Save selected packet analyzer chain and split pane position in simulation file
* Update all log entries when changing packet analyzer chain
* Added popup menu to verbose pane
* Added serialVersionUID to menu actions to avoid compiler warnings
2010-02-25 23:44:16 +00:00
joxe 83d203afb5 added support for hc06 decompression in radiologger / analyzer 2010-02-25 22:36:08 +00:00
adamdunkels b9827d2b36 Bugfix: didn't correctly reset the pending flag when a packet was read from the radio 2010-02-25 16:06:44 +00:00
joxe 80b289f7c1 updated sky platform for new sicslowpan 2010-02-25 15:51:37 +00:00
joxe 0ab2bc9a31 upgraded sicslowpan to hc-06 - no 48 bit multicast compression support yet 2010-02-25 15:50:58 +00:00
fros4943 026c4d7e85 synchronize time to timeline and radio logger at space key 2010-02-24 10:45:44 +00:00
fros4943 4c7ca7009b listen to all log interfaces, also mote debug interfaces 2010-02-24 10:38:35 +00:00
kasunch 350fb21ff7 Adding a Makfile for example applications. 2010-02-24 09:14:46 +00:00
kasunch 80a408526f Adding an example application for battery sensor 2010-02-24 09:13:56 +00:00
kasunch c90b76427a Adding ADC sources and battery sensor source to CONTIKI_TARGET_SOURCEFILES. 2010-02-24 09:09:35 +00:00
kasunch 0c9612b7b9 Adding battery sensor 2010-02-24 09:05:40 +00:00
kasunch ea53e5b845 Adding ADC functions 2010-02-24 09:04:58 +00:00
nifi 7ca6cb2ce2 fixed compiler warning 2010-02-23 23:06:04 +00:00
fros4943 be76ae53f9 added warning when reloading a simulation with less then 20% memory left 2010-02-23 22:53:34 +00:00
nifi b50d47fb80 added missing function in sicslowmac_driver 2010-02-23 22:45:11 +00:00
joxe fbc5b20404 added initial 802.15.4 and IPHC/hc06 analyzer 2010-02-23 22:35:17 +00:00
joxe 588d0374fa added initial 802.15.4 packet analyzer to COOJA radio logger 2010-02-23 22:32:57 +00:00
fros4943 cd8047bc77 added method that returns a mote with the given id 2010-02-23 21:55:55 +00:00
nifi 07ee8458e7 Fixed bootup printf() with 32-bit timer values 2010-02-23 21:02:30 +00:00
nifi bb9d430138 added bootup print of NETSTACK_RDC name 2010-02-23 20:54:09 +00:00
nifi 1cfcc8a73a Removed the combined name of CSMA and NETSTACK_RDC. The name of NETSTACK_RDC can be accessed separately if needed. 2010-02-23 20:42:45 +00:00
nifi c20047f657 Changed the network stack to use different structures for the different layers (network_driver, mac_driver, rdc_driver, radio_driver). This helps to avoid incorrect configuration. 2010-02-23 20:09:11 +00:00
adamdunkels bb62749de7 Made debug printfs optional 2010-02-23 18:49:58 +00:00
adamdunkels 0ab2ba433f Bugfix: the wrong callback pointer was passed to higher layers. 2010-02-23 18:49:45 +00:00
adamdunkels ed52586e18 Rework of parts of the ContikiMAC code based on input from experimental results. When channel check is triggered because of a false positive, the new version checks the radio several times to make sure that there really is an incoming packet. Otherwise, the radio is switched off. Cleaned up and removed old unused code. Added a few temporary debugging mechanisms and functions. 2010-02-23 18:49:05 +00:00
adamdunkels 14bc9aa98b New and improved shell collect test: the new test sends out 10 packets from each node and counts the received packets. If less than 10 packets from each node is received, the test fails 2010-02-23 18:46:20 +00:00
adamdunkels 85a9f7db42 Fix bootup printf() with 32-bit timer values 2010-02-23 18:45:16 +00:00
adamdunkels eadfe5f3d6 Enabled 32-bit clock ticks to allow longer timeouts; experimentally disabled polite announcements in favour of a non-announcement based collect protocol 2010-02-23 18:44:52 +00:00
adamdunkels 69a5b67523 Updated netsim to new netstack API 2010-02-23 18:44:08 +00:00
adamdunkels 08f06d8039 Updated to new sensors API 2010-02-23 18:43:43 +00:00
adamdunkels 757ca59511 Added netstack init to native platform 2010-02-23 18:43:21 +00:00
adamdunkels ebea184116 Added netstack config for CC2420 radio driver, and also for cxmac RDC layer (which is not confirmed if it runs on real hardware, only tested in simulation) 2010-02-23 18:42:41 +00:00
adamdunkels 465125c5e7 Added support for 32-bit clock ticks: when reading the 32-bit value, make sure that it does not change between readouts to avoid reading right in the middle of it being updated 2010-02-23 18:41:20 +00:00
adamdunkels 50e1452564 Ugly workaround for internal error in mspgcc when applying the >= operator to two 32-bit values 2010-02-23 18:40:08 +00:00
adamdunkels 0c4c88ae66 Improved per-packet power profiling: if a packet is retransmitted, the new energy is added to the old energy so that it is possible to measure the full energy for all transmissions of the packet 2010-02-23 18:39:00 +00:00