发送AT指令到USB连接GPRS调制解调器在C# [英] Sending AT Command to a USB-Connected GPRS Modem in C#

查看:442
本文介绍了发送AT指令到USB连接GPRS调制解调器在C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能给我我如何可以访问连接到USB端口的GPRS调制解调器好的方向或指导。我应该做一个USB驱动程序我的程序发送AT命令到调制解调器?或者是像一个路由器在那里我可以使用IP地址来访问它?谢谢

Can anyone give me a good direction or guide on how I can access a GPRS modem that is connected to a Usb Port. Should I make a USB driver for my program to send AT command to the modem? or Is like a router where in i can access it using an IP address? thanks

推荐答案

如果它被Windows用作调制解调器认可则所需的驱动程序会自动呈现它作为一个串口,就像任何其他调制解调器和放大器;你可以使用它的端口名称和放它交流; System.IO.Ports.SerialPort 。如果你想访问AT / GSM指令集有像 GSMComm 库。

If its recognised by windows as a modem then the required drivers should automatically present it as a serial port, just like any other modem & you can communicate with it using its port name & System.IO.Ports.SerialPort. If you want to access the AT/GSM command set there are libraries like GSMComm.

这篇关于发送AT指令到USB连接GPRS调制解调器在C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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