Hi friends,

I want to use the same *nx_struct* that I use in my telosb sensorial
application in my C based listener where I record all the received data:

*mig c -c-prefix=TELOSBAPP_H -target=telosb Telosbapp.h mystruct_t -o
OUTmystruct_t.h
*

So I get two files, one .c and one .h with an enum and some functions to get
and set data in the structure. But I can't find any C structure to use in
those files nor I don't know how to do it. I can see for instance in
the *prettylisten
*C example of the SDK ( /opt/tinyos-2.x/support/sdk/c/sf/prettylisten.c )
that it uses the *tmsg_t* by default. I think I am not matching received
values with my C mig structure because I have not linked it in any way. What
am I doing wrong? How can I use my mig generated struct (and where is it)
with prettylisten?

Thanks a lot and Happy New Year.

-- 
--------------------------------------------
| Echedey Lorenzo Arencibia  |
--------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to