New Personal Area Networking Libraries

The Bluetooth.NET library has now reached it’s v1.5 milestone and is now part of the 32feet.NET suite. It joins an updated version of my IrDA library for the desktop which now adds some features (borrowed from the Bluetooth developments) so provides a superset of IrDA functionality on either full or compact frameworks. On top of both these libraries sits Object Exchange, this new library makes it easy to programmatically send and receive files and objects over the Object Exchange (OBEX) protocol. This is designed to provide a similar experience to functionality available for .NET for conducting HTTP requests – ObexWebRequest and ObexListener.

The concept of 32feet.NET is to look at personal area networking for the .NET developer whether your platform of choice is .NETCF on Windows CE or full framework on XP, Tablet PC, XP Embedded or Vista (32 Feet is the range of a standard Bluetooth device, that’s 10 metres if you prefer metric). The website has been setup with discussion forums for the current libraries and associated technologies, you’ll also find all the class library documentation, and of course the download itself which contains assemblies, source, help documentation and samples.

3 thoughts on “New Personal Area Networking Libraries”

  1. Can this library be used to establish a bluetooth connection between a bluetooth enabled pda or laptop for the transfer of files?
    If so, how exactly do i attach this to my .NET package?


  2. Steve – In theory, as long as the phone provides an AT command interface to MMS (you can do this with SMS) over a SerialPortProfile connection.

    Chris – Yes, devices use ObjectExchange (OBEX) to send files and objects over Bluetooth, see the InTheHand.Net.ObjectExchange library in the 32feet.NET package, and specifically the ObjectPushApplication sample which shows how to push a single file. Behaviour on the receiving device may vary, on XP you have to put the machine into listening mode, on Windows Mobile the listener can be enabled/disabled through Settings > Beam. The DesktopListener sample shows how to implement an always-on listener to receive files using the ObexListener class in the library.


Comments are closed.