Michal Čihař - Blog Archives for python-gammu

Gammu test version 1.25.90

While being on DebConf 9 I managed to do some work on Gammu, the famous tool for getting access to data in cell phones. The greatest feature of this release is reducing memory consumption by 800 MiB. Other code changes are much smaller, but there is also another important change - I now use Git for development, you can git clone git://gitorious.org/gammu/mainline.git.

Full list of changes:

  • Fixed getting firmware revision on AT phones (bug #951).
  • Added support for home/work mobile number (bug #952).
  • Fixed handling of error response for security status in AT.
  • Fixed segfault on systems with very low memory limits.
  • Development now goes on in Git repository, please check README.
  • 6510 driver now dynamically allocates memory for file caches, what reduces Gammu memory usage by 800 MiB.
  • Added testcases for AT+CNMI replies.
  • Fixed range parsing in AT engine.
  • Added reconnect support in PostgreSQL driver in SMSD.
  • Gammu debug level no longer can be controlled separately in SMSD.
  • Fix loop when Nokia phone does not allow to access files (bug #954).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu stable version 1.25.0

Gammu 1.25.0 is out! It does not bring any new outstanding features, just lot of bugfixes, especially in SMS decoding.

Full list of changes:

  • Retry on timeout of usb transfer (bug #940).
  • Disable AT OBEX for Motorola PEBL U6 (bug #939).
  • Disable AT OBEX for Samsung J700 (bug #948).
  • Empty memory entry has length 0 (bug #947).
  • Handle some more fields from Nokia phonebook (bug #946), thanks to Will Sowerbutts.
  • Fix distutils build (bug #916).
  • Detect when phone does not support ATE1 (bug #918).
  • Do not use OBEX on Motorola L7 (bug #912).
  • Reinclude full SMS text in comments in backup (bug #905).
  • Disable AT OBEX for Samsung J750 and J700 (bug #856).
  • Avoid shadowing C++ bool definition (bug #920).
  • Do not disable CLIP for all SE phones.
  • Add ID for Nokia 1209.
  • Catch busy error from Nokia phones (bug #932, thanks to Walter Doekes).
  • Fix code problems caught by GCC 4.5.
  • Compile static libraries with -fPIC (they might be later linked into shared ones) (bug #909).
  • Handle own number error code in 6510 driver (bug #910).
  • Add ID for Nokia 5220 (bug #910).
  • Handle SMSC error code in 6510 driver (bug #910).
  • Disable gcc warnings about non literal format strings (bug #901).
  • Add more fuzzy logic to detect bad encoding from phone (bug #874).
  • Add ID for Nokia 7500 and Nokia 7210s.
  • Improve searching for Bluetooth stack on OS X.
  • Fix ctype compile time warnings on NetBSD (bug #908).
  • Nokia 3110c has SMS on filesystem (bug #904).
  • Add ID for Nokia 5130 (bug #911).
  • Faster reading of Nokia filesystem.
  • New PDU decoder which properly parses PDU data.
  • AT driver uses new PDU decoder.
  • 6510 driver uses new PDU decoder and understands most formats of filesystem Nokia SMS messages (bug #911).
  • Fix checking for MPBR (bug #873).
  • Fix reading of calls with wrong timestamp (bug #872).
  • Increase timeout for IrDA phonet (bug #867).
  • Better detect some weird phone states (bug #866).
  • Fix handling of caller group in Python bindings (bug #870).
  • Correctly detect empty entries from Motorola.
  • Better error reporting from at-charset test.
  • smsd-inject now shows ID of injected message.
  • Fix decoding of date in Nokia phonebooks (bug #876).
  • Fix detection of SMS message memories in AT (bug #875).
  • Improve documentation for savefile (bug #893).
  • Add stricter check for DBI version (bug #894).

You can download from usual place: http://cihar.com/gammu/.

Debian users will find packages in unstable soon, SUSE, Fedora and Mandriva users can check repository in OpenSuse Build Service and Ubuntu in my PPA.

Gammu test version 1.24.92

Being busy with real life, it is quite hard for me to follow release early, release often principle. However today I found some time to bring you Gammu 1.24.92. This time only bug fixes are included, starting with C++ compatibility and ending with various fixes, especially for AT driver.

Full list of changes:

  • Fix distutils build (bug #916).
  • Detect when phone does not support ATE1 (bug #918).
  • Do not use OBEX on Motorola L7 (bug #912).
  • Reinclude full SMS text in comments in backup (bug #905).
  • Disable AT OBEX for Samsung J750 and J700 (bug #856).
  • Avoid shadowing C++ bool definition (bug #920).
  • Do not disable CLIP for all SE phones.
  • Add ID for Nokia 1209.
  • Catch busy error from Nokia phones (bug #932, thanks to Walter Doekes).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu test version 1.24.91

I finally find time to make another release of Gammu. This time there are major changes in SMS decoding, especially for recent Nokia phones, what should fix several problems seen with previous code. Besides this there is usual bunch of bug fixes.

Full list of changes follows:

  • Fix code problems caught by GCC 4.5.
  • Compile static libraries with -fPIC (they might be later linked into shared ones) (bug #909).
  • Handle own number error code in 6510 driver (bug #910).
  • Add ID for Nokia 5220 (bug #910).
  • Handle SMSC error code in 6510 driver (bug #910).
  • Disable gcc warnings about non literal format strings (bug #901).
  • Add more fuzzy logic to detect bad encoding from phone (bug #874).
  • Add ID for Nokia 7500 and Nokia 7210s.
  • Improve searching for Bluetooth stack on OS X.
  • Fix ctype compile time warnings on NetBSD (bug #908).
  • Nokia 3110c has SMS on filesystem (bug #904).
  • Add ID for Nokia 5130 (bug #911).
  • Faster reading of Nokia filesystem.
  • New PDU decoder which properly parses PDU data.
  • AT driver uses new PDU decoder.
  • 6510 driver uses new PDU decoder and understands most formats of filesystem Nokia SMS messages (bug #911).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu test version 1.24.90

I finally find time to make another release of Gammu. This time it is really just bug fixing and I will stay in this mode for some time, because I have simply too much things to do in real life.

Full list of changes follows:

  • Fix checking for MPBR (bug #873).
  • Fix reading of calls with wrong timestamp (bug #872).
  • Increase timeout for IrDA phonet (bug #867).
  • Better detect some weird phone states (bug #866).
  • Fix handling of caller group in Python bindings (bug #870).
  • Correctly detect empty entries from Motorola.
  • Better error reporting from at-charset test.
  • smsd-inject now shows ID of injected message.
  • Fix decoding of date in Nokia phonebooks (bug #876).
  • Fix detection of SMS message memories in AT (bug #875).
  • Improve documentation for savefile (bug #893).
  • Add stricter check for DBI version (bug #894).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu stable version 1.24.0

Gammu 1.24.0 is out! It does not bring any new outstanding features, just small optimizations in SMSD, documentation improvements and various bug fixes.

Full list of changes:

  • Better detect Bluetooth ports on Samsung (bug #862).
  • Ignore security errors on AT init (needed for Huawei).
  • LUID reading requires IrMC profile.
  • Locations for GlobeTrotter 3G+ start at 0 (bug #847).
  • More verbose logging of delivery reports (bug #824).
  • Increase default DeliveryReportDelay (bug #824).
  • Fixed handling of SMS locations (bug #853).
  • PostgreSQL backend now supports IDs for RunOnReceive.
  • RunOnReceive is started through shell not directly.
  • Fixed reading of empty phonebook entries from Samsung (bug #809).
  • Reread messages if CMGL shows them corrupted (bug #691).
  • Added support for vNote files.
  • Properly detect Nokia 6220 Classic (bug #840).
  • Fix writing of phonebook on Motorola V8 (bug #827).
  • Detect daemon on FreeBSD.
  • Ignore charset errors on AT init as some phones might need PIN.
  • Optionally use MT for phone phonebook for AT phones.
  • Added support for quick dial numbers on AT phones.
  • Fixed decoding of Samsung memory entries.
  • Properly handle corrupted messages from Nokia phones (bug #811).
  • Fix parsing of calls from Alcatel C701 (bug #831).
  • Fixed handling of error states with -len and -autolen parameters.
  • Fixed possible crash in DBI engine.
  • PostgreSQL engine properly uses sequences instead of reinventing.
  • MySQL engine properly uses auto increments instead of reinventing.
  • Fix escaping of field name in PostgreSQL engine.
  • Better SMSD files logging.
  • Added testing of SMSD files engine.
  • Increase timeout for AT settings SIM card SMS storage.
  • Fixed date formatting in PostgreSQL SMSD service.
  • Add option to install without documentation.
  • Add -textutf8 option for TEXT sms.
  • Fix crash when some lines in config are too long.
  • Make smsdrc example better looking by removing obsolete docs.
  • Make dku2 connection types work on Linux (alias to fbususb).
  • Better calculation of signal percent.
  • Fixed getting of memory status for some Nokias (bug #836).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in unstable soon, SUSE, Fedora and Mandriva users can check repository in OpenSuse Build Service and Ubuntu in my PPA.

Gammu test version 1.23.92

I decided to change a bit short term plans for Gammu releases and I'm now approaching to 1.24.0 which will be mostly bug fixing and documentation release without any major changes, because it turned out that there is lot of things to fix ;-).

This time there are no really major changes since 1.23.91, only some small fixes in AT code, messages and translation cleanup and better logging from SMSD in some cases.

Full list of changes follows:

  • LUID reading requires IrMC profile.
  • Locations for GlobeTrotter 3G+ start at 0 (bug #847).
  • More verbose logging of delivery reports (bug #824).
  • Increase default DeliveryReportDelay (bug #824).
  • Fixed handling of SMS locations (bug #853).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu test version 1.23.91

Welcome back on weekly schedule of Gammu releases. The biggest change in this release is in SMSD and RunOnReceive scripting support, which has been improved and now can contain any arbitrary command. Besides that support for vNote format has been added for backups/restores and some minor bugs were fixed.

Full list of changes follows:

  • PostgreSQL backend now supports IDs for RunOnReceive.
  • RunOnReceive is started through shell not directly.
  • Fixed reading of empty phonebook entries from Samsung (bug #809).
  • Reread messages if CMGL shows them corrupted (bug #691).
  • Added support for vNote files.
  • Properly detect Nokia 6220 Classic (bug #840).
  • Fix writing of phonebook on Motorola V8 (bug #827).
  • Detect daemon on FreeBSD.
  • Ignore charset errors on AT init as some phones might need PIN.
  • Optionally use MT for phone phonebook for AT phones.
  • Added support for quick dial numbers on AT phones.

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu test version 1.23.90

It looks like I'm definitely losing Monday release schedule, but it does not matter that much, new release is here anyway. I wanted to push some bigger changes into first testing release after 1.23, but instead of that I did bunch of bug fixes, documentation and test improvements.

Full list of changes follows:

  • Fixed decoding of Samsung memory entries.
  • Properly handle corrupted messages from Nokia phones (bug #811).
  • Fix parsing of calls from Alcatel C701 (bug #831).
  • Fixed handling of error states with -len and -autolen parameters.
  • Fixed possible crash in DBI engine.
  • PostgreSQL engine properly uses sequences instead of reinventing.
  • MySQL engine properly uses auto increments instead of reinventing.
  • Fix escaping of field name in PostgreSQL engine.
  • Better SMSD files logging.
  • Added testing of SMSD files engine.
  • Increase timeout for AT settings SIM card SMS storage.
  • Fixed date formatting in PostgreSQL SMSD service.
  • Add option to install without documentation.
  • Add -textutf8 option for TEXT sms.
  • Fix crash when some lines in config are too long.
  • Make smsdrc example better looking by removing obsolete docs.
  • Make dku2 connection types work on Linux (alias to fbususb).
  • Better calculation of signal percent.
  • Fixed getting of memory status for some Nokias (bug #836).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Gammu stable version 1.23.1

After recently introduced tradition, I again come with bugfix update for 1.23.0 called 1.23.1. This time there is no critical fix as in 1.22.1, but few fixes, which might annoy users, for example forgotten installation of gammu-smsd-monitor tool.

Full list of changes:

  • Documentation clarification.
  • Translations update.
  • Actually install gammu-smsd-monitor.
  • Fix recording received messages count for MySQL.
  • Fix SMS location handling for Huawei E160 (bug #825).
  • Do not probe for MPBR support all the time.

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in unstable soon, SUSE, Fedora and Mandriva users can check repository in OpenSuse Build Service and Ubuntu in my PPA.