29.09.2025, 06:55
Logging does not affect how the script works. Try checking the signal quality periodically, maybe the modem loses connection: https://forum.logicmachine.net/showthrea...2#pid34692
You can modify the logging part to skip timeout errors:
You can modify the logging part to skip timeout errors:
Code:
local res, err, cmd, pos, sms
res, err = self:read()
if err ~= 'timeout` then
log(res, err)
end