1.2.4.3. The connection Parameter -- Specifying the Connection Type between the PC and the Mobile Phone

The connection parameter specifies the type of the connection between the PC and the mobile phone.


1.2.4.3.1. AT Command Mode

If the AT command mode is used, no matter how the mobile phone is connected to the PC, the value of the connection parameter should be serial in Gnokii's configuration file:


model = AT
connection = serial


Note that the settings mentioned below are for non-AT command mode.


1.2.4.3.2. Serial Connection (RS-232 Connection)

If the mobile phone is connected to the PC via a serial port (RS-232 port), assign the value serial to the connection parameter in Gnokii's configuration file:


connection = serial


If the serial cable used to connect the mobile phone and the PC is Nokia's DLR-3 or DLR-3P, specify dlr3p as the value of the connection parameter:


connection = dlr3p


If your mobile phone is Nokia 6210, Nokia 6250 or Nokia 7110 and the serial cable is Nokia's DAU-9P, specifying dau9p as the value of the connection parameter will allow Gnokii to initialize faster:


connection = dau9p


1.2.4.3.3. Bluetooth / RFCOMM Connection

If the mobile phone is connected to the PC via Bluetooth, assign the value bluetooth to the connection parameter in Gnokii's configuration file:


connection = bluetooth


Only AT command mode can work with a RFCOMM connection. So, if you use a RFCOMM connection between the mobile phone and the PC, the value of the connection parameter should be set to serial.


1.2.4.3.4. Infrared (IrDA) Connection

If the mobile phone is connected to the PC via infrared (IrDA) and Gnokii's nk6100 driver is used to communicate with your mobile phone (see "Mobile Phone Models Supported by Gnokii" if you do not know which driver Gnokii uses to communicate with your mobile phone), specify the value infrared to the connection parameter in Gnokii's configuration file:


connection = infrared


If the nk6100 driver is not used, use the value irda:


connection = irda


1.2.4.3.5. USB Connection

If the mobile phone is connected to the PC via a USB connection and the cable used is DKU-2 from Nokia, you have two choices. The better choice is to use libusb:


connection = dku2libusb


If the Linux kernel supports the DKU-2 cable, you can use the second choice as shown below. More details are available in the readme file README-DKU2 located in the gnokii-version/Docs directory of the extracted source tarball, where version is the version of Gnokii you are using. (e.g. gnokii-0.6.14/Docs if the version of Gnokii is 0.6.14.)


connection = dku2


If the mobile phone is connected to the PC via a DKU-5 USB cable from Nokia, you should specify dku5 to the connection parameter in Gnokii's configuration file, like this:


connection = dku5


Some information about Linux's support of the USB cables for connecting mobile phones is available at http://wiki.gnokii.org/index.php/Cables.


Previous Page Page 6 of 12 Next Page


Feedback Form (ExpandCollapse)

What do you think about this web page?






(Optional) Please provide us more details. For example, suppose you select option 2 above, can you tell us specifically what information is missing? You can also suggest anything that can help us improve this web page.

(Optional) Your name:

(Optional) Your email address:

Please enter again to confirm:

Due to the amount of messages we received, we may not be able to reply to all messages.

A button for going back to the top of this page