chenxuuu / sms_forwarding

超低成本硬件短信转发器,只需29.9
MIT License
524 stars 64 forks source link

AT命令发送失败导致脚本卡死 #8

Closed naizhao closed 1 year ago

naizhao commented 1 year ago
air780.loopAT("AT","AT_ATE1")

上面这行代码会导致脚本一直loop

[2023-03-27 01:49:34.986] I/user.air780 sent at AT
[2023-03-27 01:49:35.295] I/user.air780 sent at AT
[2023-03-27 01:49:35.607] I/user.air780 sent at AT
[2023-03-27 01:49:35.917] I/user.air780 sent at AT
[2023-03-27 01:49:36.226] I/user.air780 sent at AT
[2023-03-27 01:49:36.534] I/user.air780 sent at AT
[2023-03-27 01:49:36.843] I/user.air780 sent at AT
[2023-03-27 01:49:37.137] I/user.air780 sent at AT
[2023-03-27 01:49:37.446] I/user.air780 sent at AT
[2023-03-27 01:49:37.755] I/user.air780 sent at AT
[2023-03-27 01:49:38.065] I/user.air780 sent at AT

改成

air780.write("ATE1")

就可以正常运行了

github-actions[bot] commented 1 year ago

@naizhao: 你好! :wave:

因为你没有按模板新建issue,所以此issue已被自动关闭!请重新按issue模板新建issue