Cellphone does not support GSM7?

"João M. S. Silva" joao.m.santos.silva at gmail.com
Fri Mar 13 11:47:39 PDT 2015


On 03/13/2015 05:31 PM, Aleksander Morgado wrote:
> When using --messaging-create-sms-with-data the encoding type is set
> as being raw. If you're sending text you really need to use the
> "text=whatever" option. Maybe you need to escape the EOLs before
> setting them in ${text}? Truth be told, I never tested it with
> multiple lines... :)

Does not seem to work. Either with single-escaping:

   Content    |              number: '---------'
              |                text: '1st line\n2nd line'

or double-escaping:

   Content    |              number: '---------'
              |                text: '1st line\\n2nd line'

the SMS's are received as presented in the Content above, i.e. the \n 
are not interpreted correctly, they are treated as 2 chars.

With --messaging-create-sms-with-data the message is correctly presented 
in a smartphone, so I guess raw mode works OK.

I think the problem is that the non-smartphone is not capable of 
understanding the SMS in raw (GSM 7-bit) mode.

Thanks anyway. Any further hints? This must be possible since I receive 
line wrapped SMS's in this older phone.

-- 
João M. S. Silva


More information about the ModemManager-devel mailing list