Commit Graph

4339 Commits

Author SHA1 Message Date
nifi
684c91d0fd Changed separator for concatenated mote id and log message for filtering to a space character. 2010-01-13 15:04:47 +00:00
nifi
313f857135 Enabled antialiasing in visualizer paint. 2010-01-13 12:29:10 +00:00
nifi
00d6ae56b6 Added option to filter on concatenated mote id and log message + removed compiler warnings 2010-01-12 15:42:08 +00:00
fros4943
8ee7b3c3be minor fix: remove relations if mote is removed 2010-01-12 09:36:10 +00:00
fros4943
2756ff2e31 improved zooming by slider 2010-01-12 09:11:26 +00:00
nvt-se
553589d0bb argument must be qualified as const 2009-12-28 18:18:23 +00:00
zdshelby
c5ecde4ca0 Fixes and improvements from Anthony Asterisk
- First in 8051def.h,  it appears the uip_arch-asm.S file was copied from z80 and am unsure it will work properly.  I modified the 8051def.h to prevent the UIP code from using these routines.
- In dma.c the config routine provides access to all of the DMA channel options, except for the word mode flag.  In order to maintain compatibility with any existing code I created a second routine and converted the original routine into a wrapper routine with a fixed word mode value.
- uart.c::uart0_init was missing blocking access to the higher baud rates.  I am not sure why, so I corrected this.
- I also copied over to header files that provide some useful macros from the msp430 cpu.  The files are lpm.h and hwconf.h.  The lpm.h is for switching power modes, I think.  The hwconf.h has various macros for configuring port I/O.  By porting these files the led/button api's can be ported with minimal modifications.
2009-12-22 09:28:14 +00:00
nifi
e032f7ac2c fixed compiler warnings 2009-12-18 15:26:35 +00:00
nvt-se
a03e899c27 Signal the result of transmissions attempts made in the mesh module. Patch from Moritz Struebe 2009-12-18 14:57:15 +00:00
nifi
7b2b93e6e6 clear transmission flag if send failed 2009-12-18 14:49:42 +00:00
matsutsuka
23d5f84a46 Workaround for compiling some examples available 2009-12-16 06:47:17 +00:00
matsutsuka
26ade836b4 synchronized with updated version; fixed Unix environment handling 2009-12-15 07:13:14 +00:00
fros4943
9ddc25527d explicitly calling startPlugin and showPlugin methods, instead of relying on the plugin constructor to configure the plugin. if a simulation is loaded, startPlugin() is called after the simulation configuration is set 2009-12-14 13:29:35 +00:00
fros4943
32936c3df8 added method to select a log listener message near a given time, similar to timeline and radio logger methods 2009-12-14 13:25:04 +00:00
fros4943
cc252e5c16 added support for multiple msp command line listeners 2009-12-14 13:22:57 +00:00
zhitao
93c748cc74 Bug fix for mysterious packet loss : check FIFO pin instead of FIFOP pin for any unread RX FIFO data;
Added protection of packet timestamp across interrupts. Note that race condition can still occur as interrupts and self-scheduled reads of the RX FIFO interleave in certain unusual patterns. More investigation is needed.
2009-12-11 18:32:54 +00:00
matsutsuka
a628b0c581 minor aesthetic modification 2009-12-11 15:00:38 +00:00
matsutsuka
1586b3b5c4 fixed minor bug of mt-test due to sdcc 2009-12-11 14:59:45 +00:00
matsutsuka
ebe74fed56 size-optimization option and peep-hole optimizer have been introduced.
object files have been moved to binary directory
2009-12-11 14:59:31 +00:00
fros4943
6940c85518 added: zoom in/out via ctrl +/-
removed: mouse tooltip (only appears when mouse is clicked)
2009-12-11 10:41:10 +00:00
adamdunkels
f50b8db53b Implement repeats with a periodic second timer to allow for greater range than what is possible with Contiki ctimers. Use RTIMER_NOW() instead of rtimer_arch_now(). 2009-12-09 18:12:23 +00:00
adamdunkels
f4e6758b22 Use RTIMER_NOW() instead of rtimer_arch_now() 2009-12-09 18:08:26 +00:00
adamdunkels
9ac4109bad Increased the clock speed to 32768/4 from 32768/8 to provide better accuracy for power profiling of radio CCA checks 2009-12-09 12:55:35 +00:00
adamdunkels
eff2203310 There were many bugs in the rtimer code, particularly one that made only one rtimer at a time work. We have a new rtimer system that we're testing, but in the meantime, I rewrote the rtimer code to explicitly support only one rtimer. Makes the code significantly simpler (and fixes a bug that was very hard to track down). 2009-12-08 23:55:17 +00:00
adamdunkels
f9260c4fae Enable interrupts during the periodic clock processing to allow rtimers to execute on top of the clock 2009-12-08 23:40:14 +00:00
adamdunkels
a4df6e0fbf Remove the read from TAIV - this should not be done for TIMERA0 interrupts (in fact, doing so messes up the other timer a interrupts, like the clock tick...) 2009-12-08 23:39:45 +00:00
adamdunkels
873f4d0222 Need to clear the interrupt flag register for Timer A 2009-12-07 14:32:16 +00:00
fros4943
5660d6c168 bugfix: returned radio on during boot 2009-12-07 12:31:19 +00:00
fros4943
be1c818938 statistics bug fix: divide by number of motes + show time ruler at zoom in/out 2009-12-07 11:14:02 +00:00
fros4943
c1520a7134 added support for multiple log mote interfaces / mote 2009-12-07 11:06:08 +00:00
fros4943
5e251b837a hide interfered radio events when radio is not on 2009-12-07 11:04:15 +00:00
fros4943
38e0b7918a set radio interfered even when it is turned off -> cca is set immediately when radio is turned on 2009-12-07 11:03:19 +00:00
adamdunkels
2f105e933a Variable xmac_is_on was used both in interrupt and non-interrupt contexts and needs to be volatile 2009-12-06 23:29:38 +00:00
adamdunkels
df784546ee Remove sniff and debug commands to save code space 2009-12-06 23:28:25 +00:00
adamdunkels
53457eb1f0 Fixed compilation warning 2009-12-06 17:10:54 +00:00
adamdunkels
8bcc838d8a Bugfix: don't set the 'we are sending' flag until we are actually sending 2009-12-06 17:05:45 +00:00
adamdunkels
6897270289 Bugfix to the Contiki LPP encounter timing code: encounters are now
properly timed.
2009-12-06 13:18:32 +00:00
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