如何在 Objective C 中读取 gsm 调制解调器消息?
我需要在我的 iPhone 应用程序中显示小区 ID 信息,该应用程序向调制解调器发送 AT 命令,但是...我不知道如何读取调制解调器消息。请帮我。
I need the the cell-id information to display in my iphone app, the app sends AT commands to the modem but...I do not know how to read the modem messages. Please help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您在 iPhone 环境中询问,那么我认为您不可以使用官方 SDK 来执行此操作。
您应该查看该团队的解锁工具的源代码,因为他们发送 AT 命令来从 iphone 调制解调器读取数据。
if you are asking in context of the iPhone, then I don't think you are allowed to do that with the official SDK.
You should look at the source code of the unlock tools by the team because they send AT commands to read data from the iphone modem.
我不知道您需要什么样的功能,但是这个网站让我安静了远不如用AT指令集发送短信。
此外,您可以使用 Windows 超级终端(附件 > 通信)连接到特定的 USB 端口(映射到 COM 端口)。通过此连接,您可以自己向手机发送 AT 命令并查看它返回的内容。
希望这有帮助...
I don't know what kind of functionality you need, but this website took me quiet far in sending text messages with the AT command set.
Furthermore you can use the windows hyperterminal (Accessories>Communication) to connect to the specific USB port (mapped on a COM port). With this connection you can send AT commands yourself to the cell phone and see what it returns.
Hope this helps...