X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Ftutorial%2Flesson4.html;h=f2cca6db616a5ee4b53edc2a0233dd5655594333;hb=1a329382c4f4556fd52d85f4e3f4a67e54911682;hp=977b9a1ae953e7ce6fafec7b73fc79ed93f0a255;hpb=3837fe262225242d1629ba72bdf12f6d162ba5c0;p=tinyos-2.x.git diff --git a/doc/html/tutorial/lesson4.html b/doc/html/tutorial/lesson4.html index 977b9a1a..f2cca6db 100644 --- a/doc/html/tutorial/lesson4.html +++ b/doc/html/tutorial/lesson4.html @@ -480,7 +480,23 @@ it matches the AM type of one of the Java message classes passed at the command line, it prints out the packet. You should see output like this:

-

+
+1152232617609: Message 
+  [nodeid=0x2]
+  [counter=0x1049]
+
+1152232617609: Message 
+  [nodeid=0x2]
+  [counter=0x104a]
+
+1152232617609: Message 
+  [nodeid=0x2]
+  [counter=0x104b]
+
+1152232617621: Message 
+  [nodeid=0x2]
+  [counter=0x104c]
+

SerialForwarder and other packet sources

@@ -710,6 +726,16 @@ rather than the radio stack.

href="index.html">Top  |  Next Lesson  > + +

CLASSPATH and Java classes

+ +

Note that the CLASSPATH variable points to tinyos.jar. This +means that when Java looks for classes to load, it looks in tinyos.jar rather +than the Java directories in support/sdk/java. Therefore, +if you change and recompile the Java classes, you will not see the changes, +as Java will only look at the jar file. To regenerate the +jar from the Java code, go to support/sdk/java and type +make tinyos.jar.