I'm attempting to use 32feet to open a serial connection to a bluetooth device. My code is very simple:
using (BluetoothClient client = new BluetoothClient())
var address = new BluetoothAddress(0xecfe7e11c3af);
BluetoothEndPoint endPoint = new BluetoothEndPoint(address, BluetoothService.SerialPort);
var stream = client.GetStream();
Whenever I hit the Connect line, windows pops up a bubble notification that "A bluetooth device is trying to connect -- click to allow this". If I click the notification, windows then brings up a wizard that ends up installing virtual COM ports on
my system. Is there any way to disable this functionality through the 32feet library? I want the user experience completely contained within my application, and I do not want 2 COM ports installed each time I connect to a different device.
The client bluetooth chip is Bluetooth 4.0. I've previously connected to Bluetooth 2.0 modules where Windows did not interrupt the connection process.