Using GPRS and GSM Simulatneously

十年热恋 提交于 2019-12-02 16:00:54

问题


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.

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?


回答1:


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

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.

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.

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

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

1) Inline multiplexing

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) Mulitplexing over a single serial interface

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

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.

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) Multiplexing over multiple serial interfaces

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.

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



来源:https://stackoverflow.com/questions/19830279/using-gprs-and-gsm-simulatneously

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!