Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"In matrimony, to hesitate is sometimes to be saved." -- Butler


devel / comp.lang.python / Pyserial problem

SubjectAuthor
o Pyserial problemPatrick EGLOFF

1
Pyserial problem

<mailman.1301.1671728564.20444.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=25281&group=comp.lang.python#25281

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: pegloff@gmail.com (Patrick EGLOFF)
Newsgroups: comp.lang.python
Subject: Pyserial problem
Date: Thu, 22 Dec 2022 12:01:44 +0100
Lines: 28
Message-ID: <mailman.1301.1671728564.20444.python-list@python.org>
References: <CA+Q=BomOwwTSXJCv5XXaB9O-ZKJM44hjNBB=vBEK0wkU4iqVpA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de U8X2wYtxha6GX+rgP/tgFwnWNUsoqgEAzY3eJKJrqHHA==
Return-Path: <pegloff@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=WwPIzKhs;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: UNSURE 0.210
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.59; '*S*': 0.01; 'subject:problem': 0.03;
'ack': 0.16; 'machine.': 0.16; 'sent,': 0.16; 'values,': 0.16;
'python': 0.16; 'to:addr:python-list': 0.20; 'all,': 0.20;
'lines': 0.23; 'port': 0.26; 'bit': 0.27; 'flow': 0.31; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33; 'someone':
0.34; 'same': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'thanks,': 0.36; 'received:209.85':
0.37; '8bit%:14': 0.38; 'received:209': 0.39; 'sending': 0.39;
'setting': 0.39; 'use': 0.39; 'should': 0.40; 'email
addr:gmail.com': 0.63; 'email': 0.63; 'everything': 0.63;
'patrick': 0.64; 'well': 0.65; 'accept': 0.67; 'change.': 0.69;
'control,': 0.69; 'responding': 0.69; 'low': 0.74; 'reply': 0.77;
'surprised': 0.84; 'receives': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=zSyACs57eIiB1FFxHp5NZThShehoZS6NBUbZZMqbTjE=;
b=WwPIzKhs0o8fp+HWbFylBvkvRaxK5Xwqmxo0HgX0bofCf4kzqIt5XQFGQ3fvSsL+BS
hLBM7r9Mg9XBnHEaAuc2SEZ4bNw4FP0Q9jYqz9f1xgO358VuWWAshV0R0p+bdamBGF8m
iBA0HgWbMpVvJzlbSOQmp/sFnjJgN8kvnu4ZNPIt5i+GLX+GlG+8ipQ3cTs7JnpWsbJ6
itLV+FF588I8BfdDig//GDV/Wx5ZFazwZhsKoRDXUKtVnqKg6KcdBzbSTYlrPZF0pX5k
hCodtP4ShXQfucJbA4OtxccgkZqsErSEc0wibhAK5trf/41ldoMeMdCUCy59qe43OB/f
R5Mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=zSyACs57eIiB1FFxHp5NZThShehoZS6NBUbZZMqbTjE=;
b=aPEjUENkQClf1DCb4yDBwXLusdejvPdYbVw/6pucSFRMOpFqMgnVTcoPx8ISIEp5Pl
peoNS3Al8PJJU2e7EF0d3QrnPXQd0lVKQMEjnYFfXUt6K3hBjajXlaEWMXwMeWD98abs
OIw2Yokp8V191oTKn5hPM4R7e/mRbQoHURL+gFuw469baboo8nUUHl412faTD4oaUOJv
JVJZud6h65IESYg5eiObWl6sA/DZ3nT9wGYFTWrI5sWIcUDXJnDkl0py43ImQHcu+jUP
bZoWa+bTnHiTfF4omLloGp7JJmfXlX6c+kXy4Jss0bzXeF24g7vvlT2r/snRCfmQrQBQ
hNBw==
X-Gm-Message-State: AFqh2kroiUkdrTenl5riUUGul+6fJo3EBCk+SXoN2GaGEIUxWHhjxSRk
NuKLDW9lmZlitwxRarGjVaVNsfBUEisEC7tuEWWw5IL7
X-Google-Smtp-Source: AMrXdXvfdbhdJLPKR0gK1uYecLaayA5Z6BmFX0Y8p+AxozD2Hogris+9gDr5NtKr7W6Lrr9NZrHKmI739O8SPS87NIQ=
X-Received: by 2002:ac2:4468:0:b0:4bc:268e:2b18 with SMTP id
y8-20020ac24468000000b004bc268e2b18mr250619lfl.176.1671706915486; Thu, 22 Dec
2022 03:01:55 -0800 (PST)
X-Mailman-Approved-At: Thu, 22 Dec 2022 12:02:42 -0500
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CA+Q=BomOwwTSXJCv5XXaB9O-ZKJM44hjNBB=vBEK0wkU4iqVpA@mail.gmail.com>
 by: Patrick EGLOFF - Thu, 22 Dec 2022 11:01 UTC

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


devel / comp.lang.python / Pyserial problem

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor