Wednesday, July 13, 2011

Handshake mechanism between C Server and Android code:
C server forms the intermediate link between the Arduino and Android. Therefore when either the server quits or the Android app quits, the other has to be informed that the connectivity is lost. This has been done using handshake mechanism, if server quits, then it informs the Android app that connectivity is lost and vice versa. However since the link between the Arduinos is still intact, communication is made to the BoeBot , to stop the  and switch off the headlights.