Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
理想情况下,我想为 Python 找到一个库。
我只需要来电号码,我不需要接听电话。
我不知道这个具体型号,但 GSM 调制解调器通常作为通信端口处理。它们被映射为通信端口(Windows下的COMXX,不知道Linux)。
调制解调器的文档将为您提供一组 AT 命令,这将允许您配置调制解调器,以便通知端口的来电。只需打开端口,发送配置命令并监听传入事件。(您也应该可以通过这种方式接收短信)。