[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nokia 5110
From: |
Jean-Marc Acke |
Subject: |
Nokia 5110 |
Date: |
Thu, 25 Apr 2002 16:02:55 +0200 |
Hi,
I'm using a Nokia 5110
connected to a Xircom CrediCard Modem 56 (GSM Connection
Kit).
I tried to setup
gnokii-0.4.0pr19 on a Linux 2.2.19 (slackware 8.0) but when I start the gnokii
--monitor
I get the following output
:
GNOKII Version
0.4.0pre19
Opened configuration file /root/.gnokiirc
Added new section
global
Adding key/value port//dev/ttyS3
Adding key/value
model/5110
Adding key/value initlength/default
Adding key/value
connection/serial
Adding key/value bindir//usr/local/sbin/
Adding
key/value use_locking/yes
Adding key/value serial_baudrate/9600
Adding
key/value serial_write_usleep/10000
Adding key/value
handshake/software
Added new section connect_script
Added new section
disconnect_script
Serial device: opening device /dev/ttyS3
Serial device:
setting speed to 115200
Serial device: setting RTS to low and DTR to
high
Identifying...
Message sent: 0x64 / 0x0004
00 01 00
10
|
SM_Block Retry - 0
Message sent: 0x64 / 0x0004
00 01 00
10
|
SM_Block Retry - 1
Message sent: 0x64 / 0x0004
00 01 00
10
|
SM_Block Retry - 2
Getting phone info...
Message sent: 0xd1 /
0x0005
00 01 00 03
00
|
SM_Block Retry - 0
Message sent: 0xd1 / 0x0005
00 01 00 03
00
|
SM_Block Retry - 1
Message sent: 0xd1 / 0x0005
00 01 00 03
00
|
SM_Block Retry - 2
Telephone interface init failed!
Quitting.
serial_close_all() executed
The strange part is; when I use
minicom I'm able to send AT commands to the 5110 and it works perfectly
.....
Has somebody a suggestion
?????
My gnookiirc looks like this
:
# This is a sample ~/.gnokiirc
file. Copy it into your
# home directory and name it
.gnokiirc.
#
[global]
# Set port to the physical
serial port used to connect to your pho
port = /dev/ttyS3
# Set model to the model number
of your phone
model = 5110
# Initlength controls the
number of characters sent to the
# phone during initialisation. You can
either set it to
# the word "default" or a positive integer.
#
# You
can try setting this value if you want to connect
# to the phone
quicker. If you've never noticed the
# connection to be slow, it is
suggested that you
# leave this alone. Read the initialisation code in
fbus-xxxx
# to understand what this changes if you're curious.
initlength
= default
# The type of the connection,
for IR set this to infrared or irda.
# If you have 6210/6250/7110 phone and
dau9p cable (the one you can
# use with 6100 series and cannot use hardware
modem from the phone)
# you may want to use 'dau9p' value to get faster
initialization.
connection = serial
# Set bindir to point to the
location of the various gnokii binaries.
# In particular ensure that
mgnokiidev is in this location, with
# permissions 4750, owned by root, group
gnokii. Ensure you
# are in the gnokii group and that the group
exists...
bindir = /usr/local/sbin/
# Set this to 'yes' if you want
gnokii to set and check the lock file in
# /var/lock directory. It avoids
potential conflicts with other serial
# port software (eg. minicom). If you
have wrong permissions for the
# directory, a warning will be generated. If
you don't want a lockfile, set
# it to 'no'.
use_locking =
yes
# Baudrate to use on serial
port connections.
# Currently used only by models AT and BIP/CIMD. Defaults
to 19200.
serial_baudrate = 9600
# Force waiting after each send
character the specified usec time.
# Value -1 forces the fastest 'block'
writing,
# value 0 writes each character separately without any explicite
waiting,
# other positive values specify the appropriate 1/1000000 sec
delaying.
# Siemens M20 requires at least "1"! FIXME: Model-driven
autodetection
serial_write_usleep = 10000
# Force serial port handshaking
mode, useful primarily for "AT" model.
# Gnokii "AT" model uses software
handshake by default.
# Possible values: hardware (RTS/CTS - 7 wires) or
software (XON/XOFF - 3 wires)
handshake = software
# If defined (not commented out
by '#') it will quit Gnokii anytime
# when DCD line will
drop.
#require_dcd = 1
# Run the specified script(s)
right after opening and initializing the device
# and before any
communucation (right before closing for disconnect_script).
# You may find
handy to use it to connect your modem to SMS Center
# when using BIP or CIMD
protocols
# Non-absolute path is relative to the specific directory where
gnokii is run!
#connect_script =
/absolute/path/to/gnokii/Docs/sample/cimd-connect
#disconnect_script
=
# Any entries in the following
two sections will be set as environment
# variables when running the
scripts.
# Handy for use for $VAR substitutions in your chat(8)
script.
[connect_script]
#TELEPHONE =
0475496728
[disconnect_script]
Jean-Marc
Acke
- Nokia 5110,
Jean-Marc Acke <=