Hi,
the node should receive all packets and that are sent on the same channel and 
try to show(calculate the utilzation)) when someone is sending(from start to 
end of the packet)
The appl is not for sending a packet and show how long it takes.

Regards
Ibrahim

>>> "Arik" <[email protected]> 2009-10-28 12:15 >>>
Hi,

How about turning a LED on when you send and turning it off when the send is
done?

Example:

...

if (call AMSend.send(TxMacAddress, &Pkt, sizeof(Msg)) == SUCCESS)
{
        RadioIsBusy = TRUE;
      call Leds.set(CHANEL_IS_BUSY);
}//if message was sent                  

...

event void AMSend.sendDone(message_t *msg, error_t error)
{
   ...
   call Leds.set(CHANEL_IS_NOT_BUSY);
}//AMSend.sendDone


Arik



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Ibrahim
Orhan
Sent: Wednesday, October 28, 2009 12:49
To: [email protected] 
Subject: [Tinyos-help] Is it possibele to see when the Radio channel is used

Hi,
I would like to, by using a LED, show when some nodes are sending a
packet (does not to be designated to the specific node) and the LED
should turn off when it has finished sending a packet. 
A kind of utilization application off the usage of the radio channel.
What I*m looking for is to see (calculate) how much *load* where
is on a specific radio channel.
Could the energy indicator(or other?) be used for this? Is there any
examples using this component.
I*m using telosb and TinyOS 2.1.
 
Thanks in advance.
Regards
Ibrahim

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



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

Reply via email to