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

I'm gettign Timout expcetion often, should I close modem and serial for each command or keep it open ? my app sould be run 24h/24 7d/7 #58

Open
abdoutech93 opened this issue Dec 22, 2024 · 3 comments

Comments

@abdoutech93
Copy link

my app sould be run 24h/24 7d/7
I'm gettign Timout expcetion often, should I close modem and serial for each command or keep it open ?

@ferberus
Copy link

ferberus commented Dec 23, 2024

I think in order to receive SMS messages, the serial port must be open. It would be nice if the application had a service to periodically check the availability of the serial port.

I got the same error several times, but I can't pinpoint the specific timeout issue. I tried sending AT commands using SerialPort.Write() (without ATLib) and it works fine.

@hbjorgo
Copy link
Owner

hbjorgo commented Dec 23, 2024

You should not need to close the modem connection between commands.
What modem do you use? Does it happen after a certain command?

@abdoutech93
Copy link
Author

Modem : Fona
USB : Huawei e303

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

3 participants