![]() There is no monitoring for Ethernet, Virtual Fibre Channel (VFC), or Fibre Channel over. I have this code as a serial port analyzer.where my this code becomes one end and the target the other and we can send command through my script and see the response.but what i want is a program where two other programs would be communicating through a serial port and my program can monitor it.so basically i want to read a serial port which is already open by some other port.is this possible in python. Note: Currently, as of NX-OS 8.3(1) port-monitor only monitors FC ports. SerialPort1.write(str(raw_input('enter a letter'))) Checks to see if there is any data waiting in the buffer When data has arrived, transfer the data to the variable serialString Print the value of serialString Write a string back to the device that sent the data informing it that we received the string. SerialPort1 = MySerialPort(DEFAULT_COM_PORT,0,DEFAULT_BAUD_RATE) I have a PC Software (OS: Win 64bit) that communicates with a machine via physical serial port RS232 and I want to make a sniffer. Com Port Sniffer Windows Python Code Is An The next piece of code is an infinite loop, which does a few things. Therefore I would suggest to try Serial Port Monitor. Self.tty = SerialPort(port, timeout, baud) Serial Port Sniffers install a special driver that help to intercept all data exchange. ![]() ![]() #initialize and configure serial port class
0 Comments
Leave a Reply. |