Ticket #1170 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

cannot send SMS from 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

using svn r3797 version
# root@fic-gta01:~$ ipkg list_installed openmoko-messages2
openmoko-messages2 - 0.1.0+svnr3797-r0 - The OpenMoko? Message application

cannot send SMS out, i tried it many times

  1. sometimes it seems like no responses on pressing send button, i check x.log,

but cannot find any error msg about sending SMS

  1. sometimes i got an error msg about unable to retrieve subscribe number

(openmoko-messages:1209): WARNING : Error sending message: Unable to
retrieve subscriber number

  1. i think we should separate both sending and storing actions for SMS.

sending action should be done, if we can get the return msg ref number from network.
saving action should be done, if we can get the subscribe number, or could we
store a dummy number for this number first? it's for testing, then we can see
messages stored in Outbox!

i also verified sending SMS by libgsmd-tool, it's working fine
ss=1,0935550902,eerraaeess
# Send SMS
Send: message sent as ref 29
EVENT: Incoming SMS from/to +886935550902, at 08-01-10 15:31:20, GMT+12
"eerraaeess"
EVENT: Incoming Status Report
message ref = 29, status = 51

Attachments

gsm.log (203.6 KB) - added by erin_yueh@… 5 years ago.
gsm.log
x.log (41.5 KB) - added by erin_yueh@… 5 years ago.
x.log

Change History

Changed 5 years ago by erin_yueh@…

gsm.log

Changed 5 years ago by erin_yueh@…

x.log

comment:1 Changed 5 years ago by erin_yueh@…

it's working in my NEO, after setting a fake number to subscriber number.

comment:2 Changed 5 years ago by chris@…

  • Status changed from new to assigned

I'll work on separating the two

comment:3 Changed 5 years ago by chris@…

  • Status changed from assigned to closed
  • Resolution set to fixed

This should work without the subscriber number in r3828 now.

comment:4 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/send SMS.

for some reasons i guess, i pressed 'send' button on sending out a SMS, but
there is no response. but i can use command from terminal as below. Do you have
any idea why it's not working on SEND key?
dbus-send --session --dest=org.openmoko.PhoneKit? --type=method_call
--print-reply /org/openmoko/PhoneKit/Sms
org.openmoko.PhoneKit?.Sms.Send string:0935550902 string:"hello world" boolean:false

comment:5 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.

Note: See TracTickets for help on using tickets.