[GH-ISSUE #34] Problem with receiving parted messages #25

Closed
opened 2026-03-04 12:11:00 +03:00 by kerem · 4 comments
Owner

Originally created by @Ulfila80 on GitHub (Jan 8, 2026).
Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool-js/issues/34

Hello!

OpenWRT 24.10.5
ModemManager 1.22
T77W676 modem running as Telit LN940 (AT^CUSTOMER=2). Tried the mbim and qmi protocols.
Problem receiving SMS messages with more than two parts (unicode). If a message consists of two parts, it is displayed in Luci. If a message consists of three or more parts, or two consecutive messages with two parts, Luci only displays the number of messages. The messages themselves are not displayed.

Image

When attempting to read messages in the terminal using sms_tool, the response freezes after the second part of message.

root@OpenWrt:~# sms_tool -d /dev/ttyUSB1 recv
MSG: 0
From: xxxxxxxxxxxxx
Date/Time: 01/08/26 16:01:23
Reference number: 38
SMS segment 1 of 3
Это длинное тестовое сообщение. Проверка работы модема. Раз-два-три

MSG: 1
From: xxxxxxxxxxxxx
Date/Time: 01/08/26 16:01:24
Reference number: 38
SMS segment 2 of 3
-четыре-пять вышел зайчик погулять. Это длинное тестовое сообщение.

No response from modem.
root@OpenWrt:~#

There are no issues receiving messages if they consist of one part. They can arrive in any quantity.

The same problem I have with EM7455 modem.

Originally created by @Ulfila80 on GitHub (Jan 8, 2026). Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool-js/issues/34 Hello! OpenWRT 24.10.5 ModemManager 1.22 T77W676 modem running as Telit LN940 (AT^CUSTOMER=2). Tried the mbim and qmi protocols. Problem receiving SMS messages with more than two parts (unicode). If a message consists of two parts, it is displayed in Luci. If a message consists of three or more parts, or two consecutive messages with two parts, Luci only displays the number of messages. The messages themselves are not displayed. ![Image](https://github.com/user-attachments/assets/0e804c1f-3b36-44a3-a8fb-3c6ef1e5b9a8) When attempting to read messages in the terminal using sms_tool, the response freezes after the second part of message. ``` root@OpenWrt:~# sms_tool -d /dev/ttyUSB1 recv MSG: 0 From: xxxxxxxxxxxxx Date/Time: 01/08/26 16:01:23 Reference number: 38 SMS segment 1 of 3 Это длинное тестовое сообщение. Проверка работы модема. Раз-два-три MSG: 1 From: xxxxxxxxxxxxx Date/Time: 01/08/26 16:01:24 Reference number: 38 SMS segment 2 of 3 -четыре-пять вышел зайчик погулять. Это длинное тестовое сообщение. No response from modem. root@OpenWrt:~# ``` There are no issues receiving messages if they consist of one part. They can arrive in any quantity. The same problem I have with EM7455 modem.
kerem closed this issue 2026-03-04 12:11:01 +03:00
Author
Owner

@4IceG commented on GitHub (Jan 8, 2026):

Hi,
I have no control over the modem freezing, it has nothing to do with my package. It could be a problem with system configuration or the modem's firmware itself.

Can you read text messages if ModemManager is disabled/uninstalled? Can ModemManager itself read text messages normally?

<!-- gh-comment-id:3724312941 --> @4IceG commented on GitHub (Jan 8, 2026): Hi, I have no control over the modem freezing, it has nothing to do with my package. It could be a problem with system configuration or the modem's firmware itself. Can you read text messages if ModemManager is disabled/uninstalled? Can ModemManager itself read text messages normally?
Author
Owner

@Ulfila80 commented on GitHub (Jan 8, 2026):

Modemmanager (mmcli) reads messages without problems.

I compiled the firmware without Modemmanager. And sms_tool reads all messages without freezing. It looks like sms_tool conflicts with Modemmanager.

Is it possible to add an option to the sms-tool-js settings that allows you to choose between mmcli and sms_tool for handling SMS and USSD requests?

<!-- gh-comment-id:3725398226 --> @Ulfila80 commented on GitHub (Jan 8, 2026): Modemmanager (mmcli) reads messages without problems. I compiled the firmware without Modemmanager. And sms_tool reads all messages without freezing. It looks like sms_tool conflicts with Modemmanager. Is it possible to add an option to the sms-tool-js settings that allows you to choose between mmcli and sms_tool for handling SMS and USSD requests?
Author
Owner

@4IceG commented on GitHub (Jan 8, 2026):

You have information that the luci-app-sms-tool-js package is not compatible with MM. MM takes over complete management of the modem, cutting off other programs.

Package supports sms-tool, and I won't be changing that. A dedicated package for MM needs to be created, I don't see any other option.

<!-- gh-comment-id:3725516201 --> @4IceG commented on GitHub (Jan 8, 2026): You have information that the luci-app-sms-tool-js package is not compatible with MM. MM takes over complete management of the modem, cutting off other programs. Package supports sms-tool, and I won't be changing that. A dedicated package for MM needs to be created, I don't see any other option.
Author
Owner

@4IceG commented on GitHub (Jan 10, 2026):

Hi,
If you want, you can check out this package https://github.com/4IceG/luci-app-sms-manager (I caution you that not everything may work yet).

<!-- gh-comment-id:3733458099 --> @4IceG commented on GitHub (Jan 10, 2026): Hi, If you want, you can check out this package https://github.com/4IceG/luci-app-sms-manager (I caution you that not everything may work yet).
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-sms-tool-js#25
No description provided.