Bug 85015

Summary: nokia: modems may be able to send SMS, but not receive
Product: ModemManager Reporter: Aleksander Morgado <aleksander>
Component: pluginsAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Aleksander Morgado 2014-10-14 17:07:46 UTC
Originally reported at:
  https://bugzilla.gnome.org/show_bug.cgi?id=733071

Some Nokia modems (e.g. C6) are able to send SMS messages via AT commands, but not receive or store them.

The Messaging interface could expose a flags property specifying what the modem can do (e.g. Send, Receive, Store).

For the case of the Nokia phones, we could then check whether the phone can:
 * Send messages, with e.g.:
    AT+CMGS=?
     OK
 * Store messages, with e.g.:
    AT+CMGW=?
     ERROR
 * Receive messages, with e.g.:
    AT+CNMI=?
     ERROR
    AT+CPMS=?
     +CPMS: (),(),()
Comment 1 Alexander E. Patrakov 2016-12-12 17:53:00 UTC
Possible duplicate: https://bugs.freedesktop.org/show_bug.cgi?id=94855

Can you test whether the AT+CPMS="SM","SM","SM" hack allows your device to receive SMS?
Comment 2 Luis Manuel 2016-12-21 14:23:52 UTC
I have here a Cinterion EHS6 (miniPCI express) with same issue, it doesn't report received SMS. As workaround I started ModemManager with '--debug' flag and executed:

   $ mmcli -m 0 --command="AT+CNMI=1,1"

Now the messages are reported well, but syslog gets tones of debug messages, and this is problematic for my tiny embedded system. Is there any way to execute the AT command without debug-mode? or another proposal is welcome! Thanks in advance.

Regards,

Luis
Comment 3 Luis Manuel 2016-12-21 15:09:10 UTC
For the case, it can help anybody: the below command seems to solve my issue with debug messages flood:

    $ ModemManager --debug --log-file=/dev/null

BR, Luis
Comment 4 Aleksander Morgado 2016-12-22 08:53:59 UTC
(In reply to Luis Manuel from comment #2)
> I have here a Cinterion EHS6 (miniPCI express) with same issue, it doesn't
> report received SMS. As workaround I started ModemManager with '--debug'
> flag and executed:
> 
>    $ mmcli -m 0 --command="AT+CNMI=1,1"
> 
> Now the messages are reported well, but syslog gets tones of debug messages,
> and this is problematic for my tiny embedded system. Is there any way to
> execute the AT command without debug-mode? or another proposal is welcome!
> Thanks in advance.
> 
> Regards,
> 
> Luis

Could you open a new bugreport for this issue and send us the full debug log of ModemManager (i.e. when running with --debug)? We may need to improve what CNMI settings we set by default.
Comment 5 GitLab Migration User 2018-06-10 09:04:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/49.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.