1
2
3 '''
4 Some static data.
5
6 @var Connections: List of connection types.
7 @var MemoryValueTypes: Types of memory entry values.
8 @var CalendarTypes: Types of calendar entries.
9 @var CalendarValueTypes: Types of calendar entry values.
10 @var TodoPriorities: Todo priorities.
11 @var TodoValueTypes: Types of todo entry values.
12 @var InternationalPrefixes: List of known internaltional prefixes.
13 '''
14 __author__ = 'Michal Čihař'
15 __email__ = 'michal@cihar.com'
16 __license__ = '''
17 Copyright © 2003 - 2010 Michal Čihař
18
19 This program is free software; you can redistribute it and/or modify it
20 under the terms of the GNU General Public License version 2 as published by
21 the Free Software Foundation.
22
23 This program is distributed in the hope that it will be useful, but WITHOUT
24 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
26 more details.
27
28 You should have received a copy of the GNU General Public License along with
29 this program; if not, write to the Free Software Foundation, Inc.,
30 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 '''
32
33 from gammu._gammu import Errors, ErrorNumbers
34
35 Connections = [
36 'at',
37 'at19200',
38 'at115200',
39 'fbus',
40 'fbusirda',
41 'fbusdlr3',
42 'fbusdku5',
43 'fbususb',
44 'dku2phonet',
45 'dku5fbus2',
46 'fbuspl2303',
47 'mbus',
48 'irdaphonet',
49 'irdaat',
50 'irdaobex',
51 'irdagnapbus',
52 'bluerffbus',
53 'bluefbus',
54 'bluerfphonet',
55 'bluephonet',
56 'blueat',
57 'bluerfat',
58 'blueobex',
59 'bluerfobex',
60 'phonetblue',
61 'fbusblue',
62 'bluerfgnapbus',
63 ]
64
65 MemoryValueTypes = [
66 'Number_General',
67 'Number_Mobile',
68 'Number_Work',
69 'Number_Fax',
70 'Number_Home',
71 'Number_Pager',
72 'Number_Other',
73 'Text_Note',
74 'Text_Postal',
75 'Text_WorkPostal',
76 'Text_Email',
77 'Text_Email2',
78 'Text_URL',
79 'Date',
80 'Caller_Group',
81 'Text_Name',
82 'Text_LastName',
83 'Text_FirstName',
84 'Text_Company',
85 'Text_JobTitle',
86 'Category',
87 'Private',
88 'Text_StreetAddress',
89 'Text_City',
90 'Text_State',
91 'Text_Zip',
92 'Text_Country',
93 'Text_WorkStreetAddress',
94 'Text_WorkCity',
95 'Text_WorkState',
96 'Text_WorkZip',
97 'Text_WorkCountry',
98 'Text_Custom1',
99 'Text_Custom2',
100 'Text_Custom3',
101 'Text_Custom4',
102 'RingtoneID',
103 'PictureID',
104 'Text_UserID',
105 'CallLength',
106 'Text_LUID',
107 'LastModified',
108 'Text_NickName',
109 'Text_FormalName',
110 'PushToTalkID',
111 'Photo',
112 'Number_Mobile_Home',
113 'Number_Mobile_Work',
114 ]
115
116 CalendarTypes = [
117 'REMINDER',
118 'CALL',
119 'MEETING',
120 'BIRTHDAY',
121 'MEMO',
122 'TRAVEL',
123 'VACATION',
124 'T_ATHL',
125 'T_BALL',
126 'T_CYCL',
127 'T_BUDO',
128 'T_DANC',
129 'T_EXTR',
130 'T_FOOT',
131 'T_GOLF',
132 'T_GYM',
133 'T_HORS',
134 'T_HOCK',
135 'T_RACE',
136 'T_RUGB',
137 'T_SAIL',
138 'T_STRE',
139 'T_SWIM',
140 'T_TENN',
141 'T_TRAV',
142 'T_WINT',
143 'ALARM',
144 'DAILY_ALARM',
145 'SHOPPING',
146 ]
147
148 CalendarValueTypes = [
149 'START_DATETIME',
150 'END_DATETIME',
151 'TONE_ALARM_DATETIME',
152 'SILENT_ALARM_DATETIME',
153 'RECURRANCE',
154 'TEXT',
155 'DESCRIPTION',
156 'LOCATION',
157 'PHONE',
158 'PRIVATE',
159 'CONTACTID',
160 'REPEAT_DAYOFWEEK',
161 'REPEAT_DAY',
162 'REPEAT_WEEKOFMONTH',
163 'REPEAT_MONTH',
164 'REPEAT_FREQUENCY',
165 'REPEAT_STARTDATE',
166 'REPEAT_STOPDATE',
167 'LUID',
168 'LAST_MODIFIED',
169 ]
170
171 TodoPriorities = [
172 'High',
173 'Medium',
174 'Low',
175 'None',
176 ]
177
178 TodoValueTypes = [
179 'END_DATETIME',
180 'START_DATETIME',
181 'COMPLETED_DATETIME',
182 'COMPLETED',
183 'ALARM_DATETIME',
184 'SILENT_ALARM_DATETIME',
185 'TEXT',
186 'DESCRIPTION',
187 'LOCATION',
188 'LUID',
189 'PRIVATE',
190 'CATEGORY',
191 'CONTACTID',
192 'PHONE',
193 'LAST_MODIFIED',
194 ]
195
196 InternationalPrefixes = [
197 '+1',
198 '+20',
199
200 '+210',
201 '+211',
202 '+212',
203 '+213',
204 '+214',
205 '+215',
206 '+216',
207 '+217',
208 '+218',
209 '+219',
210
211
212 '+220',
213 '+221',
214 '+222',
215 '+223',
216 '+224',
217 '+225',
218 '+226',
219 '+227',
220 '+228',
221 '+229',
222
223
224 '+230',
225 '+231',
226 '+232',
227 '+233',
228 '+234',
229 '+235',
230 '+236',
231 '+237',
232 '+238',
233 '+239',
234
235
236 '+240',
237 '+241',
238 '+242',
239 '+243',
240 '+244',
241 '+245',
242 '+246',
243 '+247',
244 '+248',
245 '+249',
246
247
248 '+250',
249 '+251',
250 '+252',
251 '+253',
252 '+254',
253 '+255',
254 '+256',
255 '+257',
256 '+258',
257 '+259',
258
259
260 '+260',
261 '+261',
262 '+262',
263 '+263',
264 '+264',
265 '+265',
266 '+266',
267 '+267',
268 '+268',
269 '+269',
270 '+27',
271 '+28',
272
273 '+290',
274 '+291',
275 '+292',
276 '+293',
277 '+294',
278 '+295',
279 '+296',
280 '+297',
281 '+298',
282 '+299',
283 '+30',
284 '+31',
285 '+32',
286 '+33',
287 '+34',
288
289 '+350',
290 '+351',
291 '+352',
292 '+353',
293 '+354',
294 '+355',
295 '+356',
296 '+357',
297 '+358',
298 '+359',
299 '+36',
300
301 '+370',
302 '+371',
303 '+372',
304 '+373',
305 '+374',
306 '+375',
307 '+376',
308 '+377',
309 '+378',
310 '+379',
311
312
313 '+380',
314 '+381',
315 '+382',
316 '+383',
317 '+384',
318 '+385',
319 '+386',
320 '+387',
321 '+388',
322 '+389',
323 '+39',
324 '+40',
325 '+41',
326
327 '+420',
328 '+421',
329 '+422',
330 '+423',
331 '+424',
332 '+425',
333 '+426',
334 '+427',
335 '+428',
336 '+429',
337 '+43',
338 '+44',
339 '+45',
340 '+46',
341 '+47',
342 '+48',
343 '+49',
344
345 '+500',
346 '+501',
347 '+502',
348 '+503',
349 '+504',
350 '+505',
351 '+506',
352 '+507',
353 '+508',
354 '+509',
355 '+51',
356 '+52',
357 '+53',
358 '+54',
359 '+55',
360 '+56',
361 '+57',
362 '+58',
363
364 '+590',
365 '+591',
366 '+592',
367 '+593',
368 '+594',
369 '+595',
370 '+596',
371 '+597',
372 '+598',
373 '+599',
374 '+60',
375 '+61',
376 '+62',
377 '+63',
378 '+64',
379 '+65',
380 '+66',
381
382 '+670',
383 '+671',
384 '+672',
385 '+673',
386 '+674',
387 '+675',
388 '+676',
389 '+677',
390 '+678',
391 '+679',
392
393
394 '+680',
395 '+681',
396 '+682',
397 '+683',
398 '+684',
399 '+685',
400 '+686',
401 '+687',
402 '+688',
403 '+689',
404
405
406 '+690',
407 '+691',
408 '+692',
409 '+693',
410 '+694',
411 '+695',
412 '+696',
413 '+697',
414 '+698',
415 '+699',
416 '+7',
417
418 '+800',
419 '+801',
420 '+802',
421 '+803',
422 '+804',
423 '+805',
424 '+806',
425 '+807',
426 '+808',
427 '+809',
428 '+81',
429 '+82',
430 '+83',
431 '+84',
432
433 '+850',
434 '+851',
435 '+852',
436 '+853',
437 '+854',
438 '+855',
439 '+856',
440 '+857',
441 '+858',
442 '+859',
443 '+86',
444
445 '+870',
446 '+871',
447 '+872',
448 '+873',
449 '+874',
450 '+875',
451 '+876',
452 '+877',
453 '+878',
454 '+879',
455
456
457 '+880',
458 '+881',
459 '+882',
460 '+883',
461 '+884',
462 '+885',
463 '+886',
464 '+887',
465 '+888',
466 '+889',
467 '+89',
468 '+90',
469 '+91',
470 '+92',
471 '+93',
472 '+94',
473 '+95',
474
475 '+960',
476 '+961',
477 '+962',
478 '+963',
479 '+964',
480 '+965',
481 '+966',
482 '+967',
483 '+968',
484 '+969',
485
486
487 '+970',
488 '+971',
489 '+972',
490 '+973',
491 '+974',
492 '+975',
493 '+976',
494 '+977',
495 '+978',
496 '+979',
497 '+98',
498
499 '+990',
500 '+991',
501 '+992',
502 '+993',
503 '+994',
504 '+995',
505 '+996',
506 '+997',
507 '+998',
508 '+999',
509 ]
510