Commit Graph

9 Commits

Author SHA1 Message Date
adamdunkels
ce53d7b748 Rewrote part of the repeat command to make the repeat cycle deterministic 2010-10-20 15:18:49 +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
585620c102 Reverted the recent change from random_rand() to rand(). It turned out that
since libc rand() returns a signed int, there were frequently problems with
timer values wrapping. By reverting to random_rand(), we can provide a
random generator that returns an unsigned and the timer problems are solved.
2009-02-11 11:08:53 +00:00
adamdunkels
37e15ab537 Use C rand() instead of random_rand() 2009-02-09 20:54:49 +00:00
adamdunkels
cc73becbd2 Bugfix: a repeat command with 0 interval only ran half its commands because the repeat server process was started during the exithandler of the previous repeat server process. The kernel detected this and did not start every second repeat server process. 2008-11-13 07:51:23 +00:00
adamdunkels
86bbb86ed9 If the reps argument to the repeat command is 0, it means to repeat infinitely 2008-07-03 17:56:56 +00:00
oliverschmidt
4e6508b578 Avoided compiler warnings by adding casts. However it might make sense to start taking into account that C pointer differences do not have the type 'int'... 2008-02-10 12:24:43 +00:00
adamdunkels
e70e729be6 Description made clearer 2008-02-08 20:40:10 +00:00
adamdunkels
a26d87e09e Rewrite of the old Contiki shell. The new shell supports dynamic
insertion of new commands and command pipelining. There are also a
bunch of new commands for network access (using Rime): ping, data
collection, packet sniffing, sending shell commands across the
network, and testing the single-hop throughput to neighboring
nodes. Commands are also available for reading from and writing to
files, reading the sensors (on the Tmote Sky platform), and accessing
the power and energy consumption of the system. Dynamic loading of
programs across the network is also possible, although a little
untested at the moment.
2008-02-04 23:42:17 +00:00