I  use float too because saves me time in coding, but I consider that
for final application convert to integer before transmission would be
more efficient in terms of bandwidth. Of course it depends on the
number of motes that are transmitting at the same time.

I did not find any nx_float in the type definitions of TinyOS 2.1,
please if I am wrong let me know.
However, if you are going to transmit between two Telos (i.e. they are
based on the same architecture) you do not need nx_float. The problem
then may be that in the same packet you have defined other
network-type data (nx_int16_t, or whatever). To solve that you may
just put everything without network type.

Please, if you find any other solution let me know.

Have a great Sunday!
Sergio

On Sat, Apr 16, 2011 at 10:13 PM, Mayank Gupta <[email protected]> wrote:
> I am using version 1.3.1
> with compiler version 1.2.4
>
> Regards
> Mayank
>
> On Sat, Apr 16, 2011 at 4:06 PM, Thomas Schmid <[email protected]> wrote:
>> Which version of nesc do you use?
>>
>> Thomas
>>
>> On Saturday, April 16, 2011, Mayank Gupta <[email protected]> wrote:
>>> I was trying to use nx_float for exchanging floating point data
>>> between two telosb motes but apparently cannot compile the code. Can
>>> anyone help me solving this issue.
>>>
>>> Thanking you in anticipation
>>> Regards,
>>> Mayank
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>> --
>> - Thomas
>>
>> --
>> Assistant Professor
>> University of Utah, Salt Lake City
>>
> _______________________________________________
> 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