WARNING! dependency on: lace_cfgreader (branchpoint), lace_utils
[gnokii.git] / Docs / sample / gnokiirc
1 # This is a sample ~/.gnokiirc file.  Copy it into your
2 # home directory and name it .gnokiirc.
3 #
4
5 [global]
6
7 # Set port to the physical serial port used to connect to your phone
8 port = /dev/ttyS0
9
10 # Set model to the model number of your phone
11 model = 6110
12
13 # Initlength controls the number of characters sent to the
14 # phone during initialisation.  You can either set it to
15 # the word "default" or a positive integer.
16
17 # You can try setting this value if you want to connect
18 # to the phone quicker.  If you've never noticed the
19 # connection to be slow, it is suggested that you 
20 # leave this alone.  Read the initialisation code in fbus-xxxx
21 # to understand what this changes if you're curious.
22 initlength = default
23
24 # The type of the connection, for IR set this to infrared or irda.
25 # If you have 6210/6250/7110 phone and dau9p cable (the one you can
26 # use with 6100 series and cannot use hardware modem from the phone)
27 # you may want to use 'dau9p' value to get faster initialization.
28 connection = serial
29
30 # Set bindir to point to the location of the various gnokii binaries.
31 # In particular ensure that mgnokiidev is in this location, with
32 # permissions 4750, owned by root, group gnokii.  Ensure you
33 # are in the gnokii group and that the group exists...
34 bindir = /usr/local/sbin/
35
36 # Baudrate to use on serial port connections.
37 # Currently used only by models AT and BIP/CIMD. Defaults to 19200.
38 serial_baudrate = 19200
39
40 # Force waiting after each send character the specified usec time.
41 # Value -1 forces the fastest 'block' writing,
42 # value 0 writes each character separately without any explicite waiting,
43 # other positive values specify the appropriate 1/1000000 sec delaying.
44 # Siemens M20 requires at least "1"!  FIXME: Model-driven autodetection
45 #serial_write_usleep = 10000
46
47 # Force serial port handshaking mode, useful primarily for "AT" model.
48 # Gnokii "AT" model uses software handshake by default.
49 # Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3 wires)
50 #handshake = software
51
52 # If defined (not commented out by '#') it will quit Gnokii anytime
53 # when DCD line will drop.
54 require_dcd = 1
55
56 # Run the specified script(s) right after opening and initializing the device
57 # and before any communucation (right before closing for disconnect_script).
58 # You may find handy to use it to connect your modem to SMS Center
59 # when using BIP or CIMD protocols
60 # Non-absolute path is relative to the specific directory where gnokii is run!
61 #connect_script = /absolute/path/to/gnokii/Docs/sample/cimd-connect
62 #disconnect_script =
63
64 # Any entries in the following two sections will be set as environment
65 # variables when running the scripts.
66 # Handy for use for $VAR substitutions in your chat(8) script.
67 [connect_script]
68 TELEPHONE = 12345678
69 [disconnect_script]