Hello brano :
    The file CC2420CsmaP.nc i mentioned in last email is in
tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma , and the file
CC2420CsmaC is in tinyos-2.x/tos/chips/cc2420/csma .
   i have set the LGLDIR (export
LGLDIR="$HOME/local2/src/tinyos-2.x-contrib/stanford-lgl/") ,  and i see the
sentence "$(call TOSMake_include,lgl.extra)" in the Makerules in
tinyos-2.x-contrib/stanford-lgl/apps , so i think the compile tools will
search the directory which lgl.extra adds (???) , so the component of
CC2420CsmaC is in tinyos-2.x/tos/chips/cc2420/csma  is wired to the compoent
of CC2420CsmaP in tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma ,
not the component CC2420CsmaP  in tinyos-2.x/tos/chips/cc2420/csma . so the
error appears , because the interface of RadioBackoff in CC2420CsmaP  and
CC2420CsmaC  is not compatible , one is "provides interface
RadioBackoff[am_id_t amId]" and the other is "provides interface
RadioBackoff" .

  i don't know whether i omit some steps because i only export the LGLDIR .

  can you hellp me to check it ,  brano ? thank you very much !!


2008/6/11 Branislav Kusy <[EMAIL PROTECTED]>:

> hi jiwen,
>
> looking at the cvs head, CC2420CsmaP.nc provides interface RadioBackoff
> (
> http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc?revision=1.4
> )
>
> you may want to update your CVS.
>
> brano
>
> jiwen zhang wrote:
>
>> Hello brano :
>>      can you give me a way to solve my problem below ? thank you !!
>>
>> 2008/6/8 jiwen zhang <[EMAIL PROTECTED] <mailto:
>> [EMAIL PROTECTED]>>:
>>
>>    Hello brano :
>>         when i go to  the directory /apps/TestFTSP to compile it (for
>>    micaz platform), it give the error :
>> /home/Administrator/local2/src/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:54:
>>    no match
>>           i check the file CC2420CsmaC in tinyos-2.x/tos/chips/cc2420/csma
>>    and the file CC2420CsmaP in
>>    tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma , i find the
>>    interface RadioBackoff is not compatible , because in CC2420CsmaC :
>>    provides interface RadioBackoff;
>>    and in CC2420CsmaP  :
>>    provides interface RadioBackoff[am_id_t amId];
>>        so the error apppears .
>>        brano , How to solve the problem reasonablely?  because if i just
>>    change the interface in CC2420CsmaC  , that will effect other
>>    componets .
>>        thank you !!
>>
>>
>>
>>
>> --
>> zhang jiwen
>>
>


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

Reply via email to