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

Instant timeout exception #97

Open
nompaixg06 opened this issue Sep 3, 2021 · 0 comments
Open

Instant timeout exception #97

nompaixg06 opened this issue Sep 3, 2021 · 0 comments

Comments

@nompaixg06
Copy link

Hello, when trying to run sms_handler.py i get a timeout exception almost instantely. I would appreciate some help

INFO: Connecting to modem on port COM5 at 19200bps
Initializing modem...
DEBUG: write: ATZ
Traceback (most recent call last):
File "C:\Users\nompa\Desktop\DEVELOPMENT\PYTHON\PDCAFDLSK\sms.py", line 37, in
main()
File "C:\Users\nompa\Desktop\DEVELOPMENT\PYTHON\PDCAFDLSK\sms.py", line 29, in main
modem.connect()
File "C:\Users\nompa\Desktop\DEVELOPMENT\PYTHON\PDCAFDLSK\venv\lib\site-packages\gsmmodem\modem.py", line 210, in connect
self.write('ATZ') # reset configuration
File "C:\Users\nompa\Desktop\DEVELOPMENT\PYTHON\PDCAFDLSK\venv\lib\site-packages\gsmmodem\modem.py", line 458, in write
responseLines = super(GsmModem, self).write(data + writeTerm, waitForResponse=waitForResponse, timeout=timeout, expectedResponseTermSeq=expectedResponseTermSeq)
File "C:\Users\nompa\Desktop\DEVELOPMENT\PYTHON\PDCAFDLSK\venv\lib\site-packages\gsmmodem\serial_comms.py", line 144, in write
raise TimeoutException()
gsmmodem.exceptions.TimeoutException: None

thank you in advance for your help

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

1 participant