Tag Archive for 'Bluetooth'

Syncing Sony Ericsson agenda with OpenSync

I succeeded (one way) in syncing my Sony Ericsson K800i using the OpenSync Ubuntu packages: as stated on their website, they are in a very early stage of development!

You could find the following notes useful.

  • add
    deb http://www.in.fh-merseburg.de/~jahn/opensync-0.21/ feisty main
    to your
    /etc/apt/sources.list
  • install
    libmultisync-plugin-backup
    libmultisync-plugin-evolution
    libmultisync-plugin-irmc
    libmultisync-plugin-irmc-bluetooth
    libopensync-plugin-evolution2
    libopensync-plugin-evolution2-dev
    libopensync-plugin-file
    libopensync-plugin-gnokii
    libopensync-plugin-google-calendar
    libopensync-plugin-gpe
    libopensync-plugin-irmc
    libopensync-plugin-jescs
    libopensync-plugin-kdepim
    libopensync-plugin-ldap
    libopensync-plugin-moto
    libopensync-plugin-opie
    libopensync-plugin-palm
    libopensync-plugin-python
    libopensync-plugin-sunbird
    libopensync-plugin-synce
    libopensync-plugin-syncml
    libopensync0
    libpisync0
    librsync1
    libsynce0
    libsyncml0
    msynctool
    multisync
    multisync-gui
    opensyncutils
    python-opensync
  • using multisync-gui, set the syncml-obex-client plugin for the source with

    <bluetooth_address>xx:xx:xx:xx:xx:xx</bluetooth_address>
    <!-- your sync ml channel -->
    <bluetooth_channel>1</bluetooth_channel>
    <identifier>PC Suite</identifier>
    <version>1</version>
    <type>2</type>

    and set another plugin for the destination

multisync-gui syncs but it hangs at the end.

If you enjoyed this post, make sure you subscribe to my RSS feed!

K800i UMTS modem over USB

I previously described how to PPP over GPRS via Bluetooth to a Sony-Ericsson K family mobile modem. With my previous K700i, using Dapper (I didn’t try with Edgy), talking to the modem via USB was very simple because the modem was reachable at /dev/ttyUSB0: the modem of my new K800i is reachable at /dev/ttyACM0 (I suppose that this switch is due to the changes made in Edgy/Feisty and that it is not on the K family side).

Using this new device, you can call pppd using this script.

If you enjoyed this post, make sure you subscribe to my RSS feed!

PPP over GPRS via Bluetooth

This post describes what I’ve done to let my mobile phone connect to the Internet using PPP over GPRS on GNU/Linux.

This tim_gprs_bt is a Bash script that sets up the serial cable over Bluetooth and starts pppd.

This tim file is the sequence of AT commands sent to the GPRS modem.

On the mobile (I use a Sony-Ericsson K700i K800i) I set up the following GPRS Account.

External ID: 3
APN: ibox.tim.it
Username: 335XXXXXXX
Password: XXXXXX
Password request: Off
Allow calls: Automatic
IP address: ...
DNS address: ...
Normal
Data compression: Off
Header compr.: Off

Update (2007-03-10) everything works with my new K800i (I’ve just changed 3 with 4 as External ID on the account and on the tim file).

If you enjoyed this post, make sure you subscribe to my RSS feed!

Wishes with a script and Bluetooth

At the end of each of the last few years I sent a short message to my friends with a text like “Dear Name, I wish you a Happy New Year”.

It was not possible to send a custom message to each of them using my mobile, so with a bit of scripting I got the job done.

First bind the serial of your GSM mobile/modem with

rfcomm bind 0 xx:xx:xx:xx:xx:xx 2 # 2 is my first serial channel

then, in a loop, use something like

gsmsendsms -d /dev/rfcomm0 $NUMBER "Dear $NAME, I wish you a Happy New Year"

If you enjoyed this post, make sure you subscribe to my RSS feed!