The first step is to change directories. At this point you should be familiar with the Contiki 2.7 core folders. The Rime stack is located within the examples folder, so type  
 
The first step is to change directories. At this point you should be familiar with the Contiki 2.7 core folders. The Rime stack is located within the examples folder, so type  
   −
<code><nowiki> cd contiki-2.7/examples/rime </nowiki></code>
+
  cd contiki-2.7/examples/rime
    
directly into terminal. Once inside the rime folder, use the ls command to view all the files within it. We will be working specifically with example-broadcast.c.
 
directly into terminal. Once inside the rime folder, use the ls command to view all the files within it. We will be working specifically with example-broadcast.c.
 
Next, we will edit the data in the example-broadcast.c file. In order to do this, you will need to open the file with your text editor. In this exercise, we use gedit, but feel free to use whichever text editor you are most comfortable with. Type the following into the terminal:
 
Next, we will edit the data in the example-broadcast.c file. In order to do this, you will need to open the file with your text editor. In this exercise, we use gedit, but feel free to use whichever text editor you are most comfortable with. Type the following into the terminal:
   −
<code><nowiki> gedit example-broadcast.c </nowiki></code>
+
  gedit example-broadcast.c
    
This will open your text editor, allowing you to edit the code inside the broadcast packet.
 
This will open your text editor, allowing you to edit the code inside the broadcast packet.
 
To edit the actual data that your Tmote Sky will broadcast, scroll down to the line that contains:  
 
To edit the actual data that your Tmote Sky will broadcast, scroll down to the line that contains:  
   Exception encountered, of type "Error"