diepvu1805
Member level 2
hi all,
I am using SIM900B.
I meet some issue when read SMS
I read SMS as follow:
Step 1: Send AT: "AT+CMGL=\"REC UNREAD\"\r"
Step 2: delay 1000ms;
Step 3: Read buffer SMS.
And here's the result:
+CMGL: 1,"REC UNREAD","+841998848534","","12/04/12,14:19:01+28"
111ok
OK
It's true.
But sometimes, When read SMS, I received the result as follow:
+CMGL: 1,"REC UNREAD","+841998848534","","12/04/12,14:19:01+28"
OK
or
+CMGL: 1,"REC UNREAD","+841998848534","","12/04/12,
OK
The result's lose SMS's content.
I can't explain that.
I think that the problem is the delay(step 2). The delay isn't enough.
pls, help me!
Thank,
---------- Post added at 16:09 ---------- Previous post was at 15:12 ----------
I am using baudrate: 115200
I am using SIM900B.
I meet some issue when read SMS
I read SMS as follow:
Step 1: Send AT: "AT+CMGL=\"REC UNREAD\"\r"
Step 2: delay 1000ms;
Step 3: Read buffer SMS.
And here's the result:
+CMGL: 1,"REC UNREAD","+841998848534","","12/04/12,14:19:01+28"
111ok
OK
It's true.
But sometimes, When read SMS, I received the result as follow:
+CMGL: 1,"REC UNREAD","+841998848534","","12/04/12,14:19:01+28"
OK
or
+CMGL: 1,"REC UNREAD","+841998848534","","12/04/12,
OK
The result's lose SMS's content.
I can't explain that.
I think that the problem is the delay(step 2). The delay isn't enough.
pls, help me!
Thank,
---------- Post added at 16:09 ---------- Previous post was at 15:12 ----------
I am using baudrate: 115200