adamdunkels
822149f943
Significant improvements to the Contiki X-MAC:
...
* the code is simplified, particularly the duty cycling logic
* old unused code has been removed
* Contiki X-MAC now listens before sending a strobe to avoid MAC-level
collisions
* broadcasts are sent directly, without strobes, reducing the power
consumption of receivers
* turn off radio for 1 ms between sending a strobe and expecting the
strobe ack
2009-12-06 13:16:59 +00:00
adamdunkels
cef2e65c9b
Added an error type for signalling a MAC-layer collision
2009-12-05 21:49:51 +00:00
adamdunkels
e3fed27f4a
Broke out the CC2420 SFD interrupt into a separate file to allow easier overloading with project-specific files
2009-12-05 19:42:56 +00:00
adamdunkels
4a1a823a49
Code style fix
2009-12-05 13:29:41 +00:00
adamdunkels
6815e2a53f
Code style fix
2009-12-05 11:26:20 +00:00
fros4943
9ec2b64008
added ESB helloworld test (cloned from Sky)
2009-12-02 17:16:57 +00:00
fros4943
5f88fac53c
renamed serial port mote interface SkySerial to MspSerial + replaced ESB's log mote interface with the new MspSerial (ESB motes can now read serial port data)
2009-12-02 17:12:32 +00:00
fros4943
36d09eaa69
requesting mote wakeup when receiving radio data + code cleanup (faster code)
2009-12-02 16:39:42 +00:00
fros4943
51f210b37f
removed unused and unneeded custom radio data classes
2009-12-02 16:29:36 +00:00
fros4943
2f9ccfa26d
merged mspsim's compile dialogs
2009-12-02 16:27:32 +00:00
fros4943
8bd7187491
the simulation object now handles the motetype configuration for motes; common functionality that was earlier implemented in each mote.
...
this patch allows the simulator more freedom for hand-picking mote class loaders
+ some debug output in experimental ImportAppMoteType
2009-11-27 15:53:10 +00:00
fros4943
a1b4597b95
fixed announcement compilation error
2009-11-27 14:27:50 +00:00
adamdunkels
aeefa75304
Fixed alignment problems in announcement packet creation
2009-11-27 12:49:27 +00:00
fros4943
236a6eee15
added new application mote type that loads a configurable application mote java class.
...
the new mote type makes it easier to create and load new application-level motes
2009-11-25 20:52:33 +00:00
fros4943
fa26d2f213
configure and load methods may throw a MoteTypeCreationException
2009-11-25 20:48:22 +00:00
fros4943
93672649d2
made project class loader public + throw exception is mote class could not be loaded
2009-11-25 20:47:18 +00:00
fros4943
ac424ca88a
bugfix: interfered nondestination radio
2009-11-25 18:13:05 +00:00
fros4943
7d6ee814da
added documentation
2009-11-25 16:05:47 +00:00
fros4943
ff93ba8e0f
decreased transmission interval and increased transmission duration of disturber mote, since short packets could still get through with the current settings
2009-11-25 16:03:00 +00:00
fros4943
d77d7ab667
updated mspsim.jar: implements cc2420's crc footer
2009-11-25 15:51:15 +00:00
fros4943
451be82efd
radio connection update: radio should not be removed from destinations, but instead flagged as interfered.
...
(and the radio medium will keep delivering data also to interfered destinations to avoid the half-filled RXFIFO problem)
+ minor fix: the received signal strength is the maximum of all sending radio
2009-11-25 15:49:58 +00:00
fros4943
5c67d113c8
minor bug fix: arraydequeue may return null entries
2009-11-25 15:44:51 +00:00
fros4943
3c4fe0e3b7
closing fileoutputstream
2009-11-25 15:43:45 +00:00
fros4943
24d0330d2d
radio connection update: radio should not be removed from destinations, but instead flagged as interfered
2009-11-25 15:43:03 +00:00
fros4943
45d23c026e
new radio medium method signature + increased history size
2009-11-25 15:40:46 +00:00
fros4943
0a9e9dea59
* observing motes' radio states ("is transmitting") instead of radio events ("started transmitting").
...
previously the last radio event was logged in the Timeline, which could be very confusing when a radio was interfered while transmitting a packet: it looked like the radio stopped transmitting. (this behavior did not, however, affect the simulation output but only the timeline)
* added Radio Logger menu option shortcut, for quickly moving from the Timeline to the Radio Logger plugin
* minor ui fixes regarding event tooltips: tooltip info appear at mouse clicks
2009-11-25 15:39:57 +00:00
fros4943
d27a2dfb5b
added Payload Alias for easier overview of several packets with identical payloads.
...
added Timeline menu option for quickly viewing the selected radio packet in the Timeline plugin.
2009-11-25 15:32:34 +00:00
fros4943
d4f674c053
updated obsolete method signature:
...
when the radio medium was still tick-based, several radio connection could finish "simultaneously" (during the same tick), which is no longer possible
2009-11-25 15:26:35 +00:00
fros4943
2955eb9798
distinct between a radio connection's interfered radios, and interfered destination radios: interfered destinations still receive connection data
...
+ faster code and updated documentation
2009-11-25 15:21:15 +00:00
fros4943
7e6fbd9f7b
output warning if radio shuts down during transmission
2009-11-25 15:18:11 +00:00
fros4943
01e9498dd9
radio medium update: receiving nodes that become interfered still receive connection data, but may (should) choose to ignore or corrupt it.
...
this solves a problem with half-filled FIFO buffers on CC2420 radio platforms
+ minor fixes: the received signal strength is the maximum of all active connection, and a transmitting radio may still be interfered
2009-11-25 10:36:08 +00:00
fros4943
5ed294f001
minor patch: remember last exported jar filename
2009-11-25 10:29:21 +00:00
fros4943
c0e115895d
when a receiving radio is interfered by another transmission, the actual data received is corrupted.
2009-11-25 10:01:55 +00:00
fros4943
cd8a407ee1
fix: mote id should not return memory value, but rather the configured value.
2009-11-25 09:17:16 +00:00
fros4943
857c7d5a9d
fixed integer to long wrap bug for simulation times over 2000s
2009-11-23 15:25:13 +00:00
nvt-se
a96e8a33b3
removed interference because it covered several hops and caused problems with x-mac broadcasts
2009-11-20 14:51:30 +00:00
nvt-se
116771adbc
made the route cache timeout configurable
2009-11-20 14:35:58 +00:00
nifi
b9418a91d7
Added call to putchar to force linking (fixes compilation error).
2009-11-20 10:45:07 +00:00
nifi
1f2c226d8e
* Added ctimer_restart(). Patch by Moritz Struebe.
...
* Added ctimer_expired().
2009-11-19 18:32:05 +00:00
nifi
3c1a7f3bc7
* Added configuration for radio receive buffer size (default Rime packet size)
...
* Added configuration for beep on bad crc
* Changed to drop packet if read buffer is too small rather than truncating data
* Turn off energest-listen during transmission
2009-11-19 18:04:02 +00:00
nifi
efdbbf9fe3
minor cleanup: random.c is already included in Makefile.include
2009-11-19 17:33:05 +00:00
nifi
5de7d07093
fixed compiler warning
2009-11-19 17:31:23 +00:00
nifi
e6015bce4c
added printout of sender of received messages
2009-11-19 17:29:41 +00:00
nifi
4f2318152e
Added support for CPU speed 2.4576MHz and configuration to enable/disable interrupt driven TX
2009-11-18 15:45:32 +00:00
nifi
c89028a11f
reduced serial line buffer size
2009-11-18 15:34:57 +00:00
nvt-se
075a763e95
removed unused compilation units for IPv6
2009-11-18 15:12:06 +00:00
nifi
bb0ffe0478
moved rime initialization into rime router so it is easier to switch IPv6 routing module
2009-11-18 13:51:55 +00:00
nifi
2640f9bf26
Must check error flag before reading. Removed leds debug.
2009-11-18 13:24:12 +00:00
joxe
65a50f3d88
fixed MicaZ ID for contiki nodes by programming EEPROM
2009-11-17 14:30:26 +00:00
joxe
f5ae0b9c82
fixed mote id for micaz
2009-11-17 14:09:02 +00:00