1
votes

In our project presently we are sending and receiving SMS messages using GSM system(mean, by some third party SMS service provider through URL ). but now we need to migrate it to GPRS system.

that, we need to replace GSM by GPRS system. we do not know how the architecture will be. In GSM message was send and received through URL from out application using HTTP API's.

How can we use GPRS to send and recieve messages , please tell the way to do it.

thanks in advance , Mahesh

4
What is the diference between the method you talk here?? and how do you know that the url is gsm system?Shoban
What do you mean by gprs system?Shoban
afaik gprs is for packet data, while sms are part of the GMS standard and are therefore not sent via gprs but by using the old GSM system. sending messages using GPRS need a protocol on top of e.g. TCP or UDP.Joachim Kerschbaumer

4 Answers

3
votes

First, GPRS can never send an SMS. You can connect to any SMS gateway using GPRS which can send SMS for you, GPRS is basically internet service for GSM networks, it has a different purpose altogether. GPRS is HTTP transport, nothing more.

I request you to explain the use-case scenario of how you want to send an SMS ? Given this people here can better help you and come up with correct feasible solution.

1
votes

Basically you will need to configure your device so that it can "dial" an GPRS connection. That is like dialing a modem on a PC. Then, you should be able to send and receive data using TCP oder UDP like you would do with any other "normal" application. Some devices "dial" the GPRS connection automatically when you try to connect to a host using TCP, for other devices, you'll have to dial manually.

You just need to think in terms of "how can I exchange messages using TCP or UDP between my device and my server" now.

1
votes

For SAGEM HiLo based GPRS Modem, you can use command

AT+CGSMS=2 // Which means Prefer Packet Domain for SMS, if not available use Circuit Switched

0
votes

What I'm guessing that you are using is a SMS gateway service provider which can route incoming short messages via a HTTP/GET or POST to your destination url.

I'm using both a sms gateway service and a direct GPRS connection for my applications. In both cases they send log information. The difference is that using GPRS does not require a gateway service (since you are not sending short messages over gprs).

You just need to set up a socket server that the modem can connect to. Fortunately I found a modem with a built-in python interpreter so it was very easy to write a client (not so incidentally the socket server was also written in python).