This project has moved. For the latest updates, please go here.

Windows Store Apps

As of May 2012...

There is apparently no support in Metro for Bluetooth. For instance there is no access to System.Net.Socket.Socket which is used with the Microsoft Bluetooth stack for comms, nor is there access of course to the Bluetooth Win32 APIs.

Neither are there any APIs in WinRT for Bluetooth. In ProximityFinder classes a proximate connection can be made using NFC ('tap' gesture) or Wi-Fi Direct (peer browsing), and optionally a socket connection can be opened for longer term use using Wi-Fi Direct, TCP/IP, or Bluetooth. But there's no way to make a separate Bluetooth connection apart from that.

Looks pretty bad. :-(

Last edited Dec 9, 2012 at 10:45 AM by PeterFoot, version 3

Comments

b0002321_234 Feb 14, 2014 at 12:08 PM 
New windows 8.1 namespaces look to be a bit more forthcoming. See:
http://social.msdn.microsoft.com/Forums/en-US/8e95f9b1-dedd-41f6-a5d9-ed89720081f9/rfcomm-api-rfcommdeviceservice-error-opening-socket-winrt?forum=w81prevwCsharp

http://code.msdn.microsoft.com/windowsapps/Bluetooth-Rfcomm-Chat-afcee559

http://msdn.microsoft.com/en-us/library/windows/apps/dn263090.aspx

Its still not possible to attach new devices, nor is it possible to enable Bluetooth from the app, but you are at least able to communicate with previously attached ones.