Config
Contents |
Supported phones
You can assume that your phone is supported, however you will get very limited functionality with gnokii if the phone doesn't support Nokia's FBUS protocol and if it supports only a small subset of AT commands (this is the case of Windows Mobile phones, iPhone, Symbian 3rd Edition phones and probably Blackberry) in which case you might be able to access contacts and events using the SyncML protocol. See also Known limitations.
The sample gnokiirc has extensive comments and lists all available parameters, but in most cases you only need to set model
, connection
and port
. The file to do configure gnokii is located in $XDG_CONFIG_HOME/gnokii/config
(in most cases $HOME/.config/gnokii/config
) or in $XDG_CONFIG_DIRS/gnokii/config
(mostly /etc/xdg/gnokii/config
). Legacy versions were configured in $HOME/.gnokiirc
or /etc/gnokiirc
, these files won't be read without further actions in current versions.
Remember that every config line needs to be within a particular section. If in doubt place is into [global]
section and refer to the sample gnokiirc.
There is also an experimental configuration assistant named gnokii-configure
written in python+glade in utils/.
Model
If you have a fairly modern phone you should use the following model setting in your config file:
-
model = AT
, if you have non-Nokia phone, -
model = series40
, if you have Nokia non-Symbian phone (see device matrix for the reference), -
model = gnapplet
, if you have Nokia Symbian Series60 prior to 3rd Edition phone (see device matrix for the reference), -
model = AT
, for all other Nokia models.
If you have some older Nokia (like 6210) phone you may try using its brand name, eg. model = 6210
.
For supported Smart Card readers use model = APDU
.
Connection
Bluetooth
For Bluetooth connection it is suggested to use connection = bluetooth
and port = aa:bb:cc:dd:ee:ff
(use your phone's Bluetooth address) and a suitable value for rfcomm_channel = ?
(it is autodetected if omitted, but connection is slightly faster if you explicitly provide a channel; you can look at the debug output or use sdptool search SP
or sdptool search DUN
or sdptool browse
to find the right channel).
As an alternative you may use rfcomm
to setup the communication and use connection = serial
and port = /dev/rfcomm0
(or whatever device you created, see man rfcomm
).
Infrared
For infrared connection it is suggested to use connection = irda
and the port
parameter is ignored.
Use the irda_string =
parameter to specify a device name if you need to differentiate among several devices in range.
As an alternative you may use irattach
to setup the communication and use connection = serial
and port = /dev/ircomm0
(or whatever device you created, see man irattach
).
USB / RS-232
For RS-232 and USB connections, the name depends on type of cable and phone model.
Some values are connection = serial
to use the AT protocol and connection = dku2libusb
to use the FBUS protocol (if supported by cable and phone).
Smartcard Reader
For supported Smart Card readers use connection = APDU
.
Port
For USB connections, port name depends on type of cable: some cables create a /dev/ttyACM0
, others create a /dev/ttyUSB0
.
When using connection = dku2libusb
, port = 1
chooses the first phone, port = 2
the second, and so on.
See /var/log/messages
and Cables for details.
For Bluetooth and infrared connections see above.
On Windows the port parameter is most likely a virtual COM port created by the drivers, eg. port = COM1:
or port = \\.\COM10
for numbers greater than 9 or a Bluetooth address.
For pcsc connections, port =
can be the name of a reader or a number that identifies a reader configured in reader.conf
.
Tested phones
See the Configuration category page for a list of all documented configurations.
If your phone model is not listed below, it will probably work with one of the settings above.
From Nokia
- Nokia 1210
- Nokia 2610
- Nokia 3100
- Nokia 3100b/3120b
- Nokia 3220
- Nokia 3720c
- Nokia 5110
- Nokia 5140
- Nokia 5140i
- Nokia 6020
- Nokia 6021
- Nokia 6030
- Nokia 6060
- Nokia 6070
- Nokia 6101 / 6100
- Nokia 6120-c
- Nokia 6131
- Nokia 6136
- Nokia 6170
- Nokia 6210
- Nokia 6230
- Nokia 6230i
- Nokia 6234
- Nokia 6250
- Nokia 6280
- Nokia 6300
- Nokia 6303
- Nokia 6310
- Nokia 6310i
- Nokia 6510
- Nokia 6610i
- Nokia C2-01
- Nokia Premicell (aka 09i)
- Symbian s60 (Nokia 6600, 6260)
Older Nokia phones
- Nokia 6110|6130|6150|6190|5110|5130|5190|3210|3310|3330|3360|3390|3410|8210|8250|8290|8850|RPM-1
- Nokia 7110|6210|6250|7190
- Nokia 2110|2140|6080 (currently not built)
From other vendors
- Huawei (partial support)
- iTegno 3000
- LG
- Motorola
- Sagem
- Sagem my W-8 (partial support, improved since gnokii 0.6.24)
- Sagem myX-2
- Samsung
- Samsung SGH-X680 (partial support)
- Samsung SGH-C100
- Samsung SGH-U600
- Siemens TC35i Revision 02.07
- Sierra Wireless, Inc. MC8755
- SonyEricsson category
- Sony Ericsson K550i (partial support)
- Sony Ericsson K750i (partial support)
- Sony Ericsson K800i (partial support)
- Sony Ericsson T630 (partial support)
- Sony Ericsson t68i (partial support)
- ZTE USB 3G Modems eg: Vodafone K3565, Telstra MF633, etc (partial support)