Hi All,

I am using Cygwin for Windows Vista and a Nokia 5310 handset.
Here is my kannel.conf entry:-

group = smsc
smsc = at
smsc-id=nokia5310
modemtype = nokiaphone
device = /dev/COM34
speed = 9600

include="modems.conf"

and modems.conf entry:-


group = modems

id = nokiaphone

name = modemnok

detect-string = nokia

#need-sleep = true

init-string = "AT+CPMS=?"

speed=9600

How ever when I enter ./bearerbox -v 1 sidkannel.conf, I get the following
log:-

$ ./bearerbox -v 1 sidkannel.conf
2009-09-08 10:36:42 [9288] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl =
 0
2009-09-08 10:36:42 [9288] [0] WARNING: DLR: using default 'internal' for
storag
e type.
2009-09-08 10:36:42 [9288] [0] INFO: DLR using storage type: internal
2009-09-08 10:36:42 [9288] [0] INFO: Added logfile `/sid.log' with level
`1'.
2009-09-08 10:36:42 [9288] [0] INFO: Started access logfile `/access.log'.
2009-09-08 10:36:42 [9288] [0] INFO: SSL not supported, no SSL
initialization do
ne.
2009-09-08 10:36:42 [9288] [0] INFO: HTTP: Opening server at port 13000.
2009-09-08 10:36:42 [9288] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using d
efault (100).
2009-09-08 10:36:42 [9288] [0] INFO: Set SMS resend frequency to 60 seconds.
2009-09-08 10:36:42 [9288] [0] INFO: SMS resend retry set to unlimited.
2009-09-08 10:36:42 [9288] [0] INFO: DLR rerouting for smsc id <nokia5310>
disab
led.
2009-09-08 10:36:42 [9288] [0] INFO: AT2[nokia5310]: configuration shows
modemty
pe <nokiaphone>
2009-09-08 10:36:42 [9288] [0] INFO: AT2[nokia5310]: read modem definition
for <
modemnok>
2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: opening device
2009-09-08 10:36:42 [9288] [0] INFO:
----------------------------------------
2009-09-08 10:36:42 [9288] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2009-09-08 10:36:42 [9288] [6] ERROR: AT2[nokia5310]: at_data_link: fail to
set
termios attribute
2009-09-08 10:36:42 [9288] [6] ERROR: System error 25: Inappropriate ioctl
for d
evice
2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: Logging in
2009-09-08 10:36:42 [9288] [0] INFO: MAIN: Start-up done, entering mainloop
2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: init device
2009-09-08 10:36:42 [9288] [6] ERROR: AT2[nokia5310]: at_data_link: fail to
set
termios attribute
2009-09-08 10:36:42 [9288] [6] ERROR: System error 25: Inappropriate ioctl
for d
evice
2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: speed set to 9600
2009-09-08 10:36:46 [9288] [6] ERROR: AT2[nokia5310]: Wrong or no answer to
ATZ,
 ignoring
2009-09-08 10:36:50 [9288] [6] ERROR: AT2[nokia5310]: Wrong or no answer to
AT.
Trying again

What is a Termios attribute and icotl? How can I set it? What could be the
issue?



Thanks and Regards

Siddhartha

Reply via email to