Sorry for the first try, now hopefully as a member. Looks like the  
mailing list recognizes another mail server.

Hi all,
I?m trying to monitor the power consumption of my application with  
quanto (using a telosb based platform).
I use the QuantoLogStagedMyUARTC(QLOG_CONTINUOUS) logger, but modified  
it to use the normal SerialAMSenderC instead of MySerialSenderC. This  
modification was necessary, because the testbed I?m using only gives  
me access to AM messages and not to the raw UART stream.

My problem is, that I?m able to receive all the data (my prints+quanto  
AM messages), but the node doesn?t get any of my packets sent to it  
over the serial interface. Maybe some kind of congestion of the serial  
interface? Or an arbiter / shared access problem?
If I comment the whole quanto component in my application, then  
everything works fine. If I comment the lines with send commands only,  
quanto should not send anything, but the node still receives no  
packets over UART. Using QLOG_ONESHOT to reduce possible congestion  
also doesn?t help.

In the readme file at quanto\tos\lib\serial is written, that quanto  
maybe need exclusive access to the serial interface. Isn?t that a very  
large restriction of the usage of quanto?  Where this limitation comes  
from and where I have to look to fix that? Does this affect my app  
actually, because I?m not using the serial components of quanto? I  
already tried to delete all files in quanto\tos\lib\serial and  
quanto\tos\chips\msp430\usart, but without effect.


The relevant components I?m using in TestAppC:
components SerialActiveMessageC as SAM;
TestAppP.SerialControl -> SAM.SplitControl;
components new SerialAMSenderC(224) as SSend1; //my print packets
TestAppP.SSend1 -> SSend1;
components new SerialAMReceiverC(223) as Receiver;  //my control packets
TestAppP.Receive -> Receiver;
components new QuantoLogStagedMyUARTC(QLOG_ CONTINUOUS) as QLog;  
TestAppP.QuantoLog -> QLog;

Hoping for some help,
Best whishes

Tobi


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

Reply via email to