in reply to Sending commands and viewing replies from a serial-attached appliance

I don't have Device::SerialPort on my machine, but did you try different values for flow control? You said that the appliance expected no flow control, but you set the serial port in your script to RTS. Hopefully it's as simple as setting flow control in your script to "none".

Update: I installed Device::SerialPort and ran your script with minicom running on the other end of the cable and it worked as expected, so I'm going to stick with my guess that you have one of the communication parameters mismatched.

  • Comment on Re: Sending commands and viewing replies from a serial-attached appliance

Replies are listed 'Best First'.
Re: Re: Sending commands and viewing replies from a serial-attached appliance
by bgianardo (Initiate) on Jan 19, 2004 at 08:20 UTC
    You are certainly right: the software version I posted contained "rts" in order to match the Hyperterminal settings, but when I connected to the appliance I set the parameter to "none". And naturally it didn't work.

    I forgot to mention: I tried minicom to connect to the windows PC...it stays stuck to "Offline"

    Bruno