Hi!

If you are using the security branch provided in 
http://hinrg.cs.jhu.edu/git/?p=jgko/tinyos-2.x.git;a=summary, 
<http://hinrg.cs.jhu.edu/git/?p=jgko/tinyos-2.x.git;a=summary>
you probably did not add CFLAGS+=-DCC2420_HW_SECURITY in you Makefile.
Try adding this option and try again :)

Thanks.

-John

cristiano carnicelli wrote:
> Hi all,
> I have a question about security on cc2420.
>
> To do this, I tried to call the command setKey() ( command from 
> CC2420Keys interface) from CC2420TrasmitP but obviusly it tells me that
> " CC2420Keys.setkey  is not connected "
> I also see that in a "original" version of CC2420TrasmitP.nc i have 
> the code
>
> (1)uses interface CC2420Ram as KEY0 istead of my
>
> (2)uses interface CC2420Keys as KEY0;
>
> The (1) is linked in CC2420TrasmitC.nc with SPI but  how i call the 
> setKey command in that case?
>
> Or maybe the command like setKey or setCbc and other command of 
> CC2420SecurityMode interface are called by application and not at 
> radio level?
>
> If I have to use (2) what link I have to make for the command of 
> CC2420Keys and CC2420SecurityMode?
>
> Thanks in advantage for answers.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
JeongGil (John) Ko
Ph.D. Student
Department of Computer Science
Johns Hopkins University
http://cs.jhu.edu/~jgko

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

Reply via email to