[Tinyos-help] Determine Hardware Platform at Runtime?

Cory Sharp cory.sharp at gmail.com
Fri Mar 25 10:06:43 PST 2005

Hi Andy,

That information currently isn't provided by any component in TinyOS. 
So, you'll have to write one yourself.  nesC defines a
preprocessor variables, which you can use in some manner to get that
information compiled into your application.

Cory Sharp <cory at moteiv.com>

On Fri, 25 Mar 2005 01:25:53 -0500, Andy Dalton <adalton at cs.clemson.edu> wrote:
> Hi all,
> I'm interested in determining the hardware platform an application is running
> on at runtime.  Is there an existing mechanism available to obtain this
> information?  I've been looking in the area of
>     /opt/tinyos-1.x/tos/system/Ident.h
> but didn't see anything there that looked promising.  If I wanted to be
> able to add that sort of information, would that be a reasonable place for
> it?
> Thanks,
> Andy
> --
> Andy Dalton                    | Graduate Student
> Department of Computer Science | Clemson University
> Clemson, South Carolina  USA   | 120 McAdams Hall,  (864) 656-2635
> adalton at cs.clemson.edu         | http://www.cs.clemson.edu/~adalton/
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help

More information about the Tinyos-help mailing list