Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / Docs / sample / gnokiirc
index 845aca8..bbecf77 100644 (file)
@@ -21,10 +21,7 @@ model = 6110
 # 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.
+# The type of the connection, for IR set this to infrared
 connection = serial
 
 # Set bindir to point to the location of the various gnokii binaries.
@@ -32,3 +29,45 @@ connection = serial
 # permissions 4750, owned by root, group gnokii.  Ensure you
 # are in the gnokii group and that the group exists...
 bindir = /usr/local/sbin/
+
+# Baudrate to use on serial port connections.
+# Currently used only by models AT and BIP/CIMD. Defaults to 19200.
+serial_baudrate = 19200
+
+# 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: Autodetect
+#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
+connect_script = echo x
+disconnect_script = echo y
+
+# 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 = 01234567
+[disconnect_script]
+
+
+[CIMD]
+
+# This section is used only if "model" is set to BIP or CIMD.
+# Set here your authorization pair given you by the operator.
+name = USERNAME
+password = PASSWORD