SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Mon Mar 01, 2021 06:28
SMSTools3 Community » Help and support Bottom

[answered] WAVECOM randomly hangs

  This topic is locked

Page:  1

Author Post
Member
Registered:
Nov 2010
Location: Lohja, Finland
Operating system name and version: Debian 5.0.8
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: WAVECOM Fastrack Xtend GPRS
Interface: serial

This WAVECOM unit had all kinds of trouble when used with a USB link, so a serial cable has now been in use for a few weeks. However, the unit still hangs seemingly at random after prolonged use.

The log file always reports the same thing:
-> AT
Command is sent, waiting for the answer
put_command expected (OK)|(ERROR), timeout occurred
<-

At this point, restarting sms3 to reset the modem doesn't work. The unit remains completely mute until power cycled. The problem will repeat itself every 2 or 3 days.

Here's the config. send_handshake_select used to be "no" because it made the USB link a bit more stable. It doesn't seem to affect how often the device hangs when connected via serial.

devices = GSM1

logfile = /var/log/smsd.log
loglevel = 4
smart_logging = yes
stats = /var/spool/sms/stats
store_received_pdu = 3
hangup_incoming_call = yes
voicecall_hangup_ath = yes
datetime_format = %Y-%m-%d %H:%M:%S

alarmhandler = /usr/local/bin/alarmhandler
eventhandler = /usr/local/bin/eventhandler
regular_run = /usr/local/bin/regular_run
regular_run_interval = 60

[GSM1]
device = /dev/ttyS0
baudrate = 115200
rtscts = yes
init = AT+CNMI=1,0,0,2,0
#send_handshake_select = no  # this tweak was for ttyACM0, testing without
primary_memory = SM
secondary_memory = SR
report_device_details = yes
incoming = yes
mode = new
smsc = 358451100100
pin = **** # removed
cs_convert = yes
report = yes
 
 
'smsdconf' Syntax Highlight powered by GeSHi


Elsewhere on the site it was suggested that an unstable power supply can cause unexplained behaviour. However, this unit is powered through a heavy duty Fiskars UPS and the supplied power brick.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Three months ago any long string (> 100 characters) caused the problem, and then serial interface was used. I assume that this issue was fixed after you upgraded Debian from 5.0.6 to 5.0.8, right?

I do not know how to fix your problem :(. If possible, you could try to run this modem on completely different machine, and also run some other modem on your current Debian server, to see what is broken or bad, and what is not.

In some cases, some modems may hang even when they are not actually broken. This has been very unusual, but for example with Telit devices this has happened about once per year. Because of this, I have made a "watchdog circuit", which is used to cycle the power. If you want to, I may publish a circuit and software of this cadget.

  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.