Hi Giri,
thanks for your reply! I still can't get it working, though... Do you know
where the powermanagement Enable() is called if I don't define
FEATURE_UART_SEND? I'm observing constant ~25mA consumption, wiht
occasional spikes over that (using a scope over a 1ohm series resistor in
power line). There are some ~200us spikes downwards (to ~10mA) after each
transmit (as one would expect, because there are calls to PowerMgrEnable()
in the SendDone events).
BTW, contrib/ucb/apps/CounRadio/CountSleepC goes into power saving nicely.
I'd be very grateful for any further clues!
Regards,
Harri
At 11:04 AM 12/15/2005 -0800, Mudlagiri Baleri wrote:
Hello Harri,
It is correct that XMesh apps use power saving by default.
FEATURE_UART_SEND should be defined only if you want to debug the
application and have the packet sent to UART for data collection.
PowerMgrEnable() is called by XMesh by default.
To put the mote into sleep mode, just remove the "#define
FEATURE_UART_SEND = 1" in your makefile.
Giri
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harri
Siirtola
Sent: Thursday, December 15, 2005 2:50 AM
To: [email protected]
Subject: [Tinyos-help] XMTS310 not sleeping?
Hi,
I've understood that the XMesh apps use power saving by default. After
studying the sources, I noticed that I should "#define FEATURE_UART_SEND
= 1" (and program with ID other than 0) to include the parts that call
PowerMgrEnable(). I did, but observing the current consumption shows it
won't go into power save. What am I doing wrong?
(Platform = MicaZ)
Thanks in advance,
Harri
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel
p
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help