Skip to content

Comments

Remove trailing \r at the end of SMS#34

Open
dj4ngo wants to merge 1 commit intoerdemarslan:masterfrom
dj4ngo:patch-1
Open

Remove trailing \r at the end of SMS#34
dj4ngo wants to merge 1 commit intoerdemarslan:masterfrom
dj4ngo:patch-1

Conversation

@dj4ngo
Copy link

@dj4ngo dj4ngo commented Nov 30, 2020

(char)26 of ctrl+Z is terminating the SMS.

Adding a \r is send inside the SMS itself so the message finish with a newline that was not in the original string passed to send function.

I think it's more relevant to remove this line to let the user sending the exact message he needs to.

*This has been tested on my SIM800c.

(char)26 of ctrl+Z is terminating the SMS.

Adding a \r is send inside the SMS itself so the message finish with a newline that was not in the original string passed to send function.

I think it's more relevant to remove this line to let the user sending the exact message he needs to.

*This has been tested on my SIM800c.
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

Successfully merging this pull request may close these issues.

1 participant