Package gammu
[hide private]
[frames] | no frames]

Package gammu

source code

Phone communication libary - python wrapper for Gammu library.


Version: Gammu 1.31.90, python-gammu 1.31.90

Author: Michal \xc4\x8ciha\xc5\x99

License: Copyright \xc2\xa9 2003 - 2010 Michal \xc4\x8ciha\xc5\x99 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Submodules [hide private]

Classes [hide private]
  ERR_ABORTED
Exception corresponding to gammu error ERR_ABORTED.
  ERR_BADFEATURE
Exception corresponding to gammu error ERR_BADFEATURE.
  ERR_BUG
Exception corresponding to gammu error ERR_BUG.
  ERR_BUSY
Exception corresponding to gammu error ERR_BUSY.
  ERR_CANCELED
Exception corresponding to gammu error ERR_CANCELED.
  ERR_CANTOPENFILE
Exception corresponding to gammu error ERR_CANTOPENFILE.
  ERR_CORRUPTED
Exception corresponding to gammu error ERR_CORRUPTED.
  ERR_COULDNT_CONNECT
Exception corresponding to gammu error ERR_COULDNT_CONNECT.
  ERR_COULDNT_RESOLVE
Exception corresponding to gammu error ERR_COULDNT_RESOLVE.
  ERR_DATACONVERTED
Exception corresponding to gammu error ERR_DATACONVERTED.
  ERR_DEVICEBUSY
Exception corresponding to gammu error ERR_DEVICEBUSY.
  ERR_DEVICECHANGESPEEDERROR
Exception corresponding to gammu error ERR_DEVICECHANGESPEEDERROR.
  ERR_DEVICEDTRRTSERROR
Exception corresponding to gammu error ERR_DEVICEDTRRTSERROR.
  ERR_DEVICELOCKED
Exception corresponding to gammu error ERR_DEVICELOCKED.
  ERR_DEVICENODRIVER
Exception corresponding to gammu error ERR_DEVICENODRIVER.
  ERR_DEVICENOPERMISSION
Exception corresponding to gammu error ERR_DEVICENOPERMISSION.
  ERR_DEVICENOTEXIST
Exception corresponding to gammu error ERR_DEVICENOTEXIST.
  ERR_DEVICENOTWORK
Exception corresponding to gammu error ERR_DEVICENOTWORK.
  ERR_DEVICEOPENERROR
Exception corresponding to gammu error ERR_DEVICEOPENERROR.
  ERR_DEVICEPARITYERROR
Exception corresponding to gammu error ERR_DEVICEPARITYERROR.
  ERR_DEVICEREADERROR
Exception corresponding to gammu error ERR_DEVICEREADERROR.
  ERR_DEVICEWRITEERROR
Exception corresponding to gammu error ERR_DEVICEWRITEERROR.
  ERR_DISABLED
Exception corresponding to gammu error ERR_DISABLED.
  ERR_EMPTY
Exception corresponding to gammu error ERR_EMPTY.
  ERR_EMPTYSMSC
Exception corresponding to gammu error ERR_EMPTYSMSC.
  ERR_FILEALREADYEXIST
Exception corresponding to gammu error ERR_FILEALREADYEXIST.
  ERR_FILENOTEXIST
Exception corresponding to gammu error ERR_FILENOTEXIST.
  ERR_FILENOTSUPPORTED
Exception corresponding to gammu error ERR_FILENOTSUPPORTED.
  ERR_FOLDERNOTEMPTY
Exception corresponding to gammu error ERR_FOLDERNOTEMPTY.
  ERR_FOLDERPART
Exception corresponding to gammu error ERR_FOLDERPART.
  ERR_FRAMENOTREQUESTED
Exception corresponding to gammu error ERR_FRAMENOTREQUESTED.
  ERR_FULL
Exception corresponding to gammu error ERR_FULL.
  ERR_GETTING_SMSC
Exception corresponding to gammu error ERR_GETTING_SMSC.
  ERR_GNAPPLETWRONG
Exception corresponding to gammu error ERR_GNAPPLETWRONG.
  ERR_INSIDEPHONEMENU
Exception corresponding to gammu error ERR_INSIDEPHONEMENU.
  ERR_INSTALL_NOT_FOUND
Exception corresponding to gammu error ERR_INSTALL_NOT_FOUND.
  ERR_INVALIDDATA
Exception corresponding to gammu error ERR_INVALIDDATA.
  ERR_INVALIDDATETIME
Exception corresponding to gammu error ERR_INVALIDDATETIME.
  ERR_INVALIDLOCATION
Exception corresponding to gammu error ERR_INVALIDLOCATION.
  ERR_MEMORY
Exception corresponding to gammu error ERR_MEMORY.
  ERR_MOREMEMORY
Exception corresponding to gammu error ERR_MOREMEMORY.
  ERR_NEEDANOTHERANSWER
Exception corresponding to gammu error ERR_NEEDANOTHERANSWER.
  ERR_NONE
Exception corresponding to gammu error ERR_NONE.
  ERR_NONE_SECTION
Exception corresponding to gammu error ERR_NONE_SECTION.
  ERR_NOSERVICE
