We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
这可能不完全是你想要的,但我编写了一个通过 AT 命令进行通信的 python 框架。它支持 Linux 和 Windows 上的数据线、蓝牙(用 Python 2 编写)。
使用该框架构建的示例程序是 RecNPlay。使用 RecNPlay,您可以在手机上记录(保存)和回放击键。
您可以以 RecNPlay 为例,编写自己的工具来进行通信。 RecNPlay 所构建的库称为 PyGSMLib,它为许多 AT 命令提供了 python 包装器,并支持“AT 未经请求的结果”。
监听诺基亚特定 GPRS 事件的示例 python 程序(例如连接、与移动设备断开连接、通过网络断开连接):
It's probably not exactly what you want but I wrote a python framework for communicating via AT-commands. It supports data cables, bluetooth on Linux and Windows (written in Python 2).
A sample program built with that framework is RecNPlay. With RecNPlay you are able to record (, save) and playback keystrokes on your mobile phone.
You could take RecNPlay as an example and program your own tool to communicate. The library RecNPlay is built on is called PyGSMLib and provides python-wrappers to a lot of AT-commands and supports 'AT unsolicited results'.
Sample python program which listens to Nokia specific GPRS events (like connect, disconnect from mobile, disconnect by network):