Just don't send floating point values ;)
27.654 * 1000 = 27654 < 65536.
So in this case nx_uint16_t is enough ;)

Am 04.06.2013 um 19:13 schrieb "Sean Dekker" <[email protected]>:

> Please do forgive me if this is a very primitive question.
> 
> What data type I need to send a floating point value such as "27.654" over 
> radio? I mean do I need nx_uint32_t or something else?
> 
> I am asking this because I want to send exact temperature to BaseStation.
> 
> Thanks,
> Sean. _______________________________________________
> 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