Yes, it is really simple. Use mig to generate the Java class associated with the message you send from the mote to the PC. Then register the listener for that AM channel. Finally, every time your listener receives a message use the automatically generated methods (with mig) for extracting values.
If you are able to see the values in the PC, then just modify the program that you are currently using, and instead of using the to_string method use another one to the get the temperature value. Cheers! Sergio On Sat, Jul 2, 2011 at 7:02 PM, Ramana Reddy <gtvrre...@gmail.com> wrote: > Write java program for that. There are APIs which can be used to display > the values from motes to PC using java. > > > On Sat, Jul 2, 2011 at 10:14 PM, amel leyla <m198...@hotmail.fr> wrote: > >> hi , >> i have a problem with my project. >> i use telosb mote to sense the temperature from the environnement, and i >> use the tinyos2.x. the program work correctely but i must display the value >> of temperature on my "terminal" >> i use 3 motes, when the mote sense the temperature it display on the PC >> but i want to display the real value on " °c " . >> i need help from u , please help me out. >> its urgen >> >> _______________________________________________ >> Tinyos-help mailing list >> Tinyos-help@millennium.berkeley.edu >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help