Error when connecting to a device

Topics: Bluetooth - Microsoft
May 21, 2013 at 6:47 AM
Edited May 21, 2013 at 5:11 PM
I am having a problem trying to connect to a Galaxy 3, at home using a version 2.0 bluetooth radio this code works:
 Guid service = BluetoothService.HandsfreeAudioGateway;
 BluetoothEndPoint bep = new BluetoothEndPoint(_device.DeviceAddress, service);
At work with a version 4.0 bluetooth radio I get this error:

System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

In both cases my code was able to discover and pair with the device What am I doing wrong?

Both are using the Microsoft stack.
Sep 30, 2013 at 10:51 AM
I ve got the same problem, do you or someone else know how to fix it?