electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

SIM340 etc sending SMS from store


Post new topic  Reply to topic    EDAboard.com Forum Index -> Professional Hardware and Electronics Design -> SIM340 etc sending SMS from store
Author Message
maesoc



Joined: 07 Oct 2009
Posts: 4


Post15 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


Post16 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


Post16 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
Google Adsense




Post16 Oct 2009 13:37   

Ads




Back to top
fiolin



Joined: 22 Jul 2009
Posts: 27
Location: Uruguay


Post16 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


Post16 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


Post17 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


Post17 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
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Professional Hardware and Electronics Design -> SIM340 etc sending SMS from store
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Sending SMS from 8051 (6)
SENDING AND RECEIVING SMS FROM 89C51 UART (14)
sending sms from mobile using sonyericsson k750i (2)
sending sms from an 8086 microprocessor via a phone-URGENT (1)
Re: sending SMS from a mobile phone interfaced to PIC 16F84 (1)
sending SMS coding (1)
Sending Bulk SMS (4)
sending sms via internet (4)
Sending larger files by SMS (14)
PIC sending SMS... what is PDU? (13)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS