Hi Alejandro,

Your code seems all right, the problem is with your expectation. The
reading from the sensor is 0x19E2.
I don't understand why do you expect such long message.

Andris

On Fri, Feb 10, 2012 at 10:09 PM,  <[email protected]> wrote:
> Hello.
>
> I am using a telosb mote, and I'm trying to send the Temperature value
> from a node(With my app attached) to an other (with BaseStation app).
>
> I guided from the BlinkToRadio app, but also add the interface Read to get
> the Temperature sensor from SensirionSht11C.
>
> The application is compiling without error, but when I try to see the raw
> data in my terminal through this command:
>
> java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:telosb
>
> Only I see:
>
> serial@/dev/ttyUSB1:115200: resynchronising
> 00 FF FF 00 08 04 22 06 00 08 19 E2
> 00 FF FF 00 08 04 22 06 00 08 19 E2
> 00 FF FF 00 08 04 22 06 00 08 19 E2
>
> Which is very similar that shows BlinkToRadio
>
> However, I am expecting something like this:
>
> 00 FF FF 00 00 1C 00 64 32 37 20 20 0A 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00
> 00 FF FF 00 00 1C 00 64 32 37 20 20 0A 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00
> 00 FF FF 00 00 1C 00 64 32 37 20 20 0A 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00
> 00 FF FF 00 00 1C 00 64 32 37 20 20 0A 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00
>
>
> Please someone could give an advice to fix it?
>
> Thanks in advance.
>
> Regards,
>
> Alejandro.
> _______________________________________________
> 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

Reply via email to