Pyserial problem

Barry barry at barrys-emacs.org
Thu Dec 22 12:37:25 EST 2022



> On 22 Dec 2022, at 17:09, Patrick EGLOFF <pegloff at 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 at gmail.com
> Web page : http://www.egloff.eu
> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 



More information about the Python-list mailing list