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