Hi all

Finally I connected my application (made in C++) to the Serial
Forwarder, and I receive packets. But my problem is the following (I
only need some information): The data is sent by the mote in big-endian format, 
for example, 01 02 means 258 (256*1 + 2). When I receive the packet, I need the 
value 258, not the 01 02, as if it were an integer. 

Any suggestion?

Thanks!

David
                                          
_________________________________________________________________
¿Quieres saber qué PC eres? ¡Descúbrelo aquí!
http://www.quepceres.com/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to