SV: [Tinyos-help] Questions on NetSync and lowpower
Jörgen Johansson
Jorgen.Johansson at saab.se
Wed Jun 21 23:27:56 PDT 2006
Hi Joe,
When I don´t compile with "LOWPOWER" I don´t get GlobalTime.isValid() = TRUE, why?
How can I get both synchronization and full bandwith on the radio?
How can I switch between LOWPOWER and HIGHPOWER in realtime. I need the full bandwidth about one hour a day. The reset of the time I will run the Tmote in low power mode.
Best Regards
Jörgen Johansson
-----Ursprungligt meddelande-----
Från: tinyos-help-bounces at Millennium.Berkeley.EDU [mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] För Joe Polastre
Skickat: den 21 juni 2006 17:39
Till: Henric Kärnhall
Kopia: tinyos-help at Millennium.Berkeley.EDU
Ämne: Re: [Tinyos-help] Questions on NetSync and lowpower
Hi Henric,
The UART is always on, even in low power, if the node is connected to
a base station. The radio is only on when NetSync defines the global
periods.
-Joe
On 6/21/06, Henric Kärnhall <henka707 at student.liu.se> wrote:
> Hi
>
> Thanks Joe for your answer on my last question.
>
> I have a few more questions on NetSync and about the lowpower flag to
> make.
>
> I want to use NetSync to get the GlobalTime. But to use NetSync I have
> to use the lowpower flag to make, correct? (e.g. make tmoteinvent MyApp
> lowpower). And by using the lowpower mode things doesn’t work as I
> would like to. For example the UART and radio is only enabled a short
> time period every two second.
>
> To get the UART up and running I did like this:
>
> call Timer.start(TIMER_REPEAT, 50);
>
> ...
>
> event result_t Timer.fired(){
> if(call HPLUSARTControl.isUART() == FALSE)
> call HPLUSARTControl.enableUART();
> }
>
> Is that ok? Or a bad idea?
>
> How can I get my network synchronized (with for example NetSync) but at
> the same time have full speed radio communication? And how do I switch
> between lowpower and full speed in runtime?
>
> Best regards,
> Henric
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list