Branch update for mygnokii2002_03_17_19_29nl
[gnokii.git] / Docs / examples / gnokiirc
1 # This is a sample ~/.gnokiirc file.
2 # In Unix/Linux: copy it into your home directory and name it .gnokiirc
3 # or into /etc and name it gnokiirc
4 # In Win32: copy it into directory with (my)gnokii.exe
5
6 [global]
7
8 port = /dev/ttyS1
9 model = auto
10 initlength = 30
11 connection = fbus
12 bindir = /usr/local/sbin/
13 synchronizetime = yes
14 ;logfile = mygnokiilog
15 ;use_locking = yes
16
17 [gnokiid]
18
19 port = /dev/ttyS1
20 model = auto
21 initlength = 30
22 connection = fbus
23 bindir = /usr/local/sbin/
24 synchronizetime = yes
25
26 [receivesms]
27 path = c:\
28
29 #                           DESCRIPTION OF PARAMETERS
30
31 # PORT
32 # -----------
33 # Set port to the physical serial port used to connect to your phone
34 # In Linux /dev/ttyS0, /dev/ttyS1, etc.
35 # In Win32 COM1:, COM2:, etc.
36
37 # MODEL
38 # -----------
39 # Set model to the model number of your phone
40 # In this moment:
41 #
42 # for Nokia:
43 # 6185
44 # 3210|3310|5110|5130|5190|6110|6130|6150|6190|8210|8850
45 # 6210|7110
46 #
47 # for AT phones:
48 # at
49 #
50 # Please notice, that in some phones (like 7110)
51 # it will be (now or in the future) provided double support - AT commands
52 # or protocol specific for phone model (fbus, mbus, etc.)
53 #
54 # You can also use model "auto" and gnokii will try to find your
55 # phone model on "port" port. This option is during development and
56 # can not work excellent...Let'say - with all new supported Nokia phone
57 # connected over FBUS/DLR3 cable you will not have any problem.
58 # With other can be and it will have to be set manually.
59
60 # INITLENGTH
61 # -----------
62 # Initlength controls the number of characters sent to the
63 # phone during initialisation.  You can either set it to
64 # the word "default" or a positive integer.
65 #
66 # You can try setting this value if you want to connect
67 # to the phone quicker.  If you've never noticed the
68 # connection to be slow, it is suggested that you 
69 # leave this alone.  Read the initialisation code in fbus-xxxx
70 # to understand what this changes if you're curious.
71
72 # CONNECTION
73 # -----------
74 # The type of the connection. Can be:
75 #
76 # @"mbus". Models:
77 # 6210|6250|7110
78 # 6185
79 # 3210|3310|3330|5110|5130|5190|6110|6130|6150|6190|8210|8850
80 #
81 # "infrared" (for direct infrared connection - in 8210/8250 use two players
82 # snake menu to enter into it). Models:
83 # 6110|6130|6150|8210|8850
84 #
85 # "tekram210" (for direct infrared connection using Tekram 210
86 # - in 8210/8250 use two players snake menu to enter into it). Now in Unix only.
87 # Models:
88 # 6110|6130|6150|8210|8850
89 #
90 # "irda" (infrared over Irda sockets - now in Unix only)
91 # Models:
92 # 6210|6250|7110
93 #
94 # @"fbus". Models:
95 # 6210|6250|7110
96 # 3210|3310|3330|5110|5130|5190|6110|6130|6150|6190|8210|8850
97 #
98 # @"dlr3". Models:
99 # 6210|6250|7110
100 #
101 # @"at". Models:
102 # at
103
104 # BINDIR
105 # -----------
106 # Set bindir to point to the location of the various gnokii binaries.
107 # In particular ensure that mgnokiidev is in this location, with
108 # permissions 4754, owned by root, group gnokii.  Ensure you
109 # are in the gnokii group and that the group exists...
110 # Setting not important for win32
111
112 # SYNCHRONIZETIME
113 # -----------
114 # set it to "yes", if want to have set time from computer to phone
115 # each time, when use gnokii, xgnokii or gnokiid
116 # Function works, of course, only then, when setting time is implemented
117 # for your phone
118 # With some phones (if it's enabled or if you generally changed date/time
119 # during session with phone), after soft reset (without asking for PIN)
120 # phone can lost date/time settings and ask for them or disable clock
121 # on the phone screen. Seen for 6150 and 6210
122
123 # LOGFILE
124 # -----------
125 # When there are problems with mygnokii, you have two ways
126 # to help in resolving them:
127 # 1.compiling mygnokii with debug and sending dump to marcin-wiacek@topnet.pl
128 # 2.using this option. Mygnokii will be slower, because during work will
129 #   create file with name set here with short
130 #   info about transmission. Send it to marcin-wiacek@topnet.pl
131 # Method 1 is better. When not possible (for example, when have only
132 # compiled binary version), use 2.
133
134 # USE_LOCKING
135 # -----------
136 # Under Unix set this to 'yes' if you want gnokii to set and check the
137 # lock file in /var/lock directory. It avoids potential conflicts with
138 # other serial port software (eg. minicom). If you have wrong permissions
139 # for the directory, a warning will be generated. If you don't want a lockfile,
140 # set it to 'no'.
141
142 #                                 EXAMPLES
143
144 #1.Nokia 5110, fbus cable on "/dev/ttyS1" port with gnokii/xgnokii
145 #  Gnokiid uses "default" config
146 #[global]
147 #port=/dev/ttyS1
148 #model=5110
149 #connection=fbus
150
151 #2.Nokia 5110 working with NCDS (win32) on "com1:" port with gnokii
152 #  Gnokiid uses "default" config
153 #[global]
154 #port=com1:
155 #model=ATGSM
156
157 #3.Nokia 7110 and dlr-3 cable. It's connected to "/dev/ttyS1" port.
158 #  First we want to run gnokiiid and connect to phone with fbus.
159 #  Then run gnokii/xgnokii and work over gnokiid (for testing gnokii
160 #  AT emulator and AT module - in normal work gnokiid is not required, because
161 #  7110 with dlr3 has own AT commands interpreter).
162 #[global]
163 #port=/dev/gnokii
164 #model=ATGSM
165 #[gnokiid]
166 #port=/dev/ttyS1
167 #model=7110
168 #connection=dlr3
169
170 #4.Nokia 7110 and dau9p cable. It's connected to "/dev/ttyS1" port.
171 #  Gnokii/xgnokii work using fbus protocol (can't use AT commands
172 #  from 7110, when use dau9p)
173 #  Gnokiid uses "default" config
174 #[global]
175 #port=/dev/ttyS1
176 #model=7110
177 #connection=fbus
178
179 #5.Nokia 7110 and dlr-3 cable. We want to connect with it using fbus
180 #  Gnokiid from gnokii is not required (with dlr3 can use AT commands built in
181 #  into phone, not our small ;-) AT interpreter)
182 #[global]
183 #port=/dev/ttyS1
184 #model=7110
185 #connection=dlr3