Aniket,

It seems like you are not using the proper CC2420RecieveP.nc file and 
potentially many other files are not properly pulled.
PLEASE pull the entire tree using git from the repository.
This problem is not seen when the security tree is properly pulled.
The cc2420sec branch deals with changes to many different files so 
downloading the entire branch will help you solve these problems.

If you still see this after pulling the git, please contact [email protected].

Thanks.

-John

Aniket Gade wrote:
> I tried implementing cc2420sec tree. But i got the following errors. I 
> think the CC2420ReceiveP.nc has some problems.
>
> In component `CC2420ReceiveP':
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc: In 
> function `dec':
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:382: 
> nx_struct has no member named `mode'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:383: 
> nx_struct has no member named `key'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:390: 
> nx_struct has no member named `micLength'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:393: 
> nx_struct has no member named `nonce'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:394: 
> nx_struct has no member named `skip'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:398: 
> nx_struct has no member named `micLength'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc: In 
> function `receiveDone_task.runTask':
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:608: 
> nx_struct has no member named `mode'
> /opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:608: 
> nx_struct has no member named `micLength'
> /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: 
> #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
> /opt/tinyos-2.x/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: 
> #warning "*** USING PACKET LINK LAYER"
> In file included from 
> /opt/tinyos-2.x/tos/chips/cc2420/security/SecAMSenderC.nc:48,
>                  from RadioCountToLedsAppC.nc:46:
> In component `SecAMSenderP':
> /opt/tinyos-2.x/tos/chips/cc2420/security/SecAMSenderP.nc: In function 
> `AMSend.send':
> /opt/tinyos-2.x/tos/chips/cc2420/security/SecAMSenderP.nc:56: 
> nx_struct has no member named `secHdr'
> In component `CC2420KeysC':
> /opt/tinyos-2.x/tos/chips/cc2420/security/CC2420KeysC.nc: At top level:
> /opt/tinyos-2.x/tos/chips/cc2420/security/CC2420KeysC.nc:43: cannot 
> find `KEY0'
> /opt/tinyos-2.x/tos/chips/cc2420/security/CC2420KeysC.nc:44: cannot 
> find `KEY1'
>
> Pls let me know if any solution.
>
> Thanks and Regards
> Aniket Gade
>
> ------------------------------------------------------------------------
> Hotmail® has ever-growing storage! Don’t worry about storage limits. 
> Check it out. 
> <http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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