Michal Čihař - Blog Archives for English

Gammu test version 1.12.93

I just released new version of Gammu. This release brings lots of bug fixes and should allow to compile Gammu using MSVC and CMake. Full list of changes:

  • Huge gammu/gammu.c split to smaller files.
  • Lot of fixes to allow compilation using MSVC + CMake.
  • Support for push to talk ids (thanks to Pavel Kostromitinov).
  • Fixed PPM parsing (thanks to Pavel Kostromitinov).

Gammu test version 1.12.92

I just released new version of Gammu. This release brings lots of improvements in vCard parsing and is first which includes some (although very limited for now) test suite. Also some more parts of AT driver has been converted to new parser. Full list of changes:

  • Added simple bash completion script.
  • Added some compile time testing.
  • Improved vCard parsing.
  • Fix wint_t and wchar_t detection.

Testing gammu

I finally managed to learn CTest enough to be able to add some test cases to add some automatic testing to Gammu. Well there is not much to test until we have some fake driver for phones which can be used to feed custom data, but at least some parsers can receive testing.

First thing I try to focus on is vCard parsing. I know this is currently tricky and I'm trying to collect as many problematic vCards as possible. For now I have collected some from issues in bug tracker and my emails when people reported some problems. So if you have some vCard which Gammu parses wrongly, please send then to me.

For now 3 of 5 vCard tests fail, but I hope to resolve those problems until release will happen :-).

Debian Maintainers

It looks like everybody is talking about this, so here are my 2 cents. I remember my NM process still very well (I became DD few months ago) and I know very well how painful is to ask somebody to upload packages for you again and again.

On the other side the NM process definitely helped me to produce better packages and I learned some new things. Debian currently has pretty good quality and having such entry barrier helps to this. And I do not thing that the barrier is too high.

Maybe I was just lucky, but NM process was not that long and complicated as I heard before than I actually applied. The only thing that took incredibly long was just delay between DAM approval and actual account creation, but AFAIR it was only because responsible people were busy with release. Otherwise I'd go through NM in 3 months and I feel this is perfectly acceptable time for this and there is no need to split it up by introducing some intermediate level.

Gammu test version 1.12.91

I just released new version of Gammu. This release brings lots of changes in AT phones driver, so please report any regressions from previous releases! Also experimental support for notes over OBEX has been added, but I din't have phone to actually test these, so again testing is very welcome! Full list of changes:

  • Introduced more generic parsing of AT replies, please report any regressions with it!
  • Improved support for Samsung phones.
  • Support for reading network name from AT phones.
  • Add deletememory command line.
  • Experimental support for notes over OBEX.
  • Man page is now partially autogenerated from online help.
  • Elson compatibility, thanks to Bernd Feige.
  • Fix UCS detection, thanks to Bernd Feige.

Hidden Gammu feature - hints

When you connect Gammu to phone, it does several checks on phone (I'm currently talking especially about AT based connections). Some of these checks might result in suggestions on improvements in configuration either in code or configuration. However they are a bit hidden - you need to enable debug log to actually see them.

One of those hints might allow Gammu to do much more with your phone:

HINT: Please consider adding F_OBEX to your phone capabilities in common/gsmphones.c

F_OBEX will tell Gammu, that phone can be switched to OBEX mode, which might provide access to more features than generic AT mode. The word might is important here, because for some phones OBEX does not bring anything new and using it only hides some AT functionality. This is also reason, why switch is not done automatically and you must change sources to do this. I'd gladly accept patches, if you have successfully tested F_OBEX with your phone!

New phone database features

Thanks to suggestion by Georg Lehner, Gammu Phone Database now support additional searching by supported features. So from now, you can easily search which phones support MMS (well I think this list contains few false positives, but that's what users have entered).

In addition to this, you can grab data in CSV format. It does not contain everything what is displayed online, especially emails are not exposed at all, but it might be useful to do some more complex statistics or queries. Format of this file might change in future, so please be smart enough when writing some parser for it ;-).

Back from vacation

It has been almost two weeks of silence from be because I was enjoying vacation on Sicily.

Now I've read almost all mails and getting back to work ;-). There were opened lots of bugs in Gammu bug tracker, so it is first thing I need to look at. Fortunately there were no new bugs on my Debian packages, so at least this part will be easy (and only Sonata package needed upgrade, which has been done right now).

Gammu test version 1.12.90

I just released new version of Gammu. This release adds various fixes to AT phones driver and fixes various other crashes. Full list of changes:

  • Initial support for Motorola phones (bug #15 and #310).
  • Avoid work on uninitialized buffer when checking firmware.
  • Use HTTP/1.1 requests for getting firmware and version info.
  • Improve charset handling for AT phones.
  • Fix crash on broken CPMS response.
  • Fix reading of memory not starting from 1 (thanks to drgerafe).
  • Fix pressing of keys on phones who do not support IRA charset.