


close the connection because we have written/read our dataĬonsole.WriteLine("Waiting for the DTR line to go low.") Ĭonsole.WriteLine("Waiting for the RTS line to go low. Table C-1 lists the pinouts for the asynchronous serial console port. we are using a null modem cable, so RTS/CTS is switchedĬonsole.WriteLine("Waiting for the RTS line to go high.") probally should timeout instead of infinite waitĬonsole.WriteLine("Waiting for the DTR line to go high.") Starting with Cisco IOS XE Release 3.14, all 6 bays on the router are. we are using a null modem cable, so DTR/DSR is switched Why would I never get DsrHolding (null modem cable, so DTR high from camera) to become true within my code? static void Main(string args)
Cisco Serial Dcd Dsr Dtr Rts Cts code#
I am sure the problem is with the code though. I would expect the following C# code to work, but I am not getting any response back (low to high) from the camera I am trying to interact with. I am using a NULL modem cable with the TX/RX and all the handshake pins swapped (verified). The documentation for interacting with the device is described here. I am trying to communicate with a device using C#/.NET's SerialPort class. DCDup DSRup DTRdown RTSdown CTSup router2sh int s0/0 Serial0/0 is down, line protocol is down Hardware is PowerQUICC Serial Description: wan connection1 Internet address is 10.10.10.2/ bytes, BW 1544 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, LCP Closed, loopback not set.
