Package modules :: Module contacts_dbussim
[hide private]
[frames] | no frames]

Module contacts_dbussim

source code


Synchronize with SIM card via DBUS (currently used as default contacts storage in SHR)

This file is part of Pisi.

Check these links for background information:
- U{http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.GSM.SIM.html;hb=HEAD}
- U{http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#data-types}
- U{http://wiki.openmoko.org/wiki/Dbus}

Pisi is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Pisi is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Pisi.  If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  SynchronizationModule
The implementation of the interface contacts.AbstractContactSynchronizationModule for SIM Card backend accesed via DBUS
Variables [hide private]
  DBUS_GSM_DEVICE = ['org.freesmartphone.ogsmd', '/org/freesmart...
Addressing information in DBUS
  DBUS_SIM = 'org.freesmartphone.GSM.SIM'
Addressing information in DBUS
  DBUS_CONTACTS = 'contacts'
Addressing information in DBUS
  DBUS_NAME_MOBILEPHONE_SUFFIX = '*'
String to be appended to an entry when phone number is of type 'mobile'
  DBUS_NAME_WORKPHONE_SUFFIX = '-'
String to be appended to an entry when phone number is of type 'work'
  DBUS_NAME_HOMEPHONE_SUFFIX = '+'
String to be appended to an entry when phone number is of type 'home'
  PHONE_TYPE_MOBILE = 0
  PHONE_TYPE_HOME = 1
  PHONE_TYPE_WORK = 2
  ACTIONID_ADD = 0
  ACTIONID_DELETE = 1
  ACTIONID_MODIFY = 2
  CONSOLE_PROGRESSBAR_WIDTH = 80
  FILEDOWNLOAD_TIMEOUT = 10
  FILEDOWNLOAD_TMPFILE = '/tmp/pisi-remotebuffer.data'
  FILEPATH_COPYING = '/opt/pisi/COPYING'
  GOOGLE_CALENDAR_APPNAME = 'pisi0.5'
  GOOGLE_CALENDAR_MAXRESULTS = 1000
  GOOGLE_CONTACTS_APPNAME = 'pisi0.5'
  GOOGLE_CONTACTS_MAXRESULTS = 1000
  ICS_BYTES_PER_ENTRY = 200
  MERGEMODE_FLUSH_A = 1
  MERGEMODE_FLUSH_B = 2
  MERGEMODE_MANUALCONFIRM = 5
  MERGEMODE_OVERWRITE_A = 3
  MERGEMODE_OVERWRITE_B = 4
  MERGEMODE_SKIP = 0
  MERGEMODE_STRINGS = ['Skip', 'Flush source 1', 'Flush source 2...
  MODE_CALENDAR = 0
  MODE_CONTACTS = 1
  MODE_STRINGS = ['calendar', 'contacts']
  PISI_AUTHORS = ['Esben Damgaard', 'Michael Pilgermann']
  PISI_COMMENTS = 'PISI is synchronizing information'
  PISI_DOCUMENTERS = ['Michael Pilgermann']
  PISI_HOMEPAGE = 'http://freshmeat.net/projects/pisiom'
  PISI_NAME = 'PISI'
  PISI_TRANSLATOR_CREDITS = None
  PISI_VERSION = '0.5'
  VCF_BYTES_PER_ENTRY = 200
  __package__ = 'modules'
Variables Details [hide private]

DBUS_GSM_DEVICE

Addressing information in DBUS

Value:
['org.freesmartphone.ogsmd', '/org/freesmartphone/GSM/Device']

MERGEMODE_STRINGS

Value:
['Skip',
 'Flush source 1',
 'Flush source 2',
 'Overwrite entry in source 1',
 'Overwrite entry in source 2',
 'Manual confirmation']