Ticket #61 (closed defect: wontfix)
SMS: recieving of sms does not work
| Reported by: | rumi.kg@… | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | zhone/general | Version: | |
| Keywords: | sms, receive | Cc: | rumi.kg@… |
Description
On fresh install of Milestone2.
I can send sms, receive calls, take calls, but not _receive_ sms'es. Am using the phone in denmark. I can receive sms'es on the other stacks.
Change History
comment:2 Changed 4 years ago by anonymous
Tested using another simcard which worked fine. Still cant get my normal (not full) simcard to work. I just ordered a new simcard from same company as my normal one, will report my findings here on the same bat-channel when it arrives.
comment:3 Changed 4 years ago by mija@…
Yesterday, I couldn't receive any SMS but it works somehow now. Anyway there is no sound / alert on incoming message and last message is shown as unread even it was read.
comment:5 Changed 4 years ago by kevin@…
- Priority changed from minor to major
I'm also seeing there here... with milestone3.
In fact sometimes I can't do calls either... I see in /tmp/zhone.log:
2008-09-27 13:27:37,729 INFO SIM seems to be protected. Checking auth status now 2008-09-27 13:27:37,760 DEBUG Reading authentication status 2008-09-27 13:28:31,129 INFO did not receive any unsent messages: org.freedesktop.DBus.Error.NoReply?: Message did not receive a reply (timeout by message bus)
Restarting frameworkd and zhone I get: 2008-09-27 13:34:53,166 INFO checking for unsent messages 2008-09-27 13:34:58,047 INFO did not receive any unsent messages: org.freesmartphone.GSM.Device.Timeout: device did not answer within 5 seconds
On a fresh boot I see:
2008-09-27 13:42:10,695 DEBUG SIM is ready: 0 2008-09-27 13:42:10,701 DEBUG SIM is ready: 0 2008-09-27 13:42:30,643 DEBUG SIM is ready: 1 2008-09-27 13:42:30,649 INFO retrieving phonebook... 2008-09-27 13:42:30,659 DEBUG SIM is ready: 1 2008-09-27 13:42:30,665 INFO retrieving messagebook... 2008-09-27 13:42:35,988 INFO retrieved phonebook: dbus.Array([d...data 2008-09-27 13:43:00,532 INFO checking for unsent messages 2008-09-27 13:43:00,944 INFO did not receive any unsent messages: org.freesmartphone.GSM.SIM.NotFound?:
Happy to provide more info/debugging.
comment:6 Changed 4 years ago by kevin@…
running frameworkd in debug and sending an sms I see:
ogsmd DEBUG <UnsolicitedResponseChannel? via /dev/pts/1>: got 17 bytes from: '+CMS ERROR: 322\r\n'
ogsmd INFO <UnsolicitedResponseChannel? via /dev/pts/1>: unhandled unsolicited data incoming: '+CMS ERROR: 322'
Which "memory full" might this be? the SIM?
comment:7 Changed 4 years ago by kevin@…
ok, I did some more poking around. It was that the SIM was full. So, the real bug here is that the framework doesn't handle having a full SIM very well. I was unable to use zhone to delete SMSes, and no incoming would work with the full SIM.
As a workaround, I did:
cli-framework
gsm.DebugCommand?("AT+CMGD=0,4\r\n");
That will delete all your SMS from your SIM.
Then, things are happier. Incoming can come in, and unless the SIM gets full again you can use zhone to delete existing messages.
comment:8 Changed 4 years ago by daniel
This is a limitation of how we handle SMS sending and receiving at the moment. Once a PIM framework is in place and we support receiving and sending of SMS without going through the SIM you wont feel the limitations of your SIM any more. We should implement a SIM full notification, though. Then you can manually delete SMS to make room for more.
comment:9 Changed 4 years ago by mickey
- Status changed from new to closed
- Resolution set to wontfix
Fwiw, since [d30387c091df8a9590a307d5d42eb49b241ae2dc] we have org.freesmartphone.GSM.SIM.MemoryFull?. Closing this as WONTFIX now as we won't change this behaviour directly, but rather support using the direct SMS sending/receiving soon.

further debugging
I tried this patch as suggested by torindel@…. This did not make the sms go through. With help from torindel i managed to find a log message that occurs every time i send an sms to the freerunner.
log
other interesting facts