Hi Christian
Perfect! It works now. And it will not go to receive more after 
transmission.
But there is still a question; According to the signal value in image 
below, it sounds that the sender will listen to the channel to check 
whether it is free or not. It senses career first, and then send the 
packets. Is it the reason of this signal's behavior? If yes, can we 
reduce the time interval of listening to channel before transmission?
https://www.dropbox.com/s/9bwa4quu68z7561/wave2.bmp

Thanks again
Farzad


On 04.02.2013 15:41, Christian Haas wrote:
> On 02/04/2013 03:05 PM, Farzad Samie wrote:
>> Hello
>> I'm trying to measure the radio module power (in send/receive state). My
>> platform is telosb (tinyos2.x and radio module is cc2420). I use low
>> power listening  interface.
>>
>> I have two nodes: The first one is just a sender; it should only send
>> packet and doesn't need to receive any thing.
>>
>> I've set the transmission power to lowest level on sender, transmit 2
>> packets per second periodically. So according to datasheet, I expect it
>> to consume about 9mA for a short period and then goes to sleep mode and
>> consumes about a few uA. But after sending these 2 packets, it spends
>> more time (~100ms) in receive mode (consuming about 20mA).
>
> 100ms is the default delay after receive parameter as defined in Lpl.h,
> so this is just the way LPL works. You can change the value to 0 for
> both nodes, but be careful within bigger networks where a higher delay
> after receive value might improve the overall network performance.
>
> Regards,
>   Christian
>
>
>

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

Reply via email to