adamdunkels
264176fe1b
Small scripts (hacks!) for checking and plotting the Contiki code size
2008-02-04 23:51:42 +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
adamdunkels
465f75736d
Minor source code reformatting
2008-02-03 21:12:44 +00:00
adamdunkels
6557863bb8
The reset now comes after the binaries are compiled
2008-02-03 21:04:31 +00:00
adamdunkels
cb6bc45350
Added code for routing IP packets over low-power radios using the Rime mesh module
2008-02-03 21:03:19 +00:00
adamdunkels
dc43a9713d
Added uIP destimation unreachable message, removed defailt XMAC timer definitions (for now), turned profiling off(for now), added process event number configuration, reduced data memory size for the ELF loader
2008-02-03 21:01:36 +00:00
adamdunkels
cf5ff2bbb2
Made SLIP code coexist with ordinary serial code. If WITH_UIP=1, the SLIP code is used instead.
2008-02-03 20:59:35 +00:00
adamdunkels
e68d669265
Added improvements suggested by Hardy Greich: define CPU speed in one place only (contiki-conf.h), added nop to XTAL settlement delay
2008-02-03 20:58:11 +00:00
adamdunkels
f1bec7b955
Added the ability to send packets to an external network
2008-02-03 20:56:07 +00:00
adamdunkels
53f0b7feb8
Added line drawing code when compiled for the netsim target
2008-02-03 20:52:41 +00:00
adamdunkels
f5b08ff115
Added a crude hack for drawing lines between nodes
2008-02-03 20:49:50 +00:00
adamdunkels
2886e03f57
Rewrote the neighbor code to use memb and a list instead of a static array
2008-02-03 20:44:11 +00:00
adamdunkels
b001c14bf2
Code style fix
2008-02-03 20:43:35 +00:00
adamdunkels
44d7d9a9a4
Changed names of the Rime examples from test-* to example-* and added examples for ruc and uc
2008-01-25 18:00:50 +00:00
adamdunkels
c576b7b01c
Optimized transmission when interval == 0
2008-01-25 01:06:25 +00:00
adamdunkels
28a3a51f82
Added uIP ICMP destimation unreachable message generation
2008-01-24 23:09:40 +00:00
adamdunkels
6e89e545b3
Added optional transmission of ICMP destimation unreachable in response to incoming UDP packets with an destination port that is not open. This is needed for correct operation of traceroute
2008-01-24 23:08:58 +00:00
adamdunkels
c9508567a1
Bugfix: IP addresses in ICMP time exceeded messages were not transmitted correctly
2008-01-24 23:07:37 +00:00
adamdunkels
eced8a3ec2
Removed left-over debug printouts
2008-01-24 23:07:05 +00:00
adamdunkels
49ac5f9026
Show rt metric in netsim as number of expected transmissions
2008-01-24 21:11:40 +00:00
adamdunkels
cdfe030980
Send immediately if interval == 0. Added debug information
2008-01-24 21:10:50 +00:00
adamdunkels
f93a48599e
Process only one poll request at a time to avoid starvation if one process keeps calling process_poll() from its poll handler
2008-01-24 21:00:51 +00:00
adamdunkels
1b024d6e69
Added const
2008-01-24 13:09:32 +00:00
adamdunkels
dc70ac2584
Added calibration to channel switch if currently in receive mode. Added explicit checks for transmission activity before channel switch
2008-01-24 13:09:16 +00:00
adamdunkels
af73a358f4
Added const to constant arguments
2008-01-24 13:08:35 +00:00
adamdunkels
bf8b5c093d
Made timetable code optional
2008-01-24 06:17:51 +00:00
adamdunkels
e7fb51b14c
Added generic return valued
2008-01-24 06:17:33 +00:00
adamdunkels
546efc7b61
Removed remaining debug code
2008-01-23 21:06:25 +00:00
adamdunkels
68523814c5
Moved from examples/sky into generic platform/sky/apps so that all examples can use it
2008-01-23 20:34:37 +00:00
adamdunkels
29cc2b1266
Updated debug printouts
2008-01-23 16:10:10 +00:00
adamdunkels
f4dd9ccd5b
Rewrote the process code so that initialization events are posted synchronously instead of asynchronously, so that we don't have to explicitly wait for processes to be initialized. This also reduces the size of the event queue by half on the Tmote Sky platform since the queue was maximized during system bootup. This change also prompted an update of the process invokation code to ensure that a process is not invoked again when processing an event. General cleanup of the code also.
2008-01-23 15:18:06 +00:00
adamdunkels
c8dccbbd40
Added a function for converting a timesynchronized time to a local (rtimer) time
2008-01-23 15:07:05 +00:00
adamdunkels
8a9b931a4b
Rewrote most of the X-MAC code to make it easier to follow, debug and modify. Also added an optional, experimental time synchronized addition that makes X-MACs on different nodes explicitly de-synchronized
2008-01-23 15:00:54 +00:00
adamdunkels
c2ef303c24
Updated for the new simple_cc2420 API
2008-01-23 14:58:01 +00:00
adamdunkels
2c5964ef55
Changed default transmission behaviour to be to send without checking for channel activity first (in anticipation of radio API change that adds a CCA function to the radio API). General code cleanup. Added optional timetable profiling. Added simple_cc2420_get_channel() function, changed simple_cc2420_set_chan_pan to simple_cc2420_set_pan since we now have a dedicated simple_cc2420_set_channel
2008-01-23 14:57:19 +00:00
zhitao
10ce1ed03e
Pulled in updated defines for the sky platform
2008-01-22 15:00:24 +00:00
zhitao
b9c34bf835
Removed redundant initialization
2008-01-22 14:58:41 +00:00
adamdunkels
d9b52d1585
Added ENEGEST_SECOND
2008-01-21 12:36:17 +00:00
adamdunkels
5c169ac291
Better debug output
2008-01-21 12:19:27 +00:00
nvt-se
6005437b27
Disable the watchdog during the whole erase operation.
2008-01-21 10:40:26 +00:00
adamdunkels
a4d5ca833c
Update the periodic watchdog only if it is not stopped
2008-01-21 10:39:23 +00:00
nvt-se
bed0963769
Call watchdog_periodic before erasing each sector, because this operation
...
takes approximately 1s.
2008-01-21 10:28:44 +00:00
adamdunkels
685de41feb
Fixed buggy build
2008-01-19 06:57:44 +00:00
nifi
3e0e3d4965
added energest-arch.c
2008-01-18 18:26:02 +00:00
fros4943
0c21c8893a
bugfix: wait while *either* transmitting or unvalid rssi
2008-01-17 15:38:45 +00:00
adamdunkels
7b71f23abe
Factored out the time table keeping code from the profiling code and placed it in a separate 'timetable' module, that may be uesd on its own.
2008-01-17 12:19:25 +00:00
adamdunkels
f2599b38e7
Added a WERROR variable, which, if set, causes -Werror flags to be turned on
2008-01-17 12:07:32 +00:00
oliverschmidt
cee1823dc3
Shell scripts need to have Unix line endings even on Windows/Cygwin.
2008-01-15 21:35:42 +00:00
oliverschmidt
f9893e11c4
Shell scripts need to have Unix line endings even on Windows/Cygwin.
2008-01-15 21:34:25 +00:00
nvt-se
8a38ffea87
added declaration for simple_cc2420_get_txpower.
2008-01-15 08:53:52 +00:00