Even i had posted the same question long back, but no reply.. 
 
As far as i know, there is no network type for float variable.  You can use a 
traditional C structure, then use the __packed__(attribute) at the end of the 
structure.
 
--
Regards, 
Venkatesh S

________________________________


From: "Romain Thouvenin" <[EMAIL PROTECTED]>
Subject: Re: [Tinyos-help] Network Data Types in TinyOS 2.x/nesC
To: "Prem Krishnan" <[EMAIL PROTECTED]>
Cc: tinyos-help@millennium.berkeley.edu
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 4/23/07, Prem Krishnan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm implementing a data aggregation scheme involving the transmission of 2
> integers and a floating point data using micaz motes. My environment is
> tinyos-2.x/nesC 1.2.8. Is there a floating point network type that can be
> used. If not, how should I go about transmitting the same. Can I use
> traditional C structures instead of the network type, since mine is going to
> be a homogeneous network consisting of only micaz motes.
>
> thanks,
> Prem
>

If all the nodes of your network share the same architecture, I guess
using network types does not matter.

Romain



<<winmail.dat>>

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to