| Author |
Message |
maesoc
Joined: 07 Oct 2009 Posts: 4
|
15 Oct 2009 12:23 SIM340 etc sending SMS from store |
|
|
|
|
Hi Folks,
I'm new to this so please forgive my lack of knowledge.
Basically I am trying to send an SMS from the simcard (using AT commands and a SIM eval kit) . I have put the simcard in a normal mobile phone and cancelled all passwords etc - entered a phone number in the contacts and stored a message on the simcard but when I try send a saved SMS using AT+CMSS=1 I get error 302 or other ways I get error 515. Any advise?
Thanks
|
|
| Back to top |
|
 |
fiolin
Joined: 22 Jul 2009 Posts: 27 Location: Uruguay
|
16 Oct 2009 11:56 SIM340 etc sending SMS from store |
|
|
|
|
| Try send first AT+CPMS="SM","SM" and then AT+CMSS=1.
|
|
| Back to top |
|
 |
maesoc
Joined: 07 Oct 2009 Posts: 4
|
16 Oct 2009 13:37 Re: SIM340 etc sending SMS from store |
|
|
|
|
Thanks very much for the suggestion - unfortunately it still returns error 302.
Any other thoughts would be very welcome.
|
|
| Back to top |
|
 |
Google AdSense

|
16 Oct 2009 13:37 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
fiolin
Joined: 22 Jul 2009 Posts: 27 Location: Uruguay
|
16 Oct 2009 21:37 SIM340 etc sending SMS from store |
|
|
|
|
| Error 302 means "operation not allowed" according sim300 AT command datasheet.
|
|
| Back to top |
|
 |
maesoc
Joined: 07 Oct 2009 Posts: 4
|
16 Oct 2009 22:15 Re: SIM340 etc sending SMS from store |
|
|
|
|
Do you think that means it is not possible to send an SMS which is stored on the sim card?
Basically what I was trying to do was to send an SMS to the eval kit (sim340) then get it to send it back to the sender using AT commands. Am I trying to do the impossible?
|
|
| Back to top |
|
 |
fiolin
Joined: 22 Jul 2009 Posts: 27 Location: Uruguay
|
17 Oct 2009 11:55 Re: SIM340 etc sending SMS from store |
|
|
|
|
I have a eval kit like yours and the first time that I have used it I could not send msg. the solution was to change the simcacrd and to put that of another phone company. Make sure that your simcard is unblocked.
Send AT+CPIN? if responded +CPIN READY means simcard unblock, if responded +CPIN:SIM SIM you should introduce the pin number sending AT+CPIN=nnnn (nnnn is pin number).
|
|
| Back to top |
|
 |
maesoc
Joined: 07 Oct 2009 Posts: 4
|
17 Oct 2009 15:02 Re: SIM340 etc sending SMS from store |
|
|
|
|
Hi again Fiolin
I can send messages OK if I do the following;
AT+CMGW="my other mobile number here"
>test message here
+CMGW: 3
OK
AT+CMSS=3
+CMSS: 52
OK
The problem I am having is like I said previously, getting the eval kit to send an SMS message stored on the sim card.
I don't think it is a PIN issue. I can also make voice calls from the eval kit using AT commands.
|
|
| Back to top |
|
 |