串行AT命令 [英] AT Commands over Serial

查看:120
本文介绍了串行AT命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何以+ cmgd = 1,4发送到通过C ++连接到comm 6的gsm调制解调器?

How do I send at+cmgd=1,4 to a gsm modem connected to comm 6 via C++?

推荐答案

您必须打开comport/serial端口并设置波特率等.
打开端口后.然后,您可以编写AT命令.
You have to open the comport/serial port and set baud rate etc.
When you have opened the port. You can then write AT commands.


使用此命令: Win32 SDK串行通信简单 [ ^ ]
现在您看到删除SMS非常容易:)
Use this: Win32 SDK Serial Comm Made Easy[^]
Now you see it''s very easy to delete SMS :)


我是使用c ++的新手,您能帮我用代码做到这一点吗?
I am new to using c++, could you help me with the code to do this?


这篇关于串行AT命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