Commit Graph

2236 Commits

Author SHA1 Message Date
fros4943
327a278cab annotation describing an abstraction level 2008-02-07 10:29:40 +00:00
adamdunkels
f38255b80f A hack for tunneling IP packets from a pcap device to SLIP under MS Windows. Essentially a combination of the wpcap driver and the tunslip tool. 2008-02-07 09:39:35 +00:00
adamdunkels
2187212703 Name fix on uip_all_zeroes_addr 2008-02-07 01:35:00 +00:00
adamdunkels
d407fe2e9f Set TTL on outbound ICMP echo reply packets to make Windows tracert work 2008-02-07 01:34:25 +00:00
adamdunkels
245558fd56 Make windows tracert work: needs ICMP time exceeded sent for ICMP echo packets 2008-02-07 01:33:47 +00:00
oliverschmidt
a105e1a40c Added 'const'. 2008-02-06 16:41:19 +00:00
adamdunkels
9444e5cbc1 Refactored netcmd command code that was broken out from shell-rime.c 2008-02-05 20:35:21 +00:00
adamdunkels
fc603fdcc6 constness 2008-02-05 20:18:57 +00:00
adamdunkels
3d6c1c966b Bugfix: forwarding functions now have access to its packet headers. Added last hop to the arguments to the reception function 2008-02-05 20:17:43 +00:00
adamdunkels
33bcc24019 Increased timeouts, updated to match new mh API 2008-02-05 20:16:48 +00:00
adamdunkels
b69001cbd4 Broke out the netcmd command from shell-rime.c into shell-rime-netcmd.c 2008-02-05 12:23:32 +00:00
adamdunkels
3fbff69658 Compile shell-sky.c only for the sky target, added shell-rime-netcmd.c 2008-02-05 12:22:49 +00:00
adamdunkels
136ad1e48c Example application that runs the Contiki shell on the Tmote Sky 2008-02-04 23:52:33 +00:00
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