Hello,

I tried configured kannel for siemens mc35i. Here is my configuration in
smskannel.conf:

# SMSC CONNECTIONS
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyS0
speed = 115200
port = 10050
connect-allow-ip = 127.0.0.1
log-file = "/home/simi/gateway/at.log"

...

# SIEMENS MODEM SETUP
group = modems
id = SIEMENS MC35i
name = "siemens_ mc35i"
detect-string = "SIEMENS"
detect-string2 = "MC35i"
init-string = "AT+CNMI=1,2,0,1,1"
enable-hwhs = "AT\\Q3"
need-sleep = true


And here is record from /home/simi/gateway/at.log

2011-01-28 08:32:35 [4041] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type

2011-01-28 08:32:35 [4041] [6] INFO: AT2[/dev/ttyS0]: opening device

2011-01-28 08:32:35 [4041] [6] DEBUG: AT2[/dev/ttyS0]: device opened. Telnet
mode = 0
2011-01-28 08:32:36 [4041] [6] DEBUG: AT2[/dev/ttyS0]: device opened

2011-01-28 08:32:36 [4041] [6] INFO: AT2[/dev/ttyS0]: speed set to 115200

2011-01-28 08:32:36 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M

2011-01-28 08:32:38 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M

2011-01-28 08:32:38 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK

2011-01-28 08:32:38 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M

2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK

2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M

2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- ATE0

2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK

2011-01-28 08:32:39 [4041] [6] DEBUG: AT2[/dev/ttyS0]: --> ATI^M

2011-01-28 08:32:40 [4041] [6] DEBUG: AT2[/dev/ttyS0]: <-- SIEMENS

2011-01-28 08:32:43 [4041] [6] ERROR: AT2[/dev/ttyS0]: Couldn't connect
(retrying in 10 seconds).
2011-01-28 08:32:53 [4041] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type

2011-01-28 08:32:53 [4041] [6] INFO: AT2[/dev/ttyS0]: opening device
2011-01-28 08:32:53 [4041] [6] WARNING: AT2[/dev/ttyS0]: trying to open
device with not closed device!!! Please report!!!
2011-01-28 08:32:53 [4041] [6] INFO: AT2[/dev/ttyS0]: Closing device
2011-01-28 08:32:53 [4041] [6] DEBUG: AT2[/dev/ttyS0]: device opened. Telnet
mode = 0

If I try open /dev/ttyS0 over serial terminal and I send command ATI^M I get
successfull first line with SIEMENS and second line with MC35i. So Any idea
why cannel here failed?


Thanks. Jan Simecky

Reply via email to