ModemManager を使用して SMS "GDBus...: 不明なエラー" を送信できません。

ModemManager を使用して SMS

私は内部のモバイルモデムを持っていますが、正常に検出され、現在4Gインターネットで使用されています。しかし、ModemManagerもこれを検出します。

% mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [Hewlett-Packard] MU736

だから送信しようとすると、最初にテキストメッセージを作成します。

% mmcli -m 0 --messaging-create-sms="text=Test,number=002127…"
Successfully created new SMS: /org/freedesktop/ModemManager1/SMS/3

SMS設定が正しい:

% mmcli -s 3                                        -----------------------------
  General    |       dbus path: /org/freedesktop/ModemManager1/SMS/3
  -----------------------------
  Content    |          number: 002127…
             |            text: Test
  -----------------------------
  Properties |        pdu type: submit
             | delivery report: not requested

ただし、送信しようとすると失敗します。

% mmcli -s 3 --send
[06 mars 2022, 07:50:31] [Debug] Assuming '3' is the SMS index
[06 mars 2022, 07:50:31] [Debug] ModemManager process found at ':1.15'
[06 mars 2022, 07:50:31] [Debug] SMS found at '/org/freedesktop/ModemManager1/SMS/3'

error: couldn't send the SMS: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown: Unknown error'

編集する

時には、次のエラーメッセージも表示されます。

% mmcli -s 4 --send
error: couldn't send the SMS: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Connected: No AT port available to run command'

それでは、これは何を意味し、どのように解決できますか?

ベストアンサー1

おすすめ記事