Welcome to MSDN Blogs Sign in | Join | Help

Bluetooth Profiles Demystified [Part 1]

So what exactly are Bluetooth profiles and why do we need them?  Several people have asked me this question lately so I'll share my thoughts with all of you on what Bluetooth profiles are really all about.  We will start by taking an example scenario of sending a file from one device to another.  We will look at how this simple task can be achieved using both Bluetooth and Wi-Fi.  By the end of this series of posts, you will have a good understanding of what problems Bluetooth profiles aim to solve and why they are so important.

So, let's jump right in...

Scenario
So, you've got this cool picture of you bungee jumping off of a bridge.  The picture is stored on your camera [digital of course] and you would now like to send it to your PC to share on your website.  Being the tech savvy, risk taking [you did go bungee jumping after all] geek type, you decide to do this wirelessly.

Sending a picture from your camera to the PC using Bluetooth
Let's take a look at the steps you would go through to send a file from your camera to your PC using Bluetooth.
  1. Find the other device.  You would put the camera into "Discoverable" mode so that it advertises its name to anyone interested.  Next, you'd fire up your PC and use the Device Discovery UI to find your digital camera.
  2. Pair with the other device.  Great, so you've located the Camera and will now "pair" the two devices.  So, you enter the same "pin code" on the desktop and camera.  You now get notified that you have successfully paired with the Camera.  Woo-hoo!
  3. Choose a service to use from the camera.  Your PC now presents you with a list of options you can choose to talk with the Camera.  For example, you might see options like "transfer file(s)", "view thumbnails", etc.  For this scenario, you choose the "Transfer file(s)" option.
  4. Transfer your file. 

Sending a picture from your camera to the PC using Wi-Fi

Now, let's look at the steps you would go through to do the same using Wi-Fi.
  1. Connect your camera to an Access Point.  You would use the camera's UI to have it connect with an Access Point in the area.
  2. Connect your PC to the same Access Point.  You would use the PC/laptop's UI to connect to the same Access point.
  3. Great, so both the PC and the camera are now connected to the same access point.  Next, we just need to have the PC find the camera.  You might do this by finding the IP address of the camera through your access point's management software.  If you are lucky, the camera will let you view its IP address through the camera UI.
  4. Launch custom software to transfer the files.  This software will likely ask you to enter in the address of the camera.
  5. Transfer your file. 

Which do you prefer?

Which model makes the most sense to you?  What might help improve the user experience in both cases?

I will follow up with my thoughts and explanation as to how this all works under the hood...

-Anil.



Published Wednesday, October 05, 2005 11:17 AM by anild

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Bluetooth Profiles Demystified [Part 1]

Friday, October 21, 2005 5:58 AM by BlueBaby
Interesting! Waiting for the "Under-the-hood" post!

# re: Bluetooth Profiles Demystified [Part 1]

Saturday, October 29, 2005 11:32 PM by wan
erm. could u xplain, is it possible to write a program that could send picture between 2 pdas via bluetooth?

# re: Bluetooth Profiles Demystified [Part 1]

Monday, December 19, 2005 3:40 PM by kiran
hi anil ,

i cannot find Core class u used in that film for bluetooth application development

i ve downloaded the library also .

plz reply

# re: Bluetooth Profiles Demystified [Part 1]

Tuesday, January 03, 2006 8:57 PM by am

Same here cannot get to the Core package/namespace. In the demo he shows the Object Browser think the API that I downloaded from the MS website did not have the "BluetoothSystem" classes. From where can one download these ?

Am using VS2003 / Pocket PC 2003 .. is that the reason they are missing ? Does one have to install Compact Framework 2.0 for this to work ... or can we do it with Compact Framework 1.0.

# re: Bluetooth Profiles Demystified [Part 1]

Thursday, July 20, 2006 1:18 PM by Gursharan
What about multicasting a picture to more than one device? Then wi-fi would be a more viable option? What say?

# Anil Dhawan s Blog Bluetooth Profiles Demystified Part 1 | work from home

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker