29.09.2025, 06:43 (This post was last modified: 29.09.2025, 06:47 by EjvindHald.)
I have been trying it over the weekend, and it is only working now and then. Sometimes I can leave it for 1 hour, and then it can process a single new message - sometimes a few messages. If I enable the log writing, then it usually works, but that is not a long term solution.
This morning I got a reply after 7 minutes on a read request. This happens sometimes - sometimes no reply at all.
Hope you have some good ideas. The hardware is LM5p2-RIO3LTE.
29.09.2025, 16:51 (This post was last modified: 29.09.2025, 17:01 by EjvindHald.)
Here is the signal strength, which I things looks good. My antenna is located quite high which explains the good signal quality.
The change in the logging to filter out timeout is actually very good. When I send a SMS request with no response, there is no activity in neither Logs nor Alerts tab. However, if I do a LM reboot it picks up the previous message and does a proper respond.
If you can't figure it out, I will live with it. After all, the sendsms function is by far the most important, and that works flawlessly.
Looks like the issue is in the modem and/or SIM card. When LM boots the modem is power cycled. When the script starts it deletes all previously received SMS messages. If you say that sent messages are processed after a reboot it means that these messages weren't received previously otherwise they would have been deleted.