<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
as far as i understand adding a udev tag would basically remove the PDU SMS capability from a specific modem.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Wouldn't it make more sense to add an option to mmcli like --smsmode=<text/pdu> which would default to <pdu>?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ralf</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Aleksander Morgado <aleksander@aleksander.es><br>
<b>Gesendet:</b> Dienstag, 9. November 2021 11:59<br>
<b>An:</b> Ralf Glaser <glaser@iotmaxx.de><br>
<b>Cc:</b> modemmanager-devel@lists.freedesktop.org <modemmanager-devel@lists.freedesktop.org><br>
<b>Betreff:</b> Re: text mode SMS</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hey,<br>
<br>
><br>
> 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.<br>
><br>
<br>
For AT based devices, the support for PDU mode is checked with<br>
AT+CMGF=?, and if PDU mode is supported, it will be preferred over<br>
text mode. At this moment there is no way to force using text mode,<br>
but I guess we could have e.g. a udev tag to trigger the modified<br>
behavior (e.g. ID_MM_AT_SMS_TEXT_MODE_PREFERRED), as we do for other<br>
features (e.g. ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE).<br>
Patches welcome :)<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es">https://aleksander.es</a><br>
</div>
</span></font></div>
</body>
</html>