Telnet to device using Python
I am trying to send a series of commands and read responses from a Microprocessor using and Telnet connection. The commands are sent to the microprocessor through a ethernet to serial connection passing through a Lantronix XPort (XP1001000-05R). The command I am using to test if the connection is working is *idn?, when sent using PuTTY the response is:
Using Python to send Telnet commands to a Lantronix Device
I’m trying to send Telnet commands to a device over ethernet connection to a Lantronix device (XPORT AR – XP3002000-01R). I’ve tried to use the socket library for python but it doesn’t seem to be responding.