Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Conversation

amotl
Copy link
Contributor

@amotl amotl commented Feb 27, 2020

@larox11 found this when trying to send AT+CSIM commands longer than 500 bytes to the modem. As the buffer behind this method is only 127 bytes long and the strcmp was evaluated erroneous, this stopped users sending longer commands in several chunks.

See also #411.

@larox11 found this when trying to send AT+CSIM commands 
longer than 500 bytes to the modem. As the buffer behind this
method is only 127 bytes long and the strcmp was evaluated
erroneous, this stopped users sending longer commands in several
chunks.
Copy link
Contributor

@robert-hh robert-hh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is wrong, since the +++ sequence must not be followed by NL. After +++ no other bytes must follow for a certain time. As far as I recall, for one second. The only appropriate change would be to allow for longer messages. But that is a larger change, affecting the buffer handling.

@amotl
Copy link
Contributor Author

amotl commented Feb 27, 2020

Thanks, @robert-hh. I will retract this change and close the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants