GPRS通讯

发布于 2024-08-07 20:06:41 字数 157 浏览 4 评论 0原文

我想在 GSM/GPRS 调制解调器和远程服务器或 PC 之间建立通信。怎么做呢?我们是否需要在 PC 上安装一些与 GSM 调制解调器通信的应用程序?我想要双向通信。我想将 GSM/GPRS 调制解调器与一些带有 LCD 显示屏的微处理器连接。任何人都可以帮助我吗?

谢谢, 马诺伊

I want to set up communication between GSM/GPRS modem and a remote server or PC. How to do that? Do we need some application on PC which will communicate to the GSM modem. I want 2 way commuinication. I want to interface GSM/GPRS modem with some microprocessor which has some LCD display. Can anybody help me in this.

Thanks,
Manoj

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小镇女孩 2024-08-14 20:06:41

你的问题相当广泛,涵盖了一系列技术。

与 GSM 调制解调器通信

GSM 调制解调器将使用串行或 USB 端口连接到计算机。您可以打开串行端口并与其通信。由于您没有指定平台,我无法建议如何做到这一点。在 C# 中,您可以使用 SerialPort班级。您可以使用标准的AT* 命令集来进行各种操作。

与 GPRS 调制解调器通信

连接到外部设备的 GPRS 调制解调器通常位于互联网上。如果您知道目标设备的 IP 地址,则可以使用 TCP/IP 套接字与其进行通信。

我想连接 GSM/GPRS 调制解调器
带有一些微处理器

不确定你的意思到底是什么,但如果你想为 GPRS/GSM 通信编写一个处理器,你将需要了解该处理器并编写或购买一个 TCP/IP 堆栈。

Your question is pretty broad and covers a range of technologies.

Communicating with a GSM Modem

A GSM modem will connect to a computer using a serial or USB port. You can open the serial port and talk with it. Since you didn't specify platform, I can't suggest how to do that. In c#, you would use the SerialPort class. You use the standard AT* command set for various operations with it.

Communicating with a GPRS modem

A GPRS modem connected to external device will normally be on internet. If you know the IP address of target device, you can use TCP/IP sockets for communicating with it.

I want to interface GSM/GPRS modem
with some microprocessor

Not sure what exactly you mean by that but if you want to program a processor for GPRS/GSM communication, you will need to understand that processor and write or buy a TCP/IP stack.

对你而言 2024-08-14 20:06:41

我认为正如前面的答案所说,您需要更具体:

如果您想与 GPRS 调制解调器本身进行通信,那么您通常需要在想要与调制解调器通信的任何机器之间建立物理连接,并且您将使用常规调制解调器 AT 命令(您可能想远程控制调制解调器,但我猜这不太可能)。

您更有可能希望在连接到 GPRS 调制解调器的设备(例如计算机)和远程服务器之间进行通信。如果您的 GPRS 调制解调器工作正常,您只需像对待常规互连连接一样对待 GPRS 调制解调器即可。换句话说,您的计算机现在可以使用其浏览器(例如)连接到远程服务器,就像通过电缆连接到本地 LAN 一样。

I think as the previous answer says you need to be more specific:

If you want to communicate with the GPRS modem itself, then you generally need a physical connection between whatever machine wants to talk to the modem and you would use regular modem AT commands (you could conceivably want to remotely control a modem but I am guessing this is unlikely).

More likely you want to communicate between a device (e.g. a computer) connected to the GPRS modem and a remote server. Provided your GPRS modem is working correctly you simply need to treat the GPRS modem as you would a regular interconnect connection. In other words your computer will now be able to use its browser (for example) to connect to a remote server just as it would if you were connected by a cable to your local LAN.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文