[Tinyos-help] cutdown power consumption

2006-01-18 Thread fiasco
Hi all, I am developing a small application. The mote does not take any action until it recevies a command message. Thus the mote radio should be in a Listening state. To cutdown the power consumption, I have - called HPLPowerManagementM.Enable(); - turned all Leds off, or used NoLeds

Re: [Tinyos-help] Send failed

2006-01-16 Thread fiasco
I have also met this before. Should we avoid the overruning of radio code in application level? Cann't the radio code be reentried? fiascoo On 1/16/06, Michael Schippling [EMAIL PROTECTED] wrote: Are you waiting to get a sendDone() before doing a new send()? You may be overrunning the radio

[Tinyos-help] why does BCast fail to broadcast message?

2006-01-13 Thread fiasco
Hi all, I am trying to implement a small application which is most like surge. I have just added a new cmd type, SURGE_TYPE_PAGING, and added the processing code in event TOS_MsgPtr Bcast.receive(TOS_MsgPtr pMsg, void* payload, uint16_t payloadLen) . When the motes receive SURGE_TYPE_PAGING cmd,