Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

SIM340 etc sending SMS from store

Status
Not open for further replies.

maesoc

Newbie level 3
Joined
Oct 7, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
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
 

fiolin

Member level 1
Joined
Jul 22, 2009
Messages
34
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Location
Uruguay
Activity points
1,426
Try send first AT+CPMS="SM","SM" and then AT+CMSS=1.
 

maesoc

Newbie level 3
Joined
Oct 7, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Thanks very much for the suggestion - unfortunately it still returns error 302.
Any other thoughts would be very welcome.
 

fiolin

Member level 1
Joined
Jul 22, 2009
Messages
34
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Location
Uruguay
Activity points
1,426
Error 302 means "operation not allowed" according sim300 AT command datasheet.
 

maesoc

Newbie level 3
Joined
Oct 7, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
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?
 

fiolin

Member level 1
Joined
Jul 22, 2009
Messages
34
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Location
Uruguay
Activity points
1,426
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).
 

maesoc

Newbie level 3
Joined
Oct 7, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top