Exception corresponding to gammu error ERR_NOSERVICE.
  ERR_NOSIM
Exception corresponding to gammu error ERR_NOSIM.
  ERR_NOTCONNECTED
Exception corresponding to gammu error ERR_NOTCONNECTED.
  ERR_NOTIMPLEMENTED
Exception corresponding to gammu error ERR_NOTIMPLEMENTED.
  ERR_NOTRUNNING
Exception corresponding to gammu error ERR_NOTRUNNING.
  ERR_NOTSUPPORTED
Exception corresponding to gammu error ERR_NOTSUPPORTED.
  ERR_OTHERCONNECTIONREQUIRED
Exception corresponding to gammu error ERR_OTHERCONNECTIONREQUIRED.
  ERR_PERMISSION
Exception corresponding to gammu error ERR_PERMISSION.
  ERR_PHONEOFF
Exception corresponding to gammu error ERR_PHONEOFF.
  ERR_PHONE_INTERNAL
Exception corresponding to gammu error ERR_PHONE_INTERNAL.
  ERR_READ_ONLY
Exception corresponding to gammu error ERR_READ_ONLY.
  ERR_SECURITYERROR
Exception corresponding to gammu error ERR_SECURITYERROR.
  ERR_SHOULDBEFILE
Exception corresponding to gammu error ERR_SHOULDBEFILE.
  ERR_SHOULDBEFOLDER
Exception corresponding to gammu error ERR_SHOULDBEFOLDER.
  ERR_SOURCENOTAVAILABLE
Exception corresponding to gammu error ERR_SOURCENOTAVAILABLE.
  ERR_SPECIFYCHANNEL
Exception corresponding to gammu error ERR_SPECIFYCHANNEL.
  ERR_TIMEOUT
Exception corresponding to gammu error ERR_TIMEOUT.
  ERR_UNCONFIGURED
Exception corresponding to gammu error ERR_UNCONFIGURED.
  ERR_UNKNOWN
Exception corresponding to gammu error ERR_UNKNOWN.
  ERR_UNKNOWNCONNECTIONTYPESTRING
Exception corresponding to gammu error ERR_UNKNOWNCONNECTIONTYPESTRING.
  ERR_UNKNOWNFRAME
Exception corresponding to gammu error ERR_UNKNOWNFRAME.
  ERR_UNKNOWNMODELSTRING
Exception corresponding to gammu error ERR_UNKNOWNMODELSTRING.
  ERR_UNKNOWNRESPONSE
Exception corresponding to gammu error ERR_UNKNOWNRESPONSE.
  ERR_USING_DEFAULTS
Exception corresponding to gammu error ERR_USING_DEFAULTS.
  ERR_WORKINPROGRESS
Exception corresponding to gammu error ERR_WORKINPROGRESS.
  ERR_WRITING_FILE
Exception corresponding to gammu error ERR_WRITING_FILE.
  ERR_WRONGCRC
Exception corresponding to gammu error ERR_WRONGCRC.
  ERR_WRONGFOLDER
Exception corresponding to gammu error ERR_WRONGFOLDER.
  GSMError
Generic class as parent for all gammu exceptions.
Variables [hide private]
  __email__ = 'michal@cihar.com'
  osname = 'Linux'
  flags = 2
  ErrorNumbers = {1: 'ERR_NONE', 2: 'ERR_DEVICEOPENERROR', 3: 'E...
  Errors = {'ERR_ABORTED': 70, 'ERR_BADFEATURE': 61, 'ERR_BUG': ...
  GSMCountries = {'202': 'Greece', '204': 'Netherlands', '206': ...
  GSMNetworks = {'200 053': '', '200 054': '', '200 066': '', '2...
  __package__ = 'gammu'
Variables Details [hide private]

ErrorNumbers

Value:
{1: 'ERR_NONE',
 2: 'ERR_DEVICEOPENERROR',
 3: 'ERR_DEVICELOCKED',
 4: 'ERR_DEVICENOTEXIST',
 5: 'ERR_DEVICEBUSY',
 6: 'ERR_DEVICENOPERMISSION',
 7: 'ERR_DEVICENODRIVER',
 8: 'ERR_DEVICENOTWORK',
...

Errors

Value:
{'ERR_ABORTED': 70,
 'ERR_BADFEATURE': 61,
 'ERR_BUG': 37,
 'ERR_BUSY': 66,
 'ERR_CANCELED': 38,
 'ERR_CANTOPENFILE': 28,
 'ERR_CORRUPTED': 60,
 'ERR_COULDNT_CONNECT': 67,
...

GSMCountries

Value:
{'202': 'Greece',
 '204': 'Netherlands',
 '206': 'Belgium',
 '208': 'France',
 '212': 'Monaco',
 '213': 'Andorra',
 '214': 'Spain',
 '216': 'Hungary',
...

GSMNetworks

Value:
{'200 053': '',
 '200 054': '',
 '200 066': '',
 '202 01': 'Cosmote',
 '202 05': 'Vodafone',
 '202 09': 'Wind',
 '202 10': 'Wind',
 '204 01': '',
...