[Tinyos-help] CTP with LPL Integration

2012-09-05 Thread Gustavo Zanatta Bruno
Guys, I'm having problems implement a program that uses the CTP (Collection
Tree Protocol) with LPL (Low Power Listening) in Micaz, gives an error when
calling the setLocalSleelpInterval, says he does not think the method. If
anyone has any examples I am very grateful.

-- 
*Graciously*
*Gustavo Zanatta Bruno*
*Masters Student*
Fluminense Federal University
Rio, Brazil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CTP with LPL Integration

2012-09-10 Thread Gustavo Zanatta Bruno
Guys, I'm having problems implement a program that uses the CTP (Collection
Tree Protocol) with LPL (Low Power Listening), gives an error when calling
the setLocalSleelpInterval, says he does not think the method. If anyone
has any examples I am very grateful.

-- 
*Graciously*
*Gustavo Zanatta Bruno*
*Masters Student*
Fluminense Federal University
Rio, Brazil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CTP with LPL Integration

2012-09-06 Thread Omprakash Gnawali
Please try apps/tests/TestNetworkLpl

- om_p

On Wed, Sep 5, 2012 at 3:56 PM, Gustavo Zanatta Bruno  wrote:
> Guys, I'm having problems implement a program that uses the CTP (Collection
> Tree Protocol) with LPL (Low Power Listening) in Micaz, gives an error when
> calling the setLocalSleelpInterval, says he does not think the method. If
> anyone has any examples I am very grateful.
>
> --
> Graciously
> Gustavo Zanatta Bruno
> Masters Student
> Fluminense Federal University
> Rio, Brazil
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] CTP with LPL Integration

2012-09-06 Thread Gustavo Zanatta Bruno
*Thanks for your reply, but this example does not have the call to the
function setLocalSleepInterval, and if I try to implement it, look at the
output I got:*
*
*
zanatta@zanatta-desktop:~/workspace/Thermal_Management/MultihopSensing/trunk/src$
SENSORBOARD=mda100 make micaz
mkdir -p build/micaz
compiling MultihopOscilloscopeAppC to a micaz binary
ncc -o build/micaz/main.exe  -Os -DCC2420_DEF_CHANNEL=26
-DRF230_DEF_CHANNEL=26 -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=mda100
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=10
-Ibuild/micaz -I/opt/tinyos-2.1.2/tos/lib/net/
-I/opt/tinyos-2.1.2/tos/lib/net/ctp  -I/opt/tinyos-2.1.2/tos/lib/net/4bitle
 -DLOW_POWER_LISTENING -DIDENT_APPNAME=\"MultihopOscillo\"
