Commit graph

4855 commits

Author SHA1 Message Date
adamdunkels 5e6fd67213 Powertrace: a program that periodically prints out the power consumption; suitable for experiments or simulations that want to measure power consumption 2010-02-20 14:15:45 +00:00
adamdunkels 60425aa355 ESB uses tr1001 radio 2010-02-18 23:53:21 +00:00
adamdunkels 0b2b7bcdba Removed inadvertedly left-over include file 2010-02-18 23:52:34 +00:00
adamdunkels fa4d4db329 Use the common netstack_init 2010-02-18 23:19:03 +00:00
adamdunkels 5cf3b83733 Common initialization code for the netstack 2010-02-18 23:15:26 +00:00
adamdunkels 927aa821c3 Updated to new MAC api 2010-02-18 23:10:06 +00:00
adamdunkels a2664054c5 Always include netstack.h 2010-02-18 23:09:30 +00:00
adamdunkels 459c550cbd Updated to match the new netstack api 2010-02-18 23:04:54 +00:00
adamdunkels 51980f0be4 CC2420_CONF_AUTOACK is now defined in contiki-conf.h 2010-02-18 23:03:36 +00:00
adamdunkels 953a8c2015 Turn off timer before updating - needed to avoid bugs in ContikiMAC - not 100% sure why 2010-02-18 22:15:54 +00:00
adamdunkels f49ebfe1c4 Temporarily disabled rime route udp because it breaks with newest MAC interfaces 2010-02-18 21:53:08 +00:00
adamdunkels e34eb54960 A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:

* Separates the Contiki low-layer network stack into four layers:
  network (e.g. sicslowpan / rime), Medium Access Control MAC
  (e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
  radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
  that specify what mechanism/protocol/driver to use at the four
  layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
  NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
  the fate of a transmitted packet: if the packet was not possible to
  transmit, the cause of the failure is reported, and if the packets
  was successfully transmitted, the number of tries before it was
  finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
  which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
  efficient radio duty cycling protocols: channel check, pending
  packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
  #defines.
2010-02-18 21:48:39 +00:00
oliverschmidt 1817acae15 Now that the C64 mouse driver works we can activate the mouse support for this target :-) 2010-02-18 21:30:31 +00:00
adamdunkels f8c804e28b ntikiMAC: a new radio duty cycling mechanism that uses a combination
of link-layer and MAC-layer mechanisms to achieve a very low power
consumption: during idle listening the radio is switched off between
99.2% and 99.6% of the time. One unicast transmission typically adds
between 0.07% and 1.2% additional radio time, depending on packet
size.

ContikiMAC uses the standard IEEE 802.15.4 message format and adds no
additional headers.

ContikiMAC is simple: it uses periodic two-shot channel sampling
during idle listening to keep the radio on-time down. Transmissions
are done with repeated transmissions until a link-layer ACK is
received.
2010-02-18 21:26:15 +00:00
adamdunkels e18f739f04 Fixed compilation without timesynch compiled in 2010-02-18 21:02:30 +00:00
adamdunkels f5c48751b5 Reworked 802.15.4 header creation and parsing so that it works regardless of the size of the rimeaddr_t typedef 2010-02-18 21:00:28 +00:00
adamdunkels 2fbf21b2b3 Refactored the phase optimization functionality into a separate module 2010-02-18 20:58:59 +00:00
adamdunkels 6b523f2446 Fixed compilation without timesynch compiled in 2010-02-18 20:56:12 +00:00
dak664 6df1e0ca58 add experimental cxmac code 2010-02-18 17:24:12 +00:00
dak664 38c5922294 experimental cxmac code 2010-02-18 17:23:19 +00:00
dak664 a83381de30 add rtimers for cxmac 2010-02-18 17:21:44 +00:00
dak664 fee5efb141 additions for cxmac 2010-02-18 17:20:50 +00:00
joxe 470b93c79f added mote attributes to various types of motes 2010-02-18 11:13:20 +00:00
joxe 19c75b30e0 added the MoteAttributes interface for handling mote printouts of #A x=y 2010-02-18 11:06:37 +00:00
adamdunkels 333c14e734 New version of MSPsim from the MSPsim SVN, with support for CC2420 auto ACKs 2010-02-17 18:51:59 +00:00
dak664 72e1528ea7 Make sicslowmac the default! 2010-02-16 23:42:06 +00:00
dak664 98b69e1bff No sniffer yet for RF230BB 2010-02-16 22:55:20 +00:00
dak664 23f6949af6 RF230BB addition 2010-02-16 22:51:40 +00:00
dak664 1da06eff83 Specify mac driver in contiki-conf.h 2010-02-16 22:22:13 +00:00
dak664 53801ffbb1 Add optional RF230BB radio driver 2010-02-16 22:17:51 +00:00
dak664 b0930cf2ec Move rtimer-arch.c inclusion from platform to cpu 2010-02-16 21:56:15 +00:00
dak664 0f59ba3187 Add rtimers, allow Jackdaw to use RF230BB driver 2010-02-16 21:48:38 +00:00
dak664 893a31f49b Jackdaw additions 2010-02-16 21:41:24 +00:00
adamdunkels 515a391ee4 Removed left-over debug printfs 2010-02-15 23:31:05 +00:00
dak664 1bdff78e6e Remove compiler warnings 2010-02-15 20:54:37 +00:00
dak664 bb9afb4fb1 Remove compiler warning 2010-02-15 20:49:38 +00:00
adamdunkels 4bb0375251 Buffer name definition bugfix 2010-02-15 19:23:54 +00:00
adamdunkels 9bb149ca13 Bugfix by Raimondas Sasnauskas: TCP SYN duplicate receptions in the SYN_RCVD state was not correctly handled 2010-02-15 18:03:07 +00:00
adamdunkels acd40454d7 Added power & Rime debug commands 2010-02-15 17:47:01 +00:00
oliverschmidt 94153a9508 Adjusted Contiki download page content to the fact that there are now two disk images (apart from the larger D71 image for the C128). 2010-02-14 17:41:05 +00:00
joxe 46c7cd23fc added example of ext-sensor for Jcreate 2010-02-13 12:21:31 +00:00
joxe 3a2eec2b1a fixed ext-sensor for jcreate 2010-02-13 11:20:48 +00:00
oliverschmidt a66821f1d1 Explicitly turn on forms and centering for consistency reasons. 2010-02-13 10:46:36 +00:00
oliverschmidt 7ef7efecd8 Without forms, centering and history we can just squeeze in DNS. 2010-02-13 10:44:23 +00:00
oliverschmidt 340de209c7 Allow to build the webbrowser without history support - by setting WWW_CONF_HISTORY_SIZE to 0. 2010-02-13 10:39:57 +00:00
dak664 8603f0f0f6 Add RADIOSTATS 2010-02-12 18:00:30 +00:00
dak664 dd4bf06430 Add serial command to send voltage measurement to webserver 2010-02-12 16:46:39 +00:00
dak664 ed76239525 Add RADIOSTATS to sensors cgi 2010-02-12 16:42:59 +00:00
dak664 a6ab27402a Add RADIOSTATS 2010-02-12 16:41:02 +00:00
dak664 eb2ac1a154 Make seconds a global variable, add optional radio on time 2010-02-12 14:37:50 +00:00