Michal Čihař - Blog Archives for Gammu

Moving to Git

After losing some data from svn, because I just did not have the latest backup and I only had data in local copy, I decided to finally migrate to Git.

For now the repositories are hosted on gitorious:

The svn server will stay there for some time, but I want to get rid of it in future.

PS: Translations from Pootle are now directly commited to separate Git repository under user data which he used to register in Pootle. I'll merge this repository time to time to mainlines.

Windows 7 compatible? What?

Well I really love these automatic test and "rewards". Today, Wammu has just received the "Windows 7 Compatible" award on ForteDownloads.com. Wow.

But as far as I know, it has some problems on Windows Vista with permissions and I doubt it will be better on Windows 7. Is anybody actually using these systems? I don't.

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.

Nokia SMS decoding

Yesterday I finally found some time to analyze all filesystem message dumps for Nokia phones. I always hated way Gammu used to decode these messages, because in most cases decoding was almost same function just with added some random offsets.

After some time looking into the dumps, I finally came out with description of the format. It it still not complete, but it allowed to simplify the code a lot while fixing bugs with some messages previous solution did not catch.

Now I hope I did not miss anything and new code will not introduce new regressions.

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.

Summer of Code 2009

This year it looks like Google Summer of Code will bring me much more work than it has brought in past years. Currently I have four students on the track:

  • Mobile phones synchronisation for OpenSUSE. This will hopefully bring improvements to both Gammu and Conduit and the outcome should be working solution for at least some phones.
  • Import improvements for phpMyAdmin. I would say this has been the best GSoC proposal I have seen so far, so let's see how it will progress.
  • Changes tracking in phpMyAdmin. At the end we do have two projects on similar topic, but I want to push one of students more to synchronisation direction.

Let's see what will this bring to participating projects, but I hope all projects will end up at least with partial success and will bring great additions to free software.

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.