Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/02/05 01:17
Read: times


 
#98650 - think...
Responding to: ???'s previous message
Daegeun Lee said:
When I connect serial cable between PC and 8051, PC send some signals to 8051 for telling connection? So, how 8051 know disconnection?

In the simplest case, you cannot tell!

Therefore, you need to add some means of identifying disconnection.

You could have some sort of "keepalive" signal - when the "keepalive" stops, the link has been broken.

Or you could use (some of) the RS232 handshaking pins...



List of 5 messages in thread
TopicAuthorDate
How to know the time when connect serial            01/01/70 00:00      
   think...            01/01/70 00:00      
   a question            01/01/70 00:00      
      Thanks all            01/01/70 00:00      
         Please post the solution, someone might            01/01/70 00:00      

Back to Subject List