How to configure Fastrack M1306B to send SMS over GPRS


#1

Hi All,
I have a problem to send SMS over GPRS, I tried these commands:
at+cgatt=1
OK
at+cgsms=0
OK
at+cmgs=“phone number”

Testing (ctrl-Z)
ERROR
Some body help me to solve this problem , thanks before.


#2

For a start, you need to enable the extended result codes to see specifically what this “ERROR” is:

AT+CRC=1


#3

Thank-you for your advise, I tried your advise but I got same ERROR, here is the commands:

OK
at+cmgf=1
OK
at+cgatt=1
OK
at+cgsms=0
OK
at+crc=1
OK
at+cmgs=“phone number”

Testing (CTRL-Z)
ERROR

I am waiting your another aadvise, thanks before.
regards


#4

Try with AT+CMEE=1


#5

Thank-you for the advised, here is the result:

OK
at+cmgf=1
OK
at+cgatt=1
OK
at+cgsms=0
OK
at+crc=1
OK
at+CMEE=1
OK
at+cmgs=“phone number”

Testing [CTRl-Z]
+CMS ERROR: 50

Any comments ?


#6

+CSM ERROR: 50 means “Requested facility not subscribed”

Are you certain that you should be able to send SMS over GPRS with your SIM?

If you use AT+CGSMS=2 instead, the SMS sending will failover to the usual circuit switched if GPRS is not available.

You might want to actually activate a GPRS session before you try as well.
Check +CGDCONT and +CGACT


#7

Should I configure with IP or PPP ??


#8

You haven’t answered the basic question:

If your SIM (ie, your subscription with your provider) doesn’t support it, then nothing you can do with AT commands or any other configuration of the terminal can help!


#9

The SIM is supported for the GPRS.


#10

That wasn’t the question!

Does “the SIM” support SMS over GPRS?

It might support GPRS, but might not allow SMS over GPRS…


#11

Yes the SIM/operator support SMS over GSM, I just tried with the celullar hand-set !
BTW is it possible this M1306B configure for point-to-point communication over GPRS ? How the configuration is and how to configure the M1306B ?


#12

But how do you know that it used GPRS to send the SMS?
How do you know that it didn’t just use the “normal” GSM channels?

What sort of connection - “raw” sockets? FTP? HTTP? or what?

In an Open-AT Application, or with AT commands?


#13

No, that is wrong!

Refer to AT+CGSMS in the AT Commands manual.


#14

I’m not sure why one might want to send SMS over GPRS, though… :question: :confused:

I suppose only if your service provider happens to offer an advantageous tariff :question:


#15

It’s not so much whether they’re fixed as whether they are Public IP addresses;
If you don’t have a Public IP address, there is no guarantee that any other device (whether GPRS or not) will be able to connect to it.

You’d only strictly need one Public IP address - but then you’d have to ensure that all contacts are initiated by the other unit.

By default, yes - but you can always pay for static IP addresses, and you can pay for Public IP addresses.

This still requires the IP address to be a Public address


#16

In fact, outside the private network, it is guaranteed that nothing will be able to access the private addresses!

And I don’t think there’s any guarantee that devices on the same GPRS network will necessarily share the same private IP address space…


#17

See: viewtopic.php?f=16&t=1931&p=7153&hilit=private+sms#p7153