Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

最近准备把这个集成到路由器上,不知道有没有思路啊? #1

Open
andyhuai opened this issue Aug 1, 2021 · 4 comments

Comments

@andyhuai
Copy link

andyhuai commented Aug 1, 2021

RT

@KooriMoe
Copy link
Owner

KooriMoe commented Aug 1, 2021

如果您是想搭配路由器和 Gammu 进行使用,那么您完全可以自行配置 gammu-smsdrc。因为它的核心是 Gammu 收到短信后调用 Python 程序进行处理,您只需要配置相同就应该不会有什么问题。

RunOnReceive = /usr/bin/python3 /home/ubuntu/tools/smsForward/smsForward.py

@andyhuai
Copy link
Author

andyhuai commented Aug 2, 2021

如果您是想搭配路由器和 Gammu 进行使用,那么您完全可以自行配置 gammu-smsdrc。因为它的核心是 Gammu 收到短信后调用 Python 程序进行处理,您只需要配置相同就应该不会有什么问题。

RunOnReceive = /usr/bin/python3 /home/ubuntu/tools/smsForward/smsForward.py

主要是路由死活识别了,无法看到ttyUSB, 连不上串口

@KooriMoe
Copy link
Owner

KooriMoe commented Aug 4, 2021

如果您是想搭配路由器和 Gammu 进行使用,那么您完全可以自行配置 gammu-smsdrc。因为它的核心是 Gammu 收到短信后调用 Python 程序进行处理,您只需要配置相同就应该不会有什么问题。

RunOnReceive = /usr/bin/python3 /home/ubuntu/tools/smsForward/smsForward.py

主要是路由死活识别了,无法看到ttyUSB, 连不上串口

emmm...路由识别了填进去不就好了...我这边没有试过路由器运行,不过应该是差不多的。

@luoei
Copy link

luoei commented Apr 4, 2022

如果是openwrt的话,可以升级一下内核,到5.x或者5.10就可以。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants