Fix multipart incoming SMS QMI WMS routing and CSMS reassembly
This commit is contained in:
1 parent
1ef9064169
commit
8c2a337c0d
3 files changed
+102
-48
No files matched your search
@@ -235,7 +235,7 @@ checkfornewtexts() {
|
||||
exec 3<> "$XDG_RUNTIME_DIR/sxmo_modem.checkfornewtexts.lock"
|
||||
flock -x 3
|
||||
wait_parts=0
|
||||
while [ "$wait_parts" -lt 10 ]; do
|
||||
while [ "$wait_parts" -lt 25 ]; do
|
||||
SMS_LIST="$(mmcli -m any --messaging-list-sms 2>/dev/null || true)"
|
||||
if printf "%s\n" "$SMS_LIST" | grep -qE '/SMS/[0-9]+ \(receiving\)'; then
|
||||
sleep 1
|
||||
@@ -244,6 +244,9 @@ checkfornewtexts() {
|
||||
break
|
||||
fi
|
||||
done
|
||||
if printf "%s\n" "$SMS_LIST" | grep -qE '/SMS/[0-9]+ \(receiving\)'; then
|
||||
(sleep 10 && sxmo_modem.sh checkfornewtexts) >/dev/null 2>&1 &
|
||||
fi
|
||||
TEXTIDS="$(
|
||||
printf "%s\n" "$SMS_LIST" |
|
||||
grep -Eo '/SMS/[0-9]+ \(received\)' |
|
||||
|
||||
Reference in new issue
Block a user