SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Wed Nov 06, 2024 02:40
SMSTools3 Community » Help and support Bottom

[answered] Motorola KRZR K1 and +CMS ERROR: 304

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jul 2009
Location: Germany
Hi all,

I've try sms server tools on Suse Linix SLES 9 and use my handphone Motorola KRZR K1 as modem (connected it to PC using its USB cable). SMS Server Tools 3.15

The installation and configuration was ok. But when I try to send a SMS to another handphone I got "+CMS ERROR: 304 (Invalid PDU mode parameter)" error.
But sometimes (very rar) smstools3 can send sms successfully.

My config


Lof file looks like this:


What could be causing this issue ?

Best Regards

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You have disabled handshaking (rtscts). Is this because it did not work at all?

Effective communication speed is 115200 which is a default value for baudrate. With high speed rtscts should always be used. Have you tried with lower speed, like baudrate = 9600?

In your log the sending fails two times but then second retry helps. My guess is that in first two sending PDU was distorted and modem did not recognize it as PDU. This may happen is there has been communication errors.

Member
Registered:
Jul 2009
Location: Germany
Topic owner
Hello keke,
Thank You for reply.
I have tried to send sms with
rtccts = yes and baudrate = 9600
Here is the log:


It is still unstable.
I don't think these settings help. But what do You mean: there has been communication errors?
Communication errors between PC and modem or communication errors between modem and GSM network?

Best Regards

Member
Registered:
Jul 2009
Location: Germany
Topic owner
Hi,
I've tried to send the second sms and it failed:



Is it possible to increase the retrys >3 if the send command fails?
Best Regards.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Retry count is currently fixed. Usually when sending has failed, there is no reason to retry without some delay. For example after 10 minutes messages can be moved from the failed folder back to the outgoing. This need external script.

I was thinking that there is errors in the communication between PC and modem. However, signal level is not very good. It's possible that errors happen in GSM communication.

If you can make one more test, change your modem setup in the smsd.conf:
init = ATE1+CMEE=1
pre_init = no


Restart and retry sending. With this setup you can verify the PDU which is sent back from the modem. If there is a difference, problem is in serial communication. But if PDU's are exactly the same and still sending fails, problem is in GSM network side.

I assume that the PDU is correct because sometimes sending goes fine. I can still check your PDU if you show it in the log. In this case use private tags to protect it.

Member
Registered:
Jul 2009
Location: Germany
Topic owner
Hi,
thanks.
I've tried Your settings
init = ATE1+CMEE=1
pre_init = no

Here is the log:
Hidden private text.



Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Thanks.

The PDU is broken when received from the modem. This surely is a communication problem between PC and modem, but I'm not sure how to fix it. :( Some characters are lost and this is random.

Probably you could try to set modem setting send_delay = 0. This slightly changes how communication works, with 0 or -1 whole string is sent using one command instead multiple commands and delay between them.

I do not assume that this helps, but right now there is not much to do...

Member
Registered:
Jul 2009
Location: Germany
Topic owner
Thank You very much, keke
I try Your setttings one more time.
Do You think, if I use different USB-Cable, does this help?
Or is this a linux usb port implementation problem?

Best Regards.

Member
Registered:
Jul 2009
Location: Germany
Topic owner
If i set send_delay = 0 or -1
I get error "No such file or directory"


As we definitely need sms tool to send sms from linux, can the USB GSM-Modem resolve this problem? And which model will definitely works with sms tools 3?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
This is low speed communication and USB cable should be very bad if it's the reason.

Your problem is in USB serial port driver, but unfortunately I'm not able to give good instructions how to fix it. "No such file or directory" means that the device interface has gone and it's very fatal error.

Generally speaking, USB is often problematic in GNU/Linux. In some systems this driver works well, but in some other systems it causes troubles. Old RS-232 interface is much more stable.

I cannot recommend any exact model of a modem. However, all modems should work and modems usually work better than phones. With new phones, like S60 based smart devices, messages cannot be read, phone can only used for sending.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.