Siemens TC65 throwing 535 error for CMGS

Siemens TC65 throwing 535 error for CMGS SearchSearch
Author Message
T V
New member
Username: Tiruvpmtiru

Post Number: 1
Registered: 09-2009
Posted on Thursday, September 03, 2009 - 08:51 am:   

I have a TC65 Siemens modem. It worked great for 2 days with new SIM card and after restart 2 or 3 times, it is giving ERROR 535 ( PS busy) when I try to send SMS using AT+CMGS command or AT+CMSS. However device is receiving messages. Also, LED is in blinking mode.

Any clues on why device is in Busy mode 535?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1200
Registered: 08-2008
Posted on Tuesday, September 08, 2009 - 03:47 pm:   

It is unusual for this to happen immediately after the modem is restarted.

One thing we have learned over the years is that some of these modems are very sensitive and easily confused.

But to be stuck in a confused state after a restart is unusual.

The one hint that would come to my mind is the AT+CGSMS command. A lot of operators don't have SMS over GPRS support enabled on their networks ... and it confuses a lot of modems. Try AT+CGSMS=3 in your init ... maybe that will help.

--
Des
NowSMS Support
T V
New member
Username: Tiruvpmtiru

Post Number: 4
Registered: 09-2009
Posted on Tuesday, September 08, 2009 - 07:09 pm:   

Hello Des,

I tried but it is still failing. Is it possible that some other program or something is holding up outgoing stack. BTW, I am able to send SMSs if I put the same SIM in my personal phone. Do you think I should disable like data plan on my SIM etc...? Not sure if data plan is enabled on my SIM and I have NOT configured any GPRS setting on my modem either.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1211
Registered: 08-2008
Posted on Tuesday, September 08, 2009 - 07:22 pm:   

Hi TV,

Something sounds fundamentally wrong.

Another program or driver could be an issue. That is a good point.

Many USB devices expose multiple COM ports that can be used for different purposes.

For example, one port might be used for data connectivity.

Another port might be used for SMS sending/receiving.

And there may be additional ports used for proprietary command and control. (For example, the software that comes with the modem.)

The software that comes with the modem may be trying to automatically open a data connection. This activity may prevent other applications from being able to use certain modem functionality.

Check to see if the modem driver has installed software that automatically runs when your computer starts (often there will be added tray icons). Try stopping that software.

To find what ports the modem driver has added, go into the Windows System Device Manager in the Control Panel.

Maybe you will find that only one of the ports works with SMS while others return errors.

You may want to try the trial version of NowSMS and see if works. It is always possible the modem is a dud.

--
Des
NowSMS Support
T V
New member
Username: Tiruvpmtiru

Post Number: 5
Registered: 09-2009
Posted on Tuesday, September 08, 2009 - 09:54 pm:   

Hello Des,

I am connect the terminal using Serial port.

Thanks,
Tiru
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1218
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 03:58 pm:   

Hi Tiru,

There's a lot less to go wrong when using the serial port.

Show me the commands (including init) and responses that you are getting back, and maybe that will give me an idea of something else to suggest.

--
Des
NowSMS Support
T V
New member
Username: Tiruvpmtiru

Post Number: 6
Registered: 09-2009
Posted on Wednesday, September 09, 2009 - 04:59 pm:   

at
OK
at+cmgf=1
OK
at+csca?
+CSCA: "+13123149810",145

OK
at+cmgl="all"
+CMGL: 1,"STO SENT","15105434280",,
this is test from storage


OK
at+cmgs="15105434280"
> this is test
ERROR
at+cmee=1
OK
at+cmgs="15105434280"
hello
+CMS ERROR: 535
at+cpin?
+CPIN: READY

OK
at+cmee=2
OK
at+cmgs="15105434280"
this i s tst
+CMS ERROR: PS busy
at+cpms?
+CPMS: "SM",1,30,"SM",1,30,"SM",1,30

OK
at+csq
+CSQ: 9,5

OK
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1221
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 05:06 pm:   

It looks like you are missing CTRL-Z to terminate your message string, and this has left the modem confused.

--
Des
NowSMS Support
T V
New member
Username: Tiruvpmtiru

Post Number: 7
Registered: 09-2009
Posted on Wednesday, September 09, 2009 - 06:18 pm:   

Hello Des,

Looks like Cntl-Z are disappeared when I cut and pasted the text from my hyperterminal.
image/bmp
hyperterm.bmp (1323.1 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1224
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 07:14 pm:   

That is bizarre.

Other than adding AT+CGSMS=3 to your init, like I suggested earlier ... I'd suggest deleting that "STO SENT" message on the SIM. Maybe it's confusing the modem.

--
Des
NowSMS Support
T V
New member
Username: Tiruvpmtiru

Post Number: 8
Registered: 09-2009
Posted on Wednesday, September 09, 2009 - 08:13 pm:   

Hello Des,

Currently, modem is set to CGSMS=3 and I deleted the message from storage but still returning same error.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1227
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 08:38 pm:   

I'm assuming that you've turned the modem off and back on again?

Before you do that, you could try a reset ...

AT+CFUN=0

wait a bit

AT+CFUN=1

Some modems really don't like AT+CFUN=0, and it might end up totally unresponsive after this command, requiring a power off.

I can't think of anything else.

I would be very curious to see if NowSMS works on it.

--
Des
NowSMS Support
T V
New member
Username: Tiruvpmtiru

Post Number: 9
Registered: 09-2009
Posted on Thursday, September 10, 2009 - 11:12 pm:   

Hello Des,

I tried with AT+CFUN=1 but no luck yet. Thank you very much for the help. Let me know if you want me to try anymore modes.

Thanks