Ticket #1169 (closed defect: fixed)
cannot receive SMS in openmoko-messages2 application
| Reported by: | erin_yueh@… | Owned by: | chris@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | openmoko-messages | Version: | 2007.2 |
| Severity: | critical | Keywords: | VERIFIED |
| Cc: | buglog@…, erin_yueh@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
verified it with svn r3797
# root@fic-gta01:~$ ipkg list_installed openmoko-messages2
openmoko-messages2 - 0.1.0+svnr3797-r0 - The OpenMoko? Message application
- i set SMS preferred storage to Phone memory by at command 'AT+CNMI=2,2,2,1,0'
- then i will get +CMT<msg data> from gsm modem, if i get any new sms
- upper UI should handle this event, and store message to phone memory
- also, should display new message indication in panel
please check the attached x.log & gsm.log files
(phone-kit:1333): DEBUG: Received incoming SMS
(phone-kit:1333): DEBUG: Message inline
Attachments
Change History
comment:1 Changed 5 years ago by chris@…
I sent this AT command to the modem and receiving a text message still worked
for me - I don't know what to suggest here. I guess for whatever reason incoming
messages aren't being stored correctly on your phone, but I can't reproduce this.
Sending a message to myself on my neo (with delivery report set on), I get this
in my x.log:
(openmoko-messages:1163): DEBUG: Sending message 'test' to +44XXXXXXXXXX
(matchbox-panel-2:1138): DEBUG: CIPHER event: data = 96, 2, 0
(matchbox-panel-2:1138): DEBUG: gsm_applet_update_cipher_status: status = 96
(matchbox-panel-2:1138): DEBUG: battery_applet: timeout
(phone-kit:1136): DEBUG: Sent message accepted
(phone-kit:1136): DEBUG: Received incoming SMS
(phone-kit:1136): DEBUG: Message inline
(phone-kit:1136): DEBUG: Decoding 7-bit ASCII message
(phone-kit:1136): DEBUG: Moving message to journal:
"test"
(phone-kit:1136): DEBUG: Playing
(matchbox-panel-2:1138): DEBUG: CIPHER event: data = 321, 2, 0
(matchbox-panel-2:1138): DEBUG: gsm_applet_update_cipher_status: status = 321
(phone-kit:1136): DEBUG: Playing done
(phone-kit:1136): DEBUG: Cancelling
(phone-kit:1136): DEBUG: Received sent SMS status report
(phone-kit:1136): DEBUG: Report signals success
comment:2 Changed 5 years ago by erin_yueh@…
set a fake number to 'moko_network_get_subscriber_number', then i can receive
SMS now.
comment:3 Changed 5 years ago by chris@…
Is there a reason why the subscriber number can't be retrieved though?
comment:4 Changed 5 years ago by erin_yueh@…
coz of some SIM cards, they are not stored this number.
at+cnum is Optional, not mandatory!
comment:5 Changed 5 years ago by chris@…
ah, in which case I'll have to work around this - in these cases, is there
anything else we can do to get the subscriber number, or is it simply unavailable?
comment:7 Changed 5 years ago by chris@…
Sorry, I thought this was #1170 - the subscriber number shouldn't affect
receipt of SMS messages, can you receive SMS messages ok with current software?
comment:8 Changed 5 years ago by erin_yueh@…
i was using r3839, but i cannot send/receive SMS in my NEO.
then i modified some code, like to disable on querying operator list, save a
fake number to subscribe number,
also marked "return FALSE;" as comment in 'moko_network_get_subscriber_number'.
then i can receive SMS.
i can see the new message notifications in panel, but i cannot see them from
View tab. It's empty when i press 'View' tab.
comment:9 Changed 5 years ago by erin_yueh@…
Also, i store some phone number to Contacts. Although the sender number is the
same in Contacts, the messages still put in Unknown sender folder.
comment:10 Changed 5 years ago by chris@…
I just added viewing of SMS history to latest Contacts (r398) - could you see if
you can view messages there? If you can, I may know what's causing this.
comment:11 Changed 5 years ago by erin_yueh@…
yes, i can see SMS history in Contacts app, but still cannot use View tab in
Messages app.
also, i don't know why Send key remove all words i key-in for message data.
comment:12 Changed 5 years ago by chris@…
- Status changed from new to assigned
Both of these bugs should be fixed in r3868, please update with your experiences
comment:13 Changed 5 years ago by erin_yueh@…
i used 20080128 daily build with the latest gsmd code.
i can receive sms and view message from openmoko-messages2 application now. :)
comment:14 Changed 5 years ago by erin_yueh@…
- Status changed from assigned to closed
- Resolution set to fixed
bug fixed
comment:15 Changed 5 years ago by erin_yueh@…
- Keywords VERIFIED added
bug verified by daily build
OpenMoko?-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080130-fic-gta02.rootfs.jffs2
version.

x.log