Hi,
I tried to detect, whether a mote is connected to a PC or not. Therefor
I used the component UartDetectC and the interface Detect, which offers
the command isConnected() to determinine if a mote is connected to the
UART as well as the events connected() and disconnect() to signal if the
mote
UartDetectC is a connection based protocol, which means the PC must
send messages to the mote and establish a connection for the
isConnected() function to return true.
I believe that you are looking for UartPresenceC, which tells you if
the mote is connected to the PC but does not guarantee that
uot;TinyOs Help List"
Sent: Thursday, December 21, 2006 5:04 PM
Subject: Re: [Tinyos-help] Problem with UartDetectC
> UartDetectC is a connection based protocol, which means the PC must
> send messages to the mote and establish a connection for the
> isConnected() function to return true.
&