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

32feet.NET does not support the Bluetooth stack on this device.

description

I have a .NET 4.0 C# project running on Windows 10. This project has worked for the last two years, and when I tried to run it to make some enhancements, I'm getting the following error when trying to create a new BluetoothClient(). Since this used to work, is this a Windows 10 issue? I can see my bluetooth device in "Windows Devices" and it pairs without issue. Thanks!


System.PlatformNotSupportedException: 32feet.NET does not support the Bluetooth stack on this device. ---> System.Net.Sockets.SocketException: An address incompatible with the requested protocol was used\r\n at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)\r\n at InTheHand.Net.Bluetooth.Msft.SocketBluetoothClient.CreateSocket()\r\n at InTheHand.Net.Bluetooth.Msft.SocketBluetoothClient..ctor(BluetoothFactory fcty)\r\n --- End of inner exception stack trace ---\r\n at InTheHand.Net.Bluetooth.Msft.SocketBluetoothClient..ctor(BluetoothFactory fcty)\r\n at InTheHand.Net.Bluetooth.SocketsBluetoothFactory.GetBluetoothClient()\r\n at InTheHand.Net.Bluetooth.Factory.BluetoothFactory.DoGetBluetoothClient()\r\n at InTheHand.Net.Sockets.BluetoothClient..ctor(BluetoothFactory factory)\r\n at InTheHand.Net.Sockets.BluetoothClient..ctor()\r\n at Tts.Evise.Windows.Entity.CommunicationManager.GetEViseList() in d:\TFS\E-Vise\Windows\Branch
es\LMReport\Windows\Entity\CommunicationManager.cs:line 457\r\n at Tts.Evise.Windows.MainForm.<>c__DisplayClass1e.<>c__DisplayClass20.<ShowPortSearchingScreen>b__1a() in d:\TFS\E-Vise\Windows\Branches\LMReport\Windows\MainForm.cs:line 2923\r\n at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ThreadHelper.ThreadStart()"

file attachments

comments

hagelt18 wrote Oct 28, 2015 at 1:48 PM

I had issues with this for quite some time before figuring it out. The solution is to install generic Microsoft Bluetooth drivers instead of whatever you currently have. So you'd start by uninstalling your current Bluetooth drivers in Device Manager, then go to this link to download generic Microsoft Bluetooth drivers. I've had the best luck so far with the installer from this site:

http://bluetoothinstaller.com/

I've attached the x86 version of the file from that site to this post

wrote Oct 28, 2015 at 1:50 PM

hagelt18 wrote Oct 28, 2015 at 1:50 PM

Here is the x64 installer related to my first reply. I haven't had to use it yet though. Even on 64-bit systems I have been running the x86 installer.