Difference between revisions of "Contiki Shell"

From Contiki
Jump to: navigation, search
(Introduction)
(Introduction)
Line 12: Line 12:
 
<p>2) sky-shell: This shell is a thinned out version, which can be compiled on Tmote Sky nodes, allowing the firmware image to fit the Tmote Sky memory.</p>  
 
<p>2) sky-shell: This shell is a thinned out version, which can be compiled on Tmote Sky nodes, allowing the firmware image to fit the Tmote Sky memory.</p>  
 
<p>3) sky-shell-exec: This shell is a further thinned out version and has features such as the exec command allowing to load and execute ELF files.</p>
 
<p>3) sky-shell-exec: This shell is a further thinned out version and has features such as the exec command allowing to load and execute ELF files.</p>
<p>4) sky-shell-webserver: This is a shell that includes the command sky-all-data, allowing to collect different sensor measurements and network  statistics from a Tmote Sky mote.</p>
+
<p>4) sky-shell-webserver: This is a shell that features the command sky-all-data, allowing to collect different sensor measurements and network  statistics from a Tmote Sky mote.</p>
  
 
In this tutorial we will focus on the Contiki Serial Shell.
 
In this tutorial we will focus on the Contiki Serial Shell.
 +
 +
== You will learn ==

Revision as of 17:06, 8 November 2014

Back to Contiki Tutorials


Introduction

The Contiki Shell is an interactive on-mote UNIX-­style shell that allows for text‐based interaction with a sensor node or a network of sensor nodes through a set of commands that can be executed on a UNIX like command line terminal. It has features such as piping data, run in background, file system interaction, network commands, sensor measurement commands and system commands. The shell can be accessed either over a serial USB connection or over a network using Telnet. In this tutorial, we will run the shell over a USB serial connection.

Below are the various instances of shells provided in Contiki:

1) example-shell: This shell can be compiled only for the native target, but not on Tmote Sky due to the firmware image size limitation on the Tmote Sky.

2) sky-shell: This shell is a thinned out version, which can be compiled on Tmote Sky nodes, allowing the firmware image to fit the Tmote Sky memory.

3) sky-shell-exec: This shell is a further thinned out version and has features such as the exec command allowing to load and execute ELF files.

4) sky-shell-webserver: This is a shell that features the command sky-all-data, allowing to collect different sensor measurements and network statistics from a Tmote Sky mote.

In this tutorial we will focus on the Contiki Serial Shell.

You will learn