-DIDENT_USERNAME=\"zanatta\" -DIDENT_HOSTNAME=\"zanatta-desktop\"
-DIDENT_USERHASH=0x97b93e9eL -DIDENT_TIMESTAMP=0x5048cb80L
-DIDENT_UIDHASH=0x408cad8aL -DDELUGE -I/opt/tinyos-2.1.2/tos/lib/net
-I/opt/tinyos-2.1.2/tos/lib/net/drip -I/opt/tinyos-2.1.2/tos/lib/net/Deluge
-I/opt/tinyos-2.1.2/tos/lib/net/Deluge/FlashVolumeManager
-I/opt/tinyos-2.1.2/tos/lib/net/Deluge/BlockStorageManager
-I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra
-I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra/avr
-I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra/micaz
-I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra/mica2 -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/micaz/wiring-check.xml MultihopOscilloscopeAppC.nc
-lm
In file included from MultihopOscilloscopeAppC.nc:22:
In component `MultihopOscilloscopeC':
MultihopOscilloscopeC.nc: In function `SerialControl.startDone':
MultihopOscilloscopeC.nc:132: interface has no command or event named
`setSleepInterval'
MultihopOscilloscopeC.nc:145: interface has no command or event named
`setLocalSleepInterval'
MultihopOscilloscopeC.nc:149: interface has no command or event named
`setLocalSleepInterval'
/opt/tinyos-2.1.2/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning:
#warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***"
make: ** [exe0] Erro 1
zanatta@zanatta-desktop
:~/workspace/Thermal_Management/MultihopSensing/trunk/src$

*I have little time working with it, sorry for my ignorance, is that I have
to develop a network for collecting temperature here with lifetime greater
than 1 month, and mine is being kept alive about a week.*

2012/9/6 Omprakash Gnawali 

> Please try apps/tests/TestNetworkLpl
>
> - om_p
>
> On Wed, Sep 5, 2012 at 3:56 PM, Gustavo Zanatta Bruno 
> wrote:
> > Guys, I'm having problems implement a program that uses the CTP
> (Collection
> > Tree Protocol) with LPL (Low Power Listening) in Micaz, gives an error
> when
> > calling the setLocalSleelpInterval, says he does not think the method. If
> > anyone has any examples I am very grateful.
> >
> > --
> > Graciously
> > Gustavo Zanatta Bruno
> > Masters Student
> > Fluminense Federal University
> > Rio, Brazil
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>


-- 
*Atenciosamente:*
*Gustavo Zanatta Bruno*
Mestrando em Ciência da Computação
Pesquisador Laboratório Tempo Sistemas de Tempo Real e Embarcados
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CTP with LPL Integration

2012-09-06 Thread Gustavo Zanatta Bruno
In testnetworklpl were all my answer after doing some experiments with more
carefully.
Thanks OM

2012/9/6 Gustavo Zanatta Bruno 

> *Thanks for your reply, but this example does not have the call to the
> function setLocalSleepInterval, and if I try to implement it, look at the
> output I got:*
> *
> *
> zanatta@zanatta-desktop:~/workspace/Thermal_Management/MultihopSensing/trunk/src$
> SENSORBOARD=mda100 make micaz
> mkdir -p build/micaz
> compiling MultihopOscilloscopeAppC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -DCC2420_DEF_CHANNEL=26
> -DRF230_DEF_CHANNEL=26 -fnesc-separator=__ -Wall -Wshadow -Wnesc-all
> -target=micaz -fnesc-cfile=build/micaz/app.c -board=mda100
> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=10
> -Ibuild/micaz -I/opt/tinyos-2.1.2/tos/lib/net/
> -I/opt/tinyos-2.1.2/tos/lib/net/ctp  -I/opt/tinyos-2.1.2/tos/lib/net/4bitle
>  -DLOW_POWER_LISTENING -DIDENT_APPNAME=\"MultihopOscillo\"
> -DIDENT_USERNAME=\"zanatta\" -DIDENT_HOSTNAME=\"zanatta-desktop\"
> -DIDENT_USERHASH=0x97b93e9eL -DIDENT_TIMESTAMP=0x5048cb80L
> -DIDENT_UIDHASH=0x408cad8aL -DDELUGE -I/opt/tinyos-2.1.2/tos/lib/net
> -I/opt/tinyos-2.1.2/tos/lib/net/drip -I/opt/tinyos-2.1.2/tos/lib/net/Deluge
> -I/opt/tinyos-2.1.2/tos/lib/net/Deluge/FlashVolumeManager
> -I/opt/tinyos-2.1.2/tos/lib/net/Deluge/BlockStorageManager
> -I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra
> -I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra/avr
> -I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra/micaz
> -I/opt/tinyos-2.1.2/tos/lib/net/Deluge/extra/mica2 -fnesc-dump=wiring
> -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referenced(interfacedefs, components)'
> -fnesc-dumpfile=build/micaz/wiring-check.xml MultihopOscilloscopeAppC.nc
> -lm
> In file included from MultihopOscilloscopeAppC.nc:22:
> In component `MultihopOscilloscopeC':
> MultihopOscilloscopeC.nc: In function `SerialControl.startDone':
> MultihopOscilloscopeC.nc:132: interface has no command or event named
> `setSleepInterval'
> MultihopOscilloscopeC.nc:145: interface has no command or event named
> `setLocalSleepInterval'
> MultihopOscilloscopeC.nc:149: interface has no command or event named
> `setLocalSleepInterval'
> /opt/tinyos-2.1.2/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning:
> #warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***"
> make: ** [exe0] Erro 1
> zanatta@zanatta-desktop
> :~/workspace/Thermal_Management/MultihopSensing/trunk/src$
>
> *I have little time working with it, sorry for my ignorance, is that I
> have to develop a network for collecting temperature here with lifetime
> greater than 1 month, and mine is being kept alive about a week.*
>
> 2012/9/6 Omprakash Gnawali 
>
>> Please try apps/tests/TestNetworkLpl
>>
>> - om_p
>>
>> On Wed, Sep 5, 2012 at 3:56 PM, Gustavo Zanatta Bruno 
>> wrote:
>> > Guys, I'm having problems implement a program that uses the CTP
>> (Collection
>> > Tree Protocol) with LPL (Low Power Listening) in Micaz, gives an error
>> when
>> > calling the setLocalSleelpInterval, says he does not think the method.
>> If
>> > anyone has any examples I am very grateful.
>> >
>> > --
>> > Graciously
>> > Gustavo Zanatta Bruno
>> > Masters Student
>> > Fluminense Federal University
>> > Rio, Brazil
>> >
>> > ___
>> > Tinyos-help mailing list
>> > Tinyos-help@millennium.berkeley.edu
>> >
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>>
>
>
> --
> *Atenciosamente:*
> *Gustavo Zanatta Bruno*
> Mestrando em Ciência da Computação
> Pesquisador Laboratório Tempo Sistemas de Tempo Real e Embarcados
>
>


-- 
*Atenciosamente:*
*Gustavo Zanatta Bruno*
Mestrando em Ciência da Computação
Pesquisador Laboratório Tempo Sistemas de Tempo Real e Embarcados
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CTP with LPL Integration

2012-09-11 Thread Omprakash Gnawali
Please look at apps/tests/TestNetworkLpl for an example.

- om_p

On Wed, Sep 5, 2012 at 12:07 PM, Gustavo Zanatta Bruno
 wrote:
> Guys, I'm having problems implement a program that uses the CTP (Collection
> Tree Protocol) with LPL (Low Power Listening), gives an error when calling
> the setLocalSleelpInterval, says he does not think the method. If anyone has
> any examples I am very grateful.
>
> --
> Graciously
> Gustavo Zanatta Bruno
> Masters Student
> Fluminense Federal University
> Rio, Brazil
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help