ModemManager 1.14.0: Can't send sms with some chars

Stanke, Scott Scott.Stanke at digi.com
Wed Jul 6 21:03:49 UTC 2022


Hi Thilo,

Thanks for pointing out the “>” causes the shell to attempt redirect mmcli’s output into a file.

I still see the “…Cannot generate PDUs: Error processing input text” after the “# mmcli –s 6 –send” command. Digi International is assigning a resource next week to look into: “confirm that we are using UTF-8 locale in our setup”.

Best Regards,

Scott

From: Thilo-Alexander Ginkel <thilo at ginkel.com>
Sent: Saturday, July 2, 2022 1:10 PM
To: Stanke, Scott <Scott.Stanke at digi.com>
Cc: Aleksander Morgado <aleksander at aleksander.es>; modemmanager-devel at lists.freedesktop.org
Subject: Re: ModemManager 1.14.0: Can't send sms with some chars

[EXTERNAL E-MAIL] Warning! This email originated outside of the organization! Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi Scott,

On Fri, Jul 1, 2022 at 11:20 AM Stanke, Scott <Scott.Stanke at digi.com<mailto:Scott.Stanke at digi.com>> wrote:
I understand the command from the Digi router shell: "modem sms-text 16511234567 world范例" runs the following commands:

# # mmcli -m 0 \
 # > --messaging-create-sms="text='hello world范例',number='+16511234567'"
# # mmcli -s 6 --send

My test results, when running the above commands from the shell, shows the "/bin/sh: can't create --messaging-create-sms=text='hello world范例',number='+16511234567': Read-only file system" probably because I do not have the correct permissions when running from the shell. I will ask our Engineering team how to find if this filesystem error is seen when executing "--messaging-create-sms..." after the router shell command: "modem sms-text...".

AFAICS the error you get is due to an extra ">" character in the command line you quoted above (at the beginning of the second line). This causes the shell to attempt to redirect mmcli's output into a file instead of supplying the desired CLI arg.

Regards,
Thilo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220706/eb72d19b/attachment-0001.htm>


More information about the ModemManager-devel mailing list