ObexNote: A linux bash script for sending notes to mobile phones with obexftp (IR, BlueTooth)

Thought I’d share a little script I’ve made for sending notes (.vnt files) to my Sony Ericsson T610 in Linux. I expect this to work with all phones that support notes (i.e. BEGIN:VNOTE … END:VNOTE), and that can be accessed throught obexftp (or with a simple hack any other linux command, for example ‘btctl’).

The script is totally free and can be downloaded here:
ObexNote version 0.31

Please report success, bugs, problems or suggestions by giving a comment. Enjoy!

8 Responses to “ObexNote: A linux bash script for sending notes to mobile phones with obexftp (IR, BlueTooth)”

  1. MartinG Says:

    I should problably mention that this script might do the same thing as BlueNotes does in MacOSX http://www.clubsonyericsson.com/en/software_macintosh.shtml.

  2. Paul Faure Says:

    Lovely script, is it possible to send contacts using the same method? I think its looking for a specific file extension, but *.vcf does not work. Thanks a bunch.

  3. Martin Says:

    I really think this can be done by

    obexftp -p yourcard.vcf

    Of course, only if the file yourcard.vcf is a proper vcard file, like for example

    BEGIN:VCARD
    VERSION:2.1
    N:Georg Shitass Bush;
    FN:Georg Shitass Bush
    TEL;WORK:66666666
    TEL;HOME:66666666
    EMAIL;INTERNET;PREF:georg@whitehouse.com
    TEL;CELL:66666666
    END:VCARD

    Yes?

  4. Michael Says:

    Hey, good script.
    But i´m searching for a way to receive a note written with the mobile(T610).

    obexftp -b xx:xx:xx:xx:xx:xx -B 10 -g *.vnt

    does not work.
    Is there a way to get the notes?
    Where are they stored within the phone?

  5. Martin Says:

    To send files from the phone to the computer you can run

    sdptool add --channel=10 OPUSH
    obex_push

    It may be that you will have to give the correct channel, for instance if you want to recieve sound files, run obex_push 4

    To send files to the phone, type

    obex_push XX:XX:XX:XX:XX:XX file.jpg

    where XX:XX:XX:XX:XX:XX is the address of your phone (which can be found with hcitool scan).

    I’m not sure what packages these programs comes from, but I think

    apt-get install bluez-utils bluez-libs bluez-libs-devel
    apt-get install openobex-utils openobex openobex-apps openobex-devel

    will get you running.

    Also, check out the extremely nice program bluemote by Saravana Krishnan Kannan.

  6. Anonymous Says:

    Nice work chief ;-)

  7. Anonymous Says:

    Hello, I just wanted to say you have a very informative site which really made me think, Thanks ! A site with a wealth of info.!…thanks very much! Have a nice Day!!

  8. Martin Says:

    I’m looking forward to the day spam bots start making comments that make sense…

Leave a Reply