obex-data-server 0.3.3

June 27, 2008 on 7:28 pm | In obex-data-server | No Comments

obex-data-server 0.3.3 released: http://tadas.dailyda.com/software/obex-data-server-0.3.3.tar.gz.

One more bug-fix release. Sockets were not properly closed in 0.3.2.
ChangeLog:

  • Properly close sockets for Session and ServerSession objects

obex-data-server 0.3.2

June 25, 2008 on 9:12 pm | In obex-data-server | 7 Comments

obex-data-server 0.3.2 released: http://tadas.dailyda.com/software/obex-data-server-0.3.2.tar.gz.

This is one more bugfix release. It includes many memory leak fixes, improved error reporting and most notably Nokia UUID workaround (uses different FTP service UUID for some Nokia devices).
ChangeLog:

  • Reduce compiler warnings (fixes bug #98)
  • Fix ServerSession Accept/Reject (bug #54, only works with patched openobex)
  • Use different FTP UUID for some Nokia devices (bug #55)
  • Don’t try to remove service record when it is not registered (bug #79)
  • Check OBEX Target header for FTP sessions (bug #81)
  • Disable FTP specific commands when OPP is used (bug #82)
  • Use UTF-8 filenames in folder listing objects (bug #78)
  • Improve OBEX error reporting (bugs #85, #86, #87, #88)
  • Fix crashers on exit (bugs #77, #83)
  • Portability fixes (bug #91)
  • Check connection ID for FTP session (bugs #90, #92)
  • Send empty Name header when using ChangeCurrentFolderToRoot (bug #100)
  • Don’t try to access memory regions that were already freed (bug #74).
    Also fixes a long-standing segfault issue (bug #46)

This release doesn’t include any API changes.

obex-data-server 0.3.1

April 1, 2008 on 3:06 pm | In GNOME, obex-data-server | 2 Comments

obex-data-server 0.3.1 released: http://tadas.dailyda.com/software/obex-data-server-0.3.1.tar.gz.

This is a bugfix release. It includes several fixes for crashers and some other minor changes.
ChangeLog:

  • Fix two crashers (bugs #57, #59)
  • Add SDP record support for PBAP server (no real PBAP support yet) (bug #60)
  • Fix naming issue in configure.in

This release doesn’t include any API changes, so it’s safe to use with latest bluez-gnome. Highly recommended update for distros.

obex-data-server web and request for documentation

March 5, 2008 on 8:14 pm | In GNOME, obex-data-server | 2 Comments

I would like to clarify where are the places to find info about obex-data-server on the net.

Homepage/wiki: http://wiki.muiline.com/obex-data-server/

News/Release announcements: http://tadas.dailyda.com/blog/category/obex-data-server/

Bug tracker: http://bugs.muiline.com/

Bug tracker is integrated with wiki, so you can create pages for particular bugs by choosing “wiki” in bug tracker.

Documentation

obex-data-server needs some documentation like manual page (bug #49), building HOWTO, using Session HOWTO, using Server Howto and possibly some other stuff. All this should be in wiki, so that it’s easy to find. Feel free to contribute.

obex-data-server 0.3

February 22, 2008 on 1:55 am | In GNOME, obex-data-server | 12 Comments

obex-data-server 0.3 released: http://tadas.dailyda.com/software/obex-data-server-0.3.tar.gz.

This release features API change regarding Server object and removes some memory leaks. ChangeLog:

  • API change: Manager.CreateBluetoothServer(string source_address, string pattern, boolean require_pairing)
  • API change: Server.Start(string path, boolean allow_write, boolean auto_accept)
  • update ods-server-test.py according to new API
  • Remove some memory leaks

As you can see, require_pairing argument was moved from Server.Start() to Manager.CreateBluetoothServer(). Introduction of require_pairing in 0.2 version violated obex-data-server architecture by having transport specific code in object other than Manager. This would have made implementing other transports in future impossible.

Sorry for the confusion.. Shit happens ;)

obex-data-server 0.2

February 12, 2008 on 8:36 pm | In GNOME, obex-data-server | 14 Comments

obex-data-server 0.2 released: http://tadas.dailyda.com/software/obex-data-server-0.2.tar.gz.

This release features server enhancements and several bug fixes. ChangeLog:

  • Distribute python tests (ods-session-test.py and ods-server-test.py).
  • Make object paths lowercase.
  • API change: Server.Start(string path, boolean allow_write, boolean require_pairing, boolean auto_accept).
  • New methods: Server.Accept(), Server.Reject().
  • Fix server SDP record lifetime (now exists between Start() and Stop()).
  • Make D-Bus system config file optional (enable with –enable-system-config configure option).
  • Exclude dot files from folder listings.

See D-Bus API docs for info how to use new Server.Start() and Accept/Reject methods.

0.1 release of obex-data-server and minor API changes

February 7, 2008 on 2:26 am | In GNOME, obex-data-server | 4 Comments

obex-data-server 0.1 released: http://tadas.dailyda.com/software/obex-data-server-0.1.tar.gz.

This is first official release of obex-data-server. obex-data-server is D-Bus service providing high-level OBEX client and server side functionality (currently supports OPP and FTP profiles and Bluetooth transport).

Bug tracker: http://bugs.muiline.com (choose “obex-data-server” project)
API documentation: http://svn.muiline.com/cgi-bin/viewvc.cgi/obex-data-server/trunk/dbus-api.txt

Minor API changes which happened just before 0.1 release:
1) uint64 is used for file sizes.
Affected methods/signals:

      Session.GetTransferInfo();
      Session.TransferStarted();
      Session.TransferProgress();
      ServerSession.GetTransferInfo();
      ServerSession.TransferStarted();
      ServerSession.TransferProgress().

2) OBJECT_PATH (“o”) D-Bus type is used for object paths (previously, STRING was used).
Affected methods/signals:

      Manager.CreateBluetoothSession();
      Manager.CreateBluetoothServer();
      Manager.GetSessionInfo();
      Manager.GetServerInfo();
      Manager.SessionCreated();
      Manager.SessionRemoved();
      Server.GetServerSessionInfo();
      Server.SessionCreated();
      Server.SessionRemoved();

Special thanks to:
Marcel Holtmann
Johan Hedberg
Manuel Naranjo
Bastien Nocera

State of obex-data-server

November 24, 2007 on 4:59 am | In GNOME, obex-data-server | 14 Comments

For some time there hasn’t been any news on obex-data-server front, but that’s because I am busy with my studies. I really hope to make first public release of obex-data-server until next year. For that to happen I need to fix at least 3 bad bugs and create some website with documentation. Currently known bugs can be found at http://bugs.muiline.com (select “obex-data-server” from project list).

bluetooth-sendto

September 11, 2007 on 10:32 pm | In GNOME, obex-data-server | 12 Comments

So I’m continuing development of obex-data-server. Now that it’s pretty much finished and the D-Bus API shouldn’t change anymore, I can start doing some apps that actually use it.

First such app is bluetooth-sendto which is gonna be part of bluez-gnome. It’s a Object Push client which can be used to send one or more files to another Bluetooth device. I’m glad that I could reuse some older code from gnome-bluetooth for this application, hence it’s feature-complete already.

And now for some screenies:
bluetooth-sendto
sending file with bluetooth sendto

bluetooth-sendto
sending several files, file is rejected by remote device

Now I’m not so sure when one could expect this app to show up in official bluez-gnome package, but I’m working on getting obex-data-server for it’s first public release and only then it might be the time.

My SoC project

August 27, 2007 on 11:45 pm | In GNOME, obex-data-server | 2 Comments

First of all sorry for not posting SoC project reports in blog. This was because either I didn’t find time to do that or I didn’t think it would be interesting to read. Now that there is something to show I might actually do so..

My SoC project was called “gnome-bluetooth and bluez-gnome improvements and unification”. Now the original plan was to improve GNOME Bluetooth stack but the actual result is a total rewrite.

My main goal during summer was to implement obex-data-server which is a DBus service providing easy to use API for using OBEX protocol (both client and server wise). Current implementation supports OPP (Object Push Profile) and FTP (File Transfer Profile). This means that you can have FTP server running on your Bluetooth adapter with several lines of python, you can also do all client operations without having to use openobex directly or knowing any of low-level OBEX stuff.

obex-data-server is written in glibish C and uses dbus-glib bindings. You can acquire it’s code from here (svn) or browse here. No releases yet, since I have to finish it up properly.

obex-data-server effectively deprecates libbtctl and gnome-bluetooth. All of gnome-bluetooth functionality will be provided in bluez-gnome very soon.

gnome-obex-send will be replaced by bluez-sendto which I’m currently working on. Of course, it will use obex-data-server DBus api and will be somewhat more complete. I will also implement “File sharing” tab in bluez applet where you will be able to easily enable FTP and OPP OBEX servers. I will probably also rewrite gnome-vfs-obexftp to use obex-data-server and gvfs some time in the near future.

And now for some visual material :) I did a screencast showcasing obex-data-server. You can see how few lines of python are needed to launch OBEX servers by checking out ods-server-test.py.

thumb
obex-data-server screencast (OGG)

« Previous Page

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^