gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

message -SM_Block Retry- loop


From: MHufnagel
Subject: message -SM_Block Retry- loop
Date: Tue, 30 Oct 2007 12:56:58 +0100

Hello gnokii-users,

I have aproblem with gnokii (all versions 0.6.X) Currently i use: 0.6.9

I want to run the deamon (smsd) to send sms from a mysql database. From 
time to time the deamon runs for 5 minutes. But the most time it generates 
a "SM_Block Retry" loop message from the beginning.

I used a Nokia 6610 phone with USB cable. This is my configuration:

***********
[global]
port = /dev/ttyUSB0
model = 6610
initlength = default
connection = dlr3p
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/local/sbin/

[connect_script]
  TELEPHONE = 12345678
[disconnect_script]

[logging]
debug = on
rlpdebug = off
xdebug = off

***********
the command echo "Hallo" | gnokii --sendsms 01738074XXX generates the same 
problem - but not allways. 1/10 are ok.

That's the log output:

address@hidden:/tmp/gnokii-0.6.9# smsd -u root -d gnokii -c localhost -m mysql
LOG: debug mask is 0x1
Lockfile /var/lock/LCK..ttyUSB0 is stale. Overriding it..
phone instance config:
model: 6610
port_device: /dev/ttyUSB0
connection_type: 2
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script: 
disconnect_script: 
rfcomm_cn: 1
sm_retry: on
Connecting
Serial device: opening device /dev/ttyUSB0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Serial device: opening device /dev/ttyUSB0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 0
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
SM_Block Retry - 1
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               | 
Serial device: closing device



Thanks for any help!


-- 
Mirko Hufnagel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]