同时使用GPRS和GSM [英] Using GPRS and GSM Simulatneously

查看:36
本文介绍了同时使用GPRS和GSM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 GSM/GPRS 调制解调器的 GPRS 功能向远程服务器发送数据,但我无法这样做.我在 Arduino 论坛上发布了一个问题,但没有得到任何答复.这是问题的链接.

I am trying to use GPRS functionality of the GSM/GPRS modem for sending data to the remote server but i am unable to do so.I had posted a question on Arduino Forum but didn't get any reply.Here is the link for the question.

嗯,我主要关心的是 i) 我使用的是 GPRS/GSM 调制解调器,我不确定调制解调器的电源要求.目前我使用的是 9V 和 1 安培电源,但调制解调器上的网络 LED 是有尊严的调制解调器没有获得网络.那么这可能是因为调制解调器的供电不足吗?

Well my Main concern is i) I am using a GPRS/GSM Modem and i am not sure about the Power requirements of the Modem.At present i am using a 9V and 1 amp supply but the network LED on the modem is dignifying that Modem is not getting the network. So can this be because of the insufficient supply to the modem?

推荐答案

我非常怀疑这是一个强大的东西.虽然我对 Arduino 板的经验有限.

I very much doubt it's a power thing. Although I have limited experience with Arduino boards.

您可以通过执行 AT+CREG 命令检查它是否连接到移动运营商来验证一般 GSM 东西是否正常工作.

You can verify that the general GSM stuff is working by executing AT+CREG commands to check if it is connected to the mobile operator.

如果您需要更详细的帮助,那么我认为将哪些 AT 命令发送到调制解调器对您来说是有意义的.以及固件/软件端的调制解调器在说什么.

If you need more detailed help then I think it makes sense for you to post what AT commands are being sent to the modem. And what the modem on the firmware/software side is saying.

以下是有关处理 GPRS 和 AT 命令(又名 GSM 内容)的一些信息.

Below some information about dealing with GPRS and AT Commands (aka GSM stuff).

对于 GSM 调制解调器,通常可以通过三种方式同时获取 GPRS 和执行 AT 命令 (GSM).

With GSM modems there are commonly three ways of getting GPRS and executing AT commands (GSM) simultaneously.

1) 内联复用

据我所知,您可以在 AT 命令控制台中切换上下文.在编写代码时,这有点挑战性.我建议不要这样做.

As far as I am aware you can switch contexts within the AT command console. This is a little challenging when it comes to writing code. I would advise against this.

2) 通过单个串行接口进行多路复用

这是通过支持 GSM 27.010 规范的驱动程序完成的.一些制造商为此提供了 MUX 驱动程序.

This is done via drivers that support the GSM 27.010 specification. Some manufacturers provide MUX drivers for this purpose.

标准指令是AT+CMUX.我强烈建议查看调制解调器参考手册,以准确了解如何执行此命令.您也可以通过 AT 命令获得相当的信息.通过执行 AT+CMUX=?查看预期的参数.

The standard command is AT+CMUX. I strongly suggest taking a look at the modem reference manual to find out exactly how to execute this command. You can get a rather information also via AT commands. By executing AT+CMUX=? to see what parameters are expected.

实际上,您将有两个串行连接打开到同一个串行端口.一个用于 GPRS,一个用于 AT 命令.

Effectively then you would have two serial connections open to the same serial port. One for GPRS and one for AT Commands.

负面影响是性能(命令执行速度)显着降低,具体取决于硬件如何应对.

Negative impact is that the performance (speed of command execution) is significantly reduced depending on how the hardware copes with it.

3) 在多个串行接口上​​复用

我所知道的 GSM 调制解调器提供多个串行接口 (UART).因此可用于执行标准 AT 命令.另一个可以用于GPRS通信.

The GSM modems that I know of provide multiple serial interfaces (UART). Therefore one can be used for executing standard AT commands. And another can be used for GPRS communications.

我不确定 SIM900A 是否可以实现.在那里,您必须查看硬件信息.

I'm not entirely sure if this is possible with the SIM900A. There you would have to look at the hardware information.

这篇关于同时使用GPRS和GSM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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