Mayu
Mayu

Reputation: 63

Send SMS using GPRS

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

Upvotes: 1

Views: 13482

Answers (4)

Pavan Kumar
Pavan Kumar

Reputation: 21

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

Upvotes: 1

this. __curious_geek
this. __curious_geek

Reputation: 43217

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.

Upvotes: 3

mandrake
mandrake

Reputation: 1253

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

Upvotes: 0

Thorsten Dittmar
Thorsten Dittmar

Reputation: 56727

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.

Upvotes: 1

Related Questions