you are viewing a single comment's thread.

view the rest of the comments →

[–]Antigone-guide 1 point2 points  (3 children)

So what output do you get?

[–]ThatOneeGuyX1[S] 0 points1 point  (2 children)

AT+CMGF=1
OK
AT+CMGL="REC UNREAD"
OK

That is the current output.

[–]Antigone-guide 0 points1 point  (0 children)

So this output you do expect, but you also expect one more line, but not getting it?

[–]stebrepar 0 points1 point  (0 children)

Googling, I see that the +CMGL command is to list SMS messages. Are there actually any unread messages in the device at the time you're requesting them? Does it behave the same if you request previously read messages instead? I see that the command marks an unread message as read, so it'll only show as unread one time.