Skip to content

Remove annoying error thrown by parseTextMessageResult #1#4

Open
faanskit wants to merge 1 commit intostasel:masterfrom
faanskit:send-sms-patch-1
Open

Remove annoying error thrown by parseTextMessageResult #1#4
faanskit wants to merge 1 commit intostasel:masterfrom
faanskit:send-sms-patch-1

Conversation

@faanskit
Copy link

On BG96 modem parseTextMessageResult() causes downstream error when no messages read with +CMGL.
[ 'AT+CMGL="REC UNREAD"' ]
This patch validates that there exist something to parse before parsing.

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

Comments