Atgen driver

From GnokiiWiki
Jump to: navigation, search

The atgen driver supports phones that use the AT protocol.

Configurations known to work

To use this driver put in gnokiirc

# port = see below
model = AT   # or AT-HW to use hardware handshake
connection = serial

On Linux, if the correct modules are loaded, a device will be created:

port = /dev/rfcomm0 # Bluetooth
port = /dev/ircomm0 # infrared
port = /dev/ttyACM0 # USB cable
port = /dev/ttyUSB0 # USB cable, refer to your dmesg output to choose the correct one
port = /dev/ttyS0   # RS-232 cable

On my system (Ubuntu) I need to give the following commands to have these devices:

# rfcomm bind 0 aa:bb:cc:dd:ee:dd # Bluetooth

The other possibility for bluetooth is to use the following configuration values:

port = aa:bb:cc:dd:ee:dd # phone BT mac address
connection = bluetooth

Please note that while Nokia uses channel 1 for serial communication, Sony-Ericsson uses channel 3 (add it as the last argument to to command above; 1 is default)

# irattach irda0 -s # infrared

On Windows you always need to use a COM port:

port = COMn:        # replace "n" with the number assigned by the driver

When using a virtual port, to know the number assigned by the driver look for an icon in the System Tray or open the Hardware Properties in the Control Panel. In most cases this number can be changed.

Additional information

This driver has specific code for quirks of:

Standard specs for this protocol are found in:

  • ETSI TS 100 916, formerly 3GPP TS 07.07, for most commands except SMS and CB
  • ETSI TS 100 585, formerly GSM 07.05, for Short Message Service and Cell Broadcast Service

They are freely downloadable in PDF format from the ETSI website (registration by email required).