Hi,

I have Tinyos-2.1  and Python 2.5.1 .
I don't know if Ptossim2 is compatible with tinyos-2.1 and Python 2.5.1.

So, I donwloaded  the tinyos-2.x-contrib/cedt from CVS.
I followed the  PTOSSIM installation instructions.
But when I type " make mica2 sim-energy"  in order to simulate TestMCU
application.
I find many errors related to
/opt/tinyos-2.x-contrib/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:
372 : nx_struct has no member named 'ack'
/opt/tinyos-2.x-contrib/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:671:
conflincting types for 'Packet.getPoyload'
/opt/tinyos-2.x/tos/interfaces/Packet.nc:115: previous declaration of
'Packet.getPayload'
/opt/tinyos-2.x-contrib/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:688:
'getPayload' is not in interface 'Receive'
/opt/tinyos-2.x-contrib/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:'getPayloadLength'
is not in interface'Receive'
/opt/tinyos-2.x-contrib/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:700:
conflicting types for 'Send.getPayload'
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:91no match
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:105: cannot find
'CC1000Squelch'


The problem is related to CC1000SendReceiveP and  CC1000CsmaRadioC.

It compiles succesfully "make micaz sim".

How can I resolve it ?
Thanks,


2009/12/31 Viktor Zsoldos <[email protected]>

> Hi,
>
> You were correct, the powertossim2 is there, just read the README. You
> will need tinyos 2.02, and python 2.4 to make it work.
>
> Good luck,
> Viktor
>
> wafa jaballah wrote:
> > Hi,
> >
> > In order to estimate energy consumption in tinyos-2.x, I want to use
> > PowerTossim 2.
> > under  *//tinyos-2.x-contrib/cedt//* but I don't find it.
> > Is there an available link to donwload PowerTossim2?
> >
> > Thanks,
> >
> >
> > --
> > Wafa Ben Jaballah
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>


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

Reply via email to