[Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Ole Bischoff
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

Re: [Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Joe Polastre
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

Re: [Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Ole Bischoff
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. &