+CME ERROR: 513

+CME ERROR: 513 SearchSearch
Author Message
Anonymous
 
Posted on Friday, July 08, 2005 - 03:19 am:   

Hello,

I am having a problem with a Sony Ericsson GC75 PCMCIA card, which I have purchased from Vodafone in Australia.

The NowSMS gateway works fine *only* if I run the supplied Vodafone application first. It is almost as if it is initialising the modem and after that, all is ok.

In an attempt to find out what is missing, I have been running AT commands from Teraterm. When I try this:

AT+COPS=?

which is supposed to show all the available networks, I get this response:

+CME ERROR: 513

I believe this is a vendor-specific error. But I am unable to find any information.

If I run the Vodafone app and try the same command again:

+COPS: (2,"vodafone AU","vodafone AU","50503"),,(0,1,2,3,4),(0,1,2)

+COPS: (1,"Telstra Mobile","Telstra Mobile","50501"),,(0,1,2,3,4),(0,1,2)

+COPS: (3,"YES OPTUS","YES OPTUS","50502"),,(0,1,2,3,4),(0,1,2)

OK

So I believe that all is fine, it is just that the Vodafone app is 'doing something' to startup the card, or at least to connect to the network.

Interestingly, if i quit the Vodafone app, and try the command again, it *works*. I can even issue ATDxxxxxxx (my mobile number) and have it call me.

Does anyone know what may be going on here? I am hoping it is simply an AT sequence that the vodafone app is sending, though I have the feeling it is something more. The app doesn't seem to care if i already have COM4 in use with Teraterm, and so it must be doing something 'under the covers'

Any ideas on this would be most appreciated!

Regards

Adam
Anonymous
 
Posted on Thursday, August 18, 2005 - 12:05 pm:   

I have also problem with the same card and with the same error.
When i first time insert the card in the laptop no fuction works
e.g i send the command for phone book
m_Ports.Write("AT+CPBR=1,200+CSCS\r");
or for sms messages
m_Ports.Write("AT+CMGF=1\r");
m_Ports.Write("AT+CMGL\r");

then nothing is displayed and this error occur .

for executing the application 2nd time , application works fine..

Can some one tell me why this come for the first time when card is inserted...??






Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4845
Registered: 10-2002
Posted on Thursday, September 01, 2005 - 07:59 pm:   

I'm not sure that this will work, but here is what I suspect to be the solution.

Try editing SMSGW.INI, and under the [Modem - xxx] section for the modem, add the following:

CommandPreInit1=AT+CFUN=1,0

If that doesn't work, try:

CommandPreInit1=AT+CFUN=1

Basically, it sounds like the modem is starting off powered down, and this needs to be done to power it up.

-bn
ashot shahbazian
New member
Username: Animatele

Post Number: 43
Registered: 06-2004
Posted on Saturday, September 10, 2005 - 02:27 am:   

We've had the same problem with Novatel Merlin cards. The card would "fall asleep" sort of, and not necessarily in the beginning.

Our solution was to run a port sniffer (we used Portmon) before attempting to send SMS. If the application was kept connected to the comport the modem would not suspend, no matter how long was the pause, even though the sniffer was not sending any AT commands to the modem.