Add options to configure serial flow control#118
Open
jaydenpung wants to merge 2 commits intobabca:masterfrom
Open
Add options to configure serial flow control#118jaydenpung wants to merge 2 commits intobabca:masterfrom
jaydenpung wants to merge 2 commits intobabca:masterfrom
Conversation
This was referenced Apr 24, 2025
67a2b8f to
392d090
Compare
|
I'm using an A7670G modem, but I still get a timeout exception: File "D:\software\python38\Lib\site-packages\gsmmodem\modem.py", line 952, in sendSms |
|
Sorry, this is my problem. My moderator does not send receipt information in some cases. So it will always block. When I no longer request receipt information, there will be no timeout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I encountered an issue when using this library for SIM800. When connecting with putty it works but not with the library. It appears putty default the serial flow control to xonxoff

When we set up the serial, we need to set the
xonxoffto true andrtscts,dsrstrto false. This PR change would allow you to use it like this:This is a known issue and had been raised before:
#102
#94
I suspect this repo is no longer maintained. For anyone interested, I have published to pypi and you can use them:
or add to requirements.txt