• Pyserial problem

    From Patrick EGLOFF@21:1/5 to All on Thu Dec 22 12:01:44 2022
    Hi all,

    I use Python 3.10.9 and Pyserial 3.5 on a Win10 machine.

    I'm sending datas via an USB port to a device that accept commands in the
    form of : cmd;
    The device receives and reacts to the commands sent, and it should reply
    with an ACK of the same kind.

    But looking with a COM port sniffer, nothing is sent back.

    I checked that everything is working with PUTTY and even MINITERM, and everything is just fine, the device is responding correctly.

    I have set the flow control to different values, as well as setting the RTS
    and DTR high or low with no change.
    Normally, the device works without any flow control, and CTS + DTR high.

    I checked with MINITERM, that the flow control and control lines have the
    same state.

    I'm a bit surprised and stucked.
    Can someone help ?
    Thanks,
    --
    Patrick Egloff
    email : pegloff@gmail.com
    Web page : http://www.egloff.eu

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Barry@21:1/5 to All on Thu Dec 22 17:37:25 2022
    On 22 Dec 2022, at 17:09, Patrick EGLOFF <pegloff@gmail.com> wrote:

    Hi all,

    I use Python 3.10.9 and Pyserial 3.5 on a Win10 machine.

    I'm sending datas via an USB port to a device that accept commands in the form of : cmd;
    The device receives and reacts to the commands sent, and it should reply
    with an ACK of the same kind.

    But looking with a COM port sniffer, nothing is sent back.

    I checked that everything is working with PUTTY and even MINITERM, and everything is just fine, the device is responding correctly.

    I have set the flow control to different values, as well as setting the RTS and DTR high or low with no change.
    Normally, the device works without any flow control, and CTS + DTR high.

    I checked with MINITERM, that the flow control and control lines have the same state.

    I'm a bit surprised and stucked.
    Can someone help ?

    Please post tour code that you are using to talk to the device.

    Barry

    Thanks,
    --
    Patrick Egloff
    email : pegloff@gmail.com
    Web page : http://www.egloff.eu
    --
    https://mail.python.org/mailman/listinfo/python-list


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)