You can also try using the MIG program to generate Java code to
convert the message with a float in it, and see what it comes up with.
MS
Siirtola Harri wrote:
sizeof(float) gives the amount of bytes a float number takes. Just send
that many bytes and convert back in the receiving end.
Regards,
Harri
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*Iturralde Garrote, Pablo M.
*Sent:* Wednesday, March 26, 2008 4:18 PM
*To:* [email protected]
*Subject:* [Tinyos-help] send a float
Hi I'm working in tinyos2 with cygwin and telosb motes.
I'm trying to send a float over the radio but I don't know how.. does
anybody have done this, how I do it ?????
Thanks in advance
Pablo Iturralde
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help