Mudlagiri Baleri escribió:

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

Hi,
I 'm working with micaz and mts310, I have installed application ..\opt\tinyos-1.x\contrib\xbow\apps\XMesh\XMTS310 compile with "make micaz MESH=LPZ FREQ=2420" and my application lasts 3 days. I see your e_mail, but I don't have "# define FEATURE_UART_SEND = 1" in my makefile. I have in appFeatures;
               #ifndef FEATURE_UART_SEND
               #define FEATURE_UART_SEND   0
               #endif

this good?
have you installed the application in motes and proven that they use power saving by default ? I changed in file appFeatures XSENSOR_SAMPLE_RATE so that it gathers data every hour, but my mote has always the same lifetime.
My mote doesn't sleep.
thanks in advance,

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

Reply via email to