Ticket #1166 (closed defect: fixed)
cannot receive incoming SMS if the sender number is stored in SIM card
| Reported by: | erin_yueh@… | Owned by: | sean_chiang@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | gsmd | Version: | 2007.2 |
| Severity: | normal | Keywords: | |
| Cc: | buglog@…, erin_yueh@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
how to reproduce this bug:
- use libgsmd-tool to change SMS preferred storage first
"AT+CNMI=2,2,2,1,0", it means we will get an at command '+CMT:<msg data>' when
we receive incoming SMS
- store a phone number in SIM card, and use this number to send SMS to NEO
- we can receive +CMT:<msg data> in gsmd, but cannot parse it correctly in atcmd.c
please check the attached gsmd.log file!
Attachments
Change History
comment:1 Changed 5 years ago by erin_yueh@…
it only happens if we store the sender number in Contacts (SIM card)
Changed 5 years ago by sean_chiang@…
- Attachment cmt_parse-failed-when--alpha-filed-include-comma.patch added
cmt_parse failed when the alpha field include comma char
comment:4 Changed 5 years ago by sean_chiang@…
- Status changed from assigned to closed
- Resolution set to fixed
If the SMS's sender phone number was stored in SIM, when you receive the sms
you'll also get alpha field(sender's name). And if the alpha field include comma
then cmt_parse() will failed. Fix it now.
Note: See
TracTickets for help on using
tickets.

gsm.log