Posts: 4
Joined: Thu Jul 23, 2009 1:06 am

Connecting to a bluetooth device without the

Sat Aug 29, 2009 6:37 pm

Connecting to a bluetooth devicewithout the pin-code.
I'm trying to connect to a bluetooth device that does not use the pin-code. Adapted to test the example findconect ..

private void network_DeviceDiscovered(object sender, BlueToolsEventArgs eventArgs)
RemoteDevice device = (RemoteDevice)((DiscoveryEventArgs)eventArgs).Discovery;
m_network.ConnectDevice(device.Address, device.Name);


There is no runtime error, but does not connect on device.

Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Connecting to a bluetooth device without the

Mon Aug 31, 2009 11:49 am

There is no connection until you retrieve a Stream. The name ConnectDevice is merely addressing the fact that you any connection attempts will be against that device.


Return to “BlueTools”