I must to send an SMS message with the characters "'" and "\"" in it.

I know only the command line command like:

   MESSAGE="My test:\"'"
   mmcli -m 0 --messaging-create-sms="text='$MESSAGE',number='+1234567890'"
     error: cannot parse properties string: 'Unexpected content 
(',number='+1234567890') after value'

how should I encode $MESSAGE to be correctly parsed by mmcli?

I have look at source code at line 1280:

   
https://github.com/linux-mobile-broadband/ModemManager/blob/master/libmm-glib/mm-common-helpers.c)

and I think it is not possible. It's true?
Do you know a work-around?

regards
Guido Brugnara

_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to