tags:

views:

602

answers:

4

hi all,

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

+1  A: 

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.

Thorsten Dittmar
A: 

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).

mandrake
A: 

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.

this. __curious_geek
Actually GPRS was made to support IP and PPP (X.25 in some cases). So general TCP and UDP packets works fine.Normally MMS messages go over GPRS as well.
mandrake
Right, MMS uses GPRS as transport. Majorly now a days GPRS is not preferred for TCP/UDP, it is done using EDGE or 3G.
this. __curious_geek
Both EDGE and 3G (WCDMA) still use GPRS for their packet transportation.
mandrake
A: 

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

Pavan Kumar