User Tools

Site Tools


lab7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lab7 [2018/12/23 15:15]
dan.tudose [Download Contiki]
lab7 [2018/12/23 15:19] (current)
dan.tudose [Ping]
Line 80: Line 80:
 Now that we know the node itself is working and printing OK, we want to make sure two nodes can talk. The best way to do this is with a ping. Now that we know the node itself is working and printing OK, we want to make sure two nodes can talk. The best way to do this is with a ping.
  
-This requires two nodes. If you already have hello-world on one node, the easiest thing to do is to put ping-ipv6 on a second node, and ping the other. So for this example, say we already have hello-world working on node 3 on /dev/ttyUSB0.+This requires two nodes. If you already have hello-world on one node, the easiest thing to do is to put //ping-ipv6// on a second node, and ping the other. So for this example, say we already have //hello-world// working on node 3 on ///dev/ttyUSB0//.
  
-<code>$ cd tests/ping-ipv6 +We'll connect a second node to the computer, and presume it's connected to ///dev/ttyUSB1// and it's already been configured with node address 1. For this node, we'll need to compile and upload the //ping-ipv6// app and specify the node we'll want to ping.  
 + 
 +<code bash>$ cd tests/ping-ipv6 
 $ make upload AVRDUDE_PORT=/dev/ttyUSB1 NODE=3  $ make upload AVRDUDE_PORT=/dev/ttyUSB1 NODE=3 
 $ make login AVRDUDE_PORT=/dev/ttyUSB1 </code> $ make login AVRDUDE_PORT=/dev/ttyUSB1 </code>
lab7.1545570911.txt.gz · Last modified: 2018/12/23 15:15 by dan.tudose