07.08.2025, 19:10
Hi Daniel
I have the LM5 RIO with buildin LTE modem, and I am now trying to get the SMS to work with no luck. It should be used only for SMS, and the existing Ethernet should still be used for IP traffic.
I have added a new user library called sms with the contents shown here https://kb.logicmachine.net/notifications/sms/
I have added a resident script from the same page and I am using ttyUSB2 - I do not know if that is the correct one to use.
I have disabled 3G/4G connection in System config and I have added these lines to the init script to only use SMS
io.writefile('/sys/class/gpio/export', 8)
io.writefile('/sys/class/gpio/export', 71)
io.writefile('/sys/class/gpio/gpio8/direction', 'high')
os.sleep(1)
io.writefile('/sys/class/gpio/gpio8/direction', 'low')
io.writefile('/sys/class/gpio/gpio71/direction', 'high')
This is from this post https://forum.logicmachine.net/showthread.php?tid=5123 where it was recommended to do if you only need SMS.
I have power recycled my Logic Machine and verified everything is still there after power up again. There is no messages in the error logs, and nothing happens when I try to send or receive a SMS. The pin code on the sim card is disabled.
I am searching for debugging tools to help identify the problem. Is the sim card correct mounted, what is the comport and more. I hope you can assist with tools or things I can try.
Thanks in advance.
I have the LM5 RIO with buildin LTE modem, and I am now trying to get the SMS to work with no luck. It should be used only for SMS, and the existing Ethernet should still be used for IP traffic.
I have added a new user library called sms with the contents shown here https://kb.logicmachine.net/notifications/sms/
I have added a resident script from the same page and I am using ttyUSB2 - I do not know if that is the correct one to use.
I have disabled 3G/4G connection in System config and I have added these lines to the init script to only use SMS
io.writefile('/sys/class/gpio/export', 8)
io.writefile('/sys/class/gpio/export', 71)
io.writefile('/sys/class/gpio/gpio8/direction', 'high')
os.sleep(1)
io.writefile('/sys/class/gpio/gpio8/direction', 'low')
io.writefile('/sys/class/gpio/gpio71/direction', 'high')
This is from this post https://forum.logicmachine.net/showthread.php?tid=5123 where it was recommended to do if you only need SMS.
I have power recycled my Logic Machine and verified everything is still there after power up again. There is no messages in the error logs, and nothing happens when I try to send or receive a SMS. The pin code on the sim card is disabled.
I am searching for debugging tools to help identify the problem. Is the sim card correct mounted, what is the comport and more. I hope you can assist with tools or things I can try.
Thanks in advance.
