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 <th...@ginkel.com>
Sent: Saturday, July 2, 2022 1:10 PM
To: Stanke, Scott <scott.sta...@digi.com>
Cc: Aleksander Morgado <aleksan...@aleksander.es>; 
modemmanager-devel@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.sta...@digi.com<mailto:scott.sta...@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

Reply via email to