C# Sending Data over serial port between 2 PC using own Protocol
<p>i have a assignment where i need to load some data like user(pouzivatel) and some int(stav odberu) through link modem with serial port and store it in my local database. I know how to load data, send data over serial port, but i need to make it happen in a structure on the image. <a href="http://i.stack.imgur.com/L3trZ.jpg" rel="nofollow">http://i.stack.imgur.com/L3trZ.jpg</a></p>

<p>First i dial telephone number of the device with AT command, btw this is working, but i dont know now how to stop and wait for SOH+adresa objektu (SOH+some string about adress). Then send data about confirmation (ACK) and wait for new data to come. </p>

<p>The wait sequence is my biggest problem. How do i stop and wait for data being received. So please help me with that. Sorry for my bad english.</p>
