Commit graph

6847 commits

Author SHA1 Message Date
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
Mariano Alvira 1d1317a136 trim values for the production econotags 2010-03-09 18:46:37 -05:00
Mariano Alvira 67aed03b1d added interrupt based uarts. 2010-03-09 18:23:40 -05: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
joxe 1214b1fa40 made cc2420 panid and short address not dependent on endianness 2010-03-09 15:45:29 +00:00
c_oflynn 1d483a5da4 Fix UDP compression to work per hc-06. More commits to come to fix Traffic Class stuff... 2010-03-09 15:18:03 +00:00
nvt-se bf2e85a57f supply an argument of the same type as the print format 2010-03-09 14:14:36 +00:00
adamdunkels edda6dd86c Minor bugfix: don't subtract collisions and deferrals from the number of transmissions 2010-03-09 13:23:58 +00:00
adamdunkels 5a6fc2ade0 Bugfix: set up rtmetric before starting to announce it. Set the number of MAC layer retransmissions correctly 2010-03-09 13:21:28 +00:00
adamdunkels 2c3d3e3d73 Bugfix: handle deferred transmissions correctly (don't count them) 2010-03-09 13:20:08 +00:00
adamdunkels 79722b4247 Rework of the timing conditions of ContikiMAC: the old timing did not work well on real hardware, the new one seems to work better 2010-03-09 13:19:05 +00:00
adamdunkels cc7d3ae142 Reset CCA mode to default. Make sure that the radio gto switched on when reading RSSI; otherwise node will reboot because of watchdog 2010-03-09 13:18:16 +00:00
joxe 52114b50e3 fixed serial-input bug in MSPSim 2010-03-09 12:16:10 +00:00
nifi c4370676ee Fixed CRC for updated CRC-handling in new MSPSim 2010-03-09 10:37:47 +00:00
fros4943 e3a3b2a845 catch no class exception when registering new plugin 2010-03-09 08:27:48 +00:00
fros4943 5c8b306558 simplified code, netstack init without relying on external net_init() functions 2010-03-09 08:16:05 +00:00
fros4943 48d6d1fd6d removed no longer used cooja/contiki synchronization variables 2010-03-09 08:14:31 +00:00
fros4943 0cc96ae481 net stack update: currently fixed to null* and rime. 2010-03-09 08:14:06 +00:00
fros4943 f87458c558 removed radio "sensor" (only used for signal strengths, also available in radio driver) 2010-03-09 08:12:15 +00:00
fros4943 07753fb01f updated radio driver, simplified code 2010-03-09 08:11:05 +00:00
fros4943 0cb572bcb6 temporarily disabled communication stacks on cooja platform, removed radio sensor 2010-03-09 08:09:57 +00:00
Mariano Alvira db145ed8a4 removed some stale comments 2010-03-08 18:45:26 -05:00
Mariano Alvira 1ca5cf698a did something sensible to the leds
The buffered packets made the indirect indicators misleading --- now
they match.
2010-03-08 18:39:08 -05:00
Mariano Alvira f64e689d2c set the third bit to avoid acks. 2010-03-08 18:27:52 -05:00
Mariano Alvira 650e9e7f2f faster transmit delay 2010-03-08 18:13:48 -05:00
Mariano Alvira 3178906b43 surpress warning. 2010-03-08 18:13:19 -05:00
Mariano Alvira eed8544a0d rx callback 2010-03-08 18:12:59 -05:00
Mariano Alvira ea2646e5ec implement rx callback 2010-03-08 18:12:31 -05:00
Mariano Alvira 8b73c61175 change the receive timeout to be 32 large packets 2010-03-08 17:39:04 -05:00
Mariano Alvira 761d2c4cbf handle case when buffers are full and we need to transmit.
this is a problem because there won't be a buffer available for the
acknowledgment. In this case use the dummy_ack packet which is always
free for this purpose.
2010-03-08 17:37:35 -05:00
Mariano Alvira d097647edd turn on tx_on 2010-03-08 17:36:42 -05:00
Mariano Alvira 0f9f67d002 add dir set and reset 2010-03-08 17:35:34 -05:00
Mariano Alvira 6ab2c0e69a don't send ack's in rftest-tx 2010-03-08 15:22:37 -05:00
Mariano Alvira 512ddc3e87 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x
pulled in the new maca driver.

gets 238.5 kbps sustained with 125 byte payloads (133 bytes total)

and 194.9 kbps with 16 byte payloads (24 bytes total)

The difference is speeds is due to the overhead in the handlers and
such which is at 88 us right now but can probably be improved.

Conflicts:

	TODO
2010-03-08 14:51:24 -05:00
Mariano Alvira 36f213017e use thumb again. 2010-03-08 14:49:58 -05:00
Mariano Alvira 06e3e0b207 add maca_init()
changed tests to use it.
2010-03-08 14:49:31 -05:00
Mariano Alvira 386f190720 first byte can't be anything you want it to be. 2010-03-08 12:42:37 -05:00
Mariano Alvira 362cfe43eb add starting maca_isr call.
need to put all this into maca_init()
2010-03-08 12:30:25 -05:00
Mariano Alvira 571861c6ea post_receive still needs to timeout if it can't find any free
bufferes.
2010-03-08 12:29:49 -05:00
Mariano Alvira 2a07cbe665 enabled softclk timeouts
fixed post interleaving problem

fixed interrupts in ResumeMACASync.

This seems quite solid now.
2010-03-08 12:03:20 -05:00
joxe bde33fa4d7 new version of mspsim.jar - improved CC2420 emulation + bugfix of SFR handling - fixes UART bug 2010-03-08 14:53:42 +00:00
fros4943 df8cc48739 three patches to simplify loading TinyOS firmwares (via MSPSim), contributed by Philipp Sommer 2010-03-08 14:26:12 +00:00