Hi, a) I think your are converting the last two field into two different integers. That´s why you always have a "1" (before last field) and the other one is increasing (last field). The counter field grows one per clycle, e.g., 08, 09, 0A, 0B... I don´t know what´s the negative sign, a positive hexadecimal number is always a positive decimal number.
b) The default sensor depends on the platform you are using. If your "mote" is mica, telsb, tinynode... they can have different sensors, altough it is usually a light or temperature one. Some of them they don´t include sensors. It something you can check in the data sheet of the mote. ----- Original Message ----- From: "pnky" <[email protected]> To: <[email protected]> Sent: Monday, September 07, 2009 3:37 AM Subject: [Tinyos-help] RadioCountToLes and Oscilloscope > > Hello, > i have a question about two applications RadioCountToLeds and Oscilloscope > a)radiocounttoleds app maintains a counter,using the app Listen you can > see > on screen: > 00 FF FF FF FF 02 00 06 01 E8 > last two field shows the values of counter in bytes.I convert this packet > to > integer 0 -1 -1 -1 -1 2 0 6 1 -23. > Values of counter are 1 and -23,then 1 -24 then 1 -25 and so on.Why number > 1 > repeats???what means?? > b)Oscilloscope is an application that let's you visualize sensor readings > on > the PC. Every node that has Oscilloscope installed periodically samples > the > default sensor via ( DemoSensorC) and broadcasts a message with 10 > accumulated readings over the radio.which is the default sensor??? > thanks in advance!!!!!!!!!!!! > -- > View this message in context: > http://www.nabble.com/RadioCountToLes-and-Oscilloscope-tp25323909p25323909.html > Sent from the TinyOS - Help mailing list archive at Nabble.com. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
