AW: text mode SMS

Ralf Glaser glaser at iotmaxx.de
Tue Nov 9 13:33:24 UTC 2021


Hi,

as far as i understand adding a udev tag would basically remove the PDU SMS capability from a specific modem.
Wouldn't it make more sense to add an option to mmcli like --smsmode=<text/pdu> which would default to <pdu>?

Best regards,
Ralf

________________________________
Von: Aleksander Morgado <aleksander at aleksander.es>
Gesendet: Dienstag, 9. November 2021 11:59
An: Ralf Glaser <glaser at iotmaxx.de>
Cc: modemmanager-devel at lists.freedesktop.org <modemmanager-devel at lists.freedesktop.org>
Betreff: Re: text mode SMS

Hey,

>
> is there an option to make ModemManager send SMS in text mode? I'm aware that PDU mode ist by far preferred but we have to send SMS to an older system that is unable to process SMS in PDU mode.
>

For AT based devices, the support for PDU mode is checked with
AT+CMGF=?, and if PDU mode is supported, it will be preferred over
text mode. At this moment there is no way to force using text mode,
but I guess we could have e.g. a udev tag to trigger the modified
behavior (e.g. ID_MM_AT_SMS_TEXT_MODE_PREFERRED), as we do for other
features (e.g. ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE).
Patches welcome :)

--
Aleksander
https://aleksander.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20211109/83d70d2c/attachment.htm>


More information about the ModemManager-devel mailing list