[Tinyos-help] Using C files in TinyOS

Antonio antonio.guerrieri at email.it
Wed Jul 9 09:38:14 PDT 2008


Thank you very much Janos,
but how can I link my .c file to my .nc file to call a function in .nc file?
Is An "include" enough?
Can you post a simple example?

Thank you again,

Antonio Guerrieri

-----Messaggio originale-----
Da: Janos Sallai [mailto:sallai at isis.vanderbilt.edu] 
Inviato: mercoledì 9 luglio 2008 17.21
A: Antonio; tinyos-help at millennium.berkeley.edu
Oggetto: RE: [Tinyos-help] Using C files in TinyOS

> What if I want to call TinyOS functions from C files?
You will need add the @C() and @spontaneous() attributes to the
functions in nesC that you want to call from C.

Janos

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Speciale Hotel + Parco Divertimento. Tanti pacchetti per le tue vacanze divertenti su 
* vacanzedivertenti.it 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid08&d—



More information about the Tinyos-help mailing list