I am on Debian 10 and I am using mmcli v1.10.0
I have modem manager gui installed and it can send and receive SMS using my Fibocom L850GL wwan card using a GUI.
I want to send SMS from command line, I have tried to use gammu, but also mmcli, both with failure.
I have this when sending message:
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 can modem-manager-gui send the SMS but not mmcli? What does modem-manager-gui does that mmcli don't ?
I have tried to build from source modem-manager to upgrade to v1.12.0. without succcess.
I would really appreciate if you could let me know what magic you are doing to be able to send SMS from the gui, so I can do it from the command line. related issues:
Thanks a lot for this awesome software!