<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://blog.cihar.com/styles/feed.css"?>
<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/">
<channel>
<title>Gammu</title>
<link>http://blog.cihar.com/archives/gammu/</link>
<description>Random thoughts about everything…</description>
<dc:language>en-us</dc:language>
<dc:creator>Michal Čihař</dc:creator>
<dc:date>2008-07-22T21:02:17+02:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<item>
<link>http://blog.cihar.com/archives/2008/07/22/phone_synchronisation_finally/</link>
<title>Phone synchronisation, finally</title>
<dc:date>2008-07-22T20:12:55+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Linux, Gammu</dc:subject>
<description>
<![CDATA[<p>One of long standing things on my todo list was to make synchronisation work
from my cell phone (Sony-Ericsson K750i) to some PIM application on Linux side
(as a GNOME user Evolution is the natural choice). I tried it several times
but it never actually worked. Today I gave it yet another try and I finally
succeeded on first attempt :-).</p>

<p>As a first step I just wanted to make a backup of all things. <a href="http://www.gammu.org/">Gammu</a> can do it
quite well and it's the tool I trust for this purpose:</p>

<pre><code>gammu backup /tmp/phonebook.vcf
gammu backup /tmp/calendar.vcs
</code></pre>

<p>Now it's time to play with <a href="http://www.opensync.org/">OpenSync</a>. We will use <a href="http://www.opensync.org/wiki/syncml-guide">setup guide</a> and
<a href="http://www.opensync.org/wiki/SetupGuide">SyncML guide</a> as a starting point. As I had in past problems with both
sides - both phone and Evolution failed with some random errors, I wanted to
go step by step. So I started with setting up phone to files synchronisation:</p>

<pre><code>msynctool --addgroup file2phone
msynctool --addmember file2phone file-sync
msynctool --addmember file2phone syncml-obex-client
</code></pre>

<p>Now we need to configure file storage, just tell it where it should store the
data:</p>

<pre><code>msynctool --configure file2phone 1
</code></pre>

<p>And change path in your editor to something like:</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;config&gt;
  &lt;!-- directory path for file-sync --&gt;
  &lt;path&gt;/home/foo/phone-backup/&lt;/path&gt;

  &lt;!-- should care of subdirectories (TRUE or FALSE) --&gt;
  &lt;recursive&gt;FALSE&lt;/recursive&gt;
&lt;/config&gt;
</code></pre>

<p>Now the more tricky part comes, we need to set up phone end:</p>

<pre><code>msynctool --configure file2phone 2
</code></pre>

<p>Fortunately we can use example from the <a href="http://www.opensync.org/wiki/syncml-guide#SonyEricssonK750iusingOBEXoverUSB">SyncML guide</a> and just fill in
Bluetooth address (you can get it using <code>hcitool scan</code>) and channel
(<code>sdptool browse 00:b0:0b:fa:ce:00</code>):</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;config&gt;
  &lt;bluetooth_address&gt;00:b0:0b:fa:ce:00&lt;/bluetooth_address&gt;
  &lt;bluetooth_channel&gt;7&lt;/bluetooth_channel&gt;
  &lt;identifier&gt;Sony Ericss&lt;/identifier&gt;
  &lt;version&gt;1&lt;/version&gt;
  &lt;wbxml&gt;1&lt;/wbxml&gt;
  &lt;username&gt;&lt;/username&gt;
  &lt;password&gt;&lt;/password&gt;
  &lt;type&gt;2&lt;/type&gt;
  &lt;usestringtable&gt;0&lt;/usestringtable&gt;
  &lt;onlyreplace&gt;0&lt;/onlyreplace&gt;
  &lt;onlyLocaltime&gt;0&lt;/onlyLocaltime&gt;
  &lt;recvLimit&gt;0&lt;/recvLimit&gt;
  &lt;maxObjSize&gt;0&lt;/maxObjSize&gt;
  &lt;contact_db&gt;Contacts&lt;/contact_db&gt;
  &lt;calendar_db&gt;Agenda&lt;/calendar_db&gt;
  &lt;note_db&gt;Notes&lt;/note_db&gt;
&lt;/config&gt;
</code></pre>

<p>And now we should be able to synchronise whole phonebook from phone to
selected directory:</p>

<pre><code>msynctool --sync file2phone
</code></pre>

<p>Okay, this works, let's try more complicated thing - include Evolution in the
chain. The steps are the same, config file for phone is the same, Evolution
plugin has sane defaults you usually don't have to touch:</p>

<pre><code>msynctool --addgroup phone2evo
msynctool --addmember phone2evo evo2-sync
msynctool --addmember phone2evo syncml-obex-client
msynctool --configure phone2evo 1
msynctool --configure phone2evo 2
</code></pre>

<p>But now comes the tricky thing - Sony-Ericsson phones usually have something
broken around notes (or it is broken in OpenSync, I don't care, simply
synchronisation fails without this step) and we have to avoid synchronisation
of them. This can be done by changing filter file in group we've created above
(usually in file <code>~/.opensync-0.22/group2/filter.conf</code>):</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;filter&gt;
  &lt;note/&gt;
&lt;/filter&gt;
</code></pre>

<p>And finally we can start the synchronisation and it should work:</p>

<pre><code>msynctool --sync phone2evo
</code></pre>

<p>You can also GUI <code>multisync0.90</code> to do the configuration and start
synchronisation, but it is not much different, you also still have to edit
XML files.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/07/22/wammu_0_28/</link>
<title>Wammu 0.28</title>
<dc:date>2008-07-22T16:12:06+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Wammu releases, Gammu, Wammu</dc:subject>
<description>
<![CDATA[<p>I just released version 0.28 of <a href="http://wammu.eu/">Wammu</a>. This release
fixes various problems found by users. Full list of changes:</p>

<ul>
<li>Fixed freeze while searching for Bluetooth devices.</li>
<li>Fixed guided configuration of Bluetooth devices (no more complains about not existing device).</li>
<li>Fixed saving of backups to folder with non ASCII names.</li>
<li>Validation is less strict and allows hopefully all number.</li>
</ul>

<p>This release also comes with binary for Windows with embedded Gammu 1.20.0.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/05/11/wammu_0_27/</link>
<title>Wammu 0.27</title>
<dc:date>2008-05-11T13:25:12+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Wammu releases, Gammu, Wammu</dc:subject>
<description>
<![CDATA[<p>I just released version 0.27 of <a href="http://wammu.eu/">Wammu</a>. This release
fixes various problems found by users. Full list of changes:</p>

<ul>
<li>Do not fail if phone does not support call notifications.</li>
<li>Improved handling of empty config file.</li>
<li>Lot of translation updates.</li>
<li>Fix compatibility with some IMAP servers.</li>
</ul>

<p>This release also comes with binary for Windows with embedded Gammu 1.20.0.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/05/11/python-gammu_0_26/</link>
<title>python-gammu 0.26</title>
<dc:date>2008-05-11T00:42:51+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>python-gammu releases, Gammu, python-gammu</dc:subject>
<description>
<![CDATA[<p>New version of python-gammu has been just released. It improves compatibility
with Python 2.5 and brings compatibility with
Gammu 1.20.0. Full list of changes:</p>

<ul>
<li>Compatibility with current gammu.</li>
<li>Improved compatibility with Python 2.5.</li>
</ul>

<p>Download from usual place: <a href="http://cihar.com/gammu/python/">http://cihar.com/gammu/python/</a></p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/05/10/gammu_stable_version_1_20_0/</link>
<title>Gammu stable version 1.20.0</title>
<dc:date>2008-05-10T23:56:27+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu releases, Gammu</dc:subject>
<description>
<![CDATA[<p>Good news everyone, new stable <a href="http://cihar.com/gammu/">Gammu</a> release is out.
Since 1.19.91 it brings only few small fixes in OBEX and EMS, but there
is quite big list of changes compared to 1.19.0:</p>

<ul>
<li>Do not crash on EMS messages with no text (bug #612).</li>
<li>Fixed reading of OBEX files (bug #614).</li>
<li>Fixed decoding of Nokia messages (bug #527).</li>
<li>Fix handling of UTF8 charset with some Motorola phones.</li>
<li>Identify Motorola V635.</li>
<li>Set again charset in Motorola phones after changing AT mode.</li>
<li>Automatically enable OBEX for Motorola phones.</li>
<li>Fix searching of correct Bluetooth channel.</li>
<li>Improved SMSD error messages.</li>
<li>Fix SMS listing when phone was in text mode (bug #584).</li>
<li>Fix compilation when WCONTINUED/WIFCONTINUED is not defined.</li>
<li>Fixed listing SMS messages from AT phones in text mode (bug #584).</li>
<li>Added smscgi daemon by "Kamanashis Roy Shuva" <a href="&#x6D;a&#x69;&#108;&#116;&#x6F;:&#x6B;&#97;&#109;&#x61;&#x6E;&#x61;&#115;&#x68;&#105;&#x73;&#x72;&#111;&#x79;&#64;g&#109;&#97;&#105;&#x6C;&#46;&#x63;&#111;&#x6D;">&#x6B;&#97;&#109;&#x61;&#x6E;&#x61;&#115;&#x68;&#105;&#x73;&#x72;&#111;&#x79;&#64;g&#109;&#97;&#105;&#x6C;&#46;&#x63;&#111;&#x6D;</a>.</li>
<li>Cache once read messages to avoid reading them again (bug #481).</li>
</ul>

<p>You can download from usual place: <a href="http://cihar.com/gammu/">http://cihar.com/gammu/</a>.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/05/05/gammu_test_version_1_19_91/</link>
<title>Gammu test version 1.19.91</title>
<dc:date>2008-05-05T22:54:44+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu releases, Gammu</dc:subject>
<description>
<![CDATA[<p>Next testing version of Gammu was just born. It brings only small amount of
fixes, but most users of recent Nokia phones will be pleased that long
outstanding bug with SMS decoding has been fixed.
Full list of changes:</p>

<ul>
<li>Fixed decoding of Nokia messages (bug #527).</li>
</ul>

<p>You can download from usual place: <a href="http://cihar.com/gammu/">http://cihar.com/gammu/</a>,
Debian users can get packages from experimental.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/04/23/gammu_test_version_1_19_90/</link>
<title>Gammu test version 1.19.90</title>
<dc:date>2008-04-23T21:26:28+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu releases, Gammu</dc:subject>
<description>
<![CDATA[<p>New Gammu testing version is finally out. This time it took much longer
than usual and it contains some important fixes for messages and AT
driver.
Full list of changes:</p>

<ul>
<li>Fix handling of UTF8 charset with some Motorola phones.</li>
<li>Identify Motorola V635.</li>
<li>Set again charset in Motorola phones after changing AT mode.</li>
<li>Automatically enable OBEX for Motorola phones.</li>
<li>Fix searching of correct Bluetooth channel.</li>
<li>Improved SMSD error messages.</li>
<li>Fix SMS listing when phone was in text mode (bug #584).</li>
<li>Fix compilation when WCONTINUED/WIFCONTINUED is not defined.</li>
<li>Fixed listing SMS messages from AT phones in text mode (bug #584).</li>
<li>Added smscgi daemon by "Kamanashis Roy Shuva" <a href="m&#x61;&#x69;&#108;&#116;&#111;:k&#x61;&#x6D;&#97;&#110;&#x61;&#115;&#x68;&#x69;&#115;&#x72;o&#x79;&#64;&#103;&#x6D;&#97;i&#x6C;&#46;c&#x6F;&#x6D;">k&#x61;&#x6D;&#97;&#110;&#x61;&#115;&#x68;&#x69;&#115;&#x72;o&#x79;&#64;&#103;&#x6D;&#97;i&#x6C;&#46;c&#x6F;&#x6D;</a>.</li>
<li>Cache once read messages to avoid reading them again (bug #481).</li>
</ul>

<p>You can download from usual place: <a href="http://cihar.com/gammu/">http://cihar.com/gammu/</a>,
Debian users can get packages from experimental.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/03/26/dont_be_impatient/</link>
<title>Don't be impatient</title>
<dc:date>2008-03-26T13:57:42+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu, Coding</dc:subject>
<description>
<![CDATA[<p>I handle bug reports and email communication as soon as possible, but it
does not mean that it may take month or even more to get reply. I'm not
working full time on my free software projects, I do it only in my free
time. Besides this I have regular job and I also have a real life with
another hobbies.</p>

<p>So if you wrote me something, just try to be patient, sending another
emails to urge your issue won't help anybody. I will just have more
unread mail to process until I get to real work.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/03/08/wammu_for_windows_is_back/</link>
<title>Wammu for Windows is back</title>
<dc:date>2008-03-08T18:54:13+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu, Wammu</dc:subject>
<description>
<![CDATA[<p>This week I finally realized where problem with random crashes in Wammu
and python-gammu lies - python-gammu was using two version of C library
- mscvrt.dll and mscvr71.dll. First one came from Gammu and second one
from Python. Starting with 1.19.0, Gammu is built with mscvr71.dll and
random crashes are gone. Any tester did not report problems with Windows
binary, so I decided to make it finally an official release.</p>

<p>So after year or more Windows users can finally use up to date Wammu
version! Fortunately I can produce this version without even touching
Windows. Thanks to tools such as MinGW and Wine, everything from
compiling to generating installer can be scripted and done automatically
on Linux!</p>

<p>So Windows users can now also download current version from
<a href="http://wammu.eu/download/">http://wammu.eu/download/</a>, enjoy it.</p>]]>
</description>
</item>
<item>
<link>http://blog.cihar.com/archives/2008/03/05/gammu_stable_version_1_19_0/</link>
<title>Gammu stable version 1.19.0</title>
<dc:date>2008-03-05T23:19:15+02:00</dc:date>
<dc:creator>Michal Čihař</dc:creator>
<dc:subject>Gammu releases, Gammu</dc:subject>
<description>
<![CDATA[<p>Good news everyone, new stable <a href="http://cihar.com/gammu/">Gammu</a> release is out.
Since 1.18.92 it brings only few small fixes in build system, but there
is quite big list of changes compared to 1.18.0:</p>

<ul>
<li>Add option to disable compiled in protection.</li>
<li>Fixed detection of PostgreSQL.</li>
<li>Improve debug messages when connecting to phone (bug #508).</li>
<li>Fixed handling of some charsets in AT engine (bug #525).</li>
<li>Identify more Nokia phones (thanks to Iván Gabriel).</li>
<li>Fixed regression with DKU2 cables on Windows (bug #533).</li>
<li>Better compatibility with iCalendar files (bug #538).</li>
<li>Do not link with irprops.lib on Windows.</li>
<li>Various MSVC compilation fixes.</li>
<li>Improved AT model parsing and added tests.</li>
<li>Fixed possible crash in reading SMS from AT phones (bug #515).</li>
<li>Proper fall back to automatic model when user enters wrong one.</li>
<li>Added identification of several phones.</li>
<li>Fixed reading of messages from AT phones without ME memory.</li>
<li>Improve charset detection on Motorola phones (bug #522).</li>
</ul>

<p>You can download from usual place: <a href="http://cihar.com/gammu/">http://cihar.com/gammu/</a>.</p>]]>
</description>
</item>
</channel>
</rss>
