Thank you, it works now. But I am still confused about the timeout.
I first changed timeout=5, and when running the script, immediately send a message to the SIM card, I got all the messages printed out.
Then I switched back to timeout =1 and restarted the Pi. This time run the old script with timeout=1, did not send new messages, and I still have all messages printed out. It looks like I need a trigger message to make it work.
I first changed timeout=5, and when running the script, immediately send a message to the SIM card, I got all the messages printed out.
Then I switched back to timeout =1 and restarted the Pi. This time run the old script with timeout=1, did not send new messages, and I still have all messages printed out. It looks like I need a trigger message to make it work.
Statistics: Posted by lhx0901 — Mon Apr 22, 2024 10:40 pm