Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atcom cannot connect to Telit modem #19

Open
mtbsteve opened this issue Feb 4, 2023 · 1 comment
Open

atcom cannot connect to Telit modem #19

mtbsteve opened this issue Feb 4, 2023 · 1 comment

Comments

@mtbsteve
Copy link

mtbsteve commented Feb 4, 2023

I installed atcom as described, however I cannot connect to the Telit modem. Any AT commands result in the same error.

pi@raspberrypilte:~ $ atcom --port /dev/ttyUSB2 -b 115200 AT
[ERR]   Couldn't open serial communication
pi@raspberrypilte:~ $ 

If I run the connection via minicom minicom -D /dev/ttyUSB2 -b 115200 , everything works.

RasperryPI Bullseye, Python 3.9.2 installed.

EDIT:
It found a connection at /dev/ttyUSB3. I accidentially tried USB2 since this is the right port address when I use minicom.
However, the the automatic port scan seems not to work as I always need to add the -p option.

@selengalp
Copy link
Contributor

atcom can not open the serial port when this port being already busy. Minicom or another app may be occupied this serial port. You can try to kill process occupying the ttyUSB2 and run atcom again without -p parameter.

@selengalp selengalp reopened this Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants