Commit graph

4931 commits

Author SHA1 Message Date
fros4943 5b2caf2050 removed the use of a template source file when compiling for the cooja platform, instead compiling against contiki-cooja-main.c.
this change simplifies access to the contiki main source, and makes the cooja platform more similar to other contiki targets
2010-03-15 11:02:57 +00:00
fros4943 99fe1faa0a updated mspsim.jar with improved sht11 support 2010-03-15 08:06:12 +00:00
adamdunkels a9bad71fbd Increased the number of bits that repressent the MAX_RETRANSMITS attribute to allow for more than 7 hop-by-hop retransmissions 2010-03-14 23:01:12 +00:00
adamdunkels 7bab9316da Two major changes:
* Low-power streaming. Experimental support for a low-power mode which
  allows rapid exchange of packets with a 16% duty cycle. Does not
  seem to function correctly yet though.

* Phase locking. When the phase of a neighbor has been detected, the
  sender assumes that the neighbor will keeps it phase and does not
  send more strobes than necessary to hit the receiver's channel
  check - even if the receiver does not acknowledge the reception of
  the strobes when it should have been awake. Instead, the sender
  stops strobing and tries again at a later time.
2010-03-14 22:59:23 +00:00
adamdunkels 0035a70537 Reworked the locking code, which seems to fix a few bugs caused by the interaction with contikimac. Contikimac performs a CCA check in a preempting rtimer, which requires underlying code to properly call the GET_LOCK() macro. This fix seems to solve most problems, but there may be others left. 2010-03-14 22:45:20 +00:00
fros4943 3769a28516 updated to new sensors API 2010-03-14 19:54:00 +00:00
fros4943 4fa88d2bfd added method for getting mote interfaces based on class names + getInterfaces() returns a collection instead of a vector 2010-03-14 19:50:34 +00:00
fros4943 4710441bb6 added temperature mote interface for sky motes 2010-03-14 19:45:04 +00:00
oliverschmidt def540e6c0 Avoid newlines in macro expansions as cc65 doesn't support them between the macro name and the open parenthesis of the arguments.
There were btw other even longer lines with expansions of the same macro already present.
2010-03-14 12:13:54 +00:00
joxe e8bd53cfd8 added typedef of icmp6_error 2010-03-13 09:25:24 +00:00
dak664 0236c6e725 Leave compiler warning for 16 bit timers 2010-03-12 17:51:07 +00:00
joxe 4c2daf9886 started integration of Mathildes and Juliens new uip6 code + made some ND timers configurable 2010-03-12 16:19:19 +00:00
fros4943 5877528f3a added possibility to add radio logger analyzers from cooja projects 2010-03-12 16:02:47 +00:00
dak664 7c5eed6bda Add includes needed by AVR-gcc, fix compiler warning 2010-03-12 15:23:57 +00:00
dak664 52c9f4bde3 Remove compiler warning 2010-03-12 15:21:14 +00:00
nifi 2cf0fb9cce Changed to use short address mode with short rime addresses 2010-03-12 14:49:21 +00:00
joxe efda8edcc5 fixed UDP uncompression 2010-03-12 14:23:40 +00:00
nvt-se 6be0bac1a1 minor include fix + added documentation 2010-03-12 13:40:13 +00:00
nvt-se 881fac7f50 fixed comment 2010-03-12 13:25:14 +00:00
nvt-se 6ce15b14c9 prepend net/ to include paths 2010-03-12 13:23:50 +00:00
nvt-se c316fc2fa9 Make it possible to provide feedback to the neighbor modules 2010-03-12 13:20:13 +00:00
nvt-se 814dd8bf59 Added generic modules for neighbor information. 2010-03-12 13:19:45 +00:00
fros4943 ef35fe6e6e added experimental visualizer skin that shows the current source code of each mote in the simulation (for emulated mspmotes only) 2010-03-11 22:15:58 +00:00
fros4943 87733c176a added notes plugin, useful for storing simulation notes in the config 2010-03-11 22:11:10 +00:00
joxe d75ec2da53 fixed so that uip6 sends icmp6 errors from correct source when acting as router - improves support for tracert, etc. 2010-03-11 18:07:37 +00:00
nifi 58c55340ed fixed to work with IPv6 2010-03-10 22:30:39 +00:00
fros4943 b422ef90ad updated help 2010-03-10 14:49:47 +00:00
fros4943 9e229a35c4 bugfix: bad jar arguments 2010-03-10 14:47:58 +00:00
fros4943 6b68d2e051 added output jar arguments 2010-03-10 14:39:47 +00:00
fros4943 feb0db0b3e print jar process errors if building archive fails 2010-03-10 14:17:36 +00:00
fros4943 f057939595 delete META-INF directory before building JAR 2010-03-10 13:09:05 +00:00
fros4943 bffd3ca433 warn if JAVA_HOME is not set 2010-03-10 12:48:35 +00:00
fros4943 adf6263b0d updated configs: MAC_DRIVER was replaced by NETSTACK_RDC 2010-03-10 12:34:29 +00:00
fros4943 f9e4ebf7cf updated test configs: the test should normally not specify the network configuration, but rather use the default in the application directory 2010-03-10 12:29:24 +00:00
fros4943 9fb4c73d8d WITH_UIP in Makefile 2010-03-10 12:21:12 +00:00
fros4943 89d7d926c4 added ipv4 and ipv6 default configuration 2010-03-10 12:18:29 +00:00
fros4943 7465fb812a removed explicit init-net*.c for cooja platform, instead performed in main file (contiki-template.c) 2010-03-10 12:18:07 +00:00
fros4943 f8488925eb added uip-driver (for both ivp4 and ipv6), setting WITH_UIP* compiler flags in Makefile 2010-03-10 12:15:52 +00:00
fros4943 f36cfffc99 Makefile target for uploading precompiled firmware, example:
make upload-ihex FILE=myfile.ihex
2010-03-10 11:46:57 +00:00
fros4943 7dd4397f6c bugfix: getSignalStrength() did not return the correct value 2010-03-10 10:11:36 +00:00
fros4943 7c25544cdb added possibility to override the default netstack in contiki-conf.h at compile time, by specifying another header 2010-03-10 07:51:30 +00:00
fros4943 70dd5454fc removed contiki motes' communication stack configuration; the network stack instead depends on compiler flags/contiki-conf.h 2010-03-10 07:49:25 +00:00
fros4943 98929bd2f5 cooja-platform netstack conf example 2010-03-10 07:35:49 +00:00
fros4943 45a6740782 radio sensor was removed 2010-03-10 07:35:09 +00:00
adamdunkels 90bb63a383 Set the (correct) packet attribute to let the MAC layer perform retransmissions 2010-03-09 20:40:50 +00:00
adamdunkels 4b60301727 Don't set the ack flag for broadcast packets 2010-03-09 20:40:11 +00:00
adamdunkels 17f6b3a324 Simplified the structure of the code 2010-03-09 20:38:55 +00:00
adamdunkels d0e6436a20 Don't call up the netstack if the transmission was deferred 2010-03-09 20:37:02 +00:00
c_oflynn dc3e6c1877 Fix TC/FL errors in hc-06. Need to verify further 2010-03-09 16:19:44 +00:00
joxe 48a9bff889 added support for dropping packets if hop limit is reached 2010-03-09 15:50:15 +00:00