0

I am sending SMS with a Fibocom L850GL wwan card.

I want to send SMS from command line. I am able to send SMS from GUI using modem-manager-gui.

I have created the following issue on modem-manager issue tracker: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/162#note_343848

According to modem-manager author (see comment), modem-manager-gui is using mmcli to send SMS.

When I try to send SMS with mmcli from terminal I have errors:

dka@dka:[~]: mmcli -m 0 --messaging-create-sms="text='Hello world',number='+33692822789'"
Successfully created new SMS: /org/freedesktop/ModemManager1/SMS/0
dka@dka:[~]: mmcli -s 0 --send -v
[28 Nov 2019, 03:46:12] [Debug] Assuming '0' is the SMS index
[28 Nov 2019, 03:46:12] [Debug] ModemManager process found at ':1.8'
[28 Nov 2019, 03:46:12] [Debug] Sms found at '/org/freedesktop/ModemManager1/SMS/0'

error: couldn't send the SMS: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.Failure: Couldn't send SMS part: Failure'

How to grab mmcli log when sendind SMS from modem-manager-gui, I want to know the exact command to send SMS.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.