We have a problem using Bluetools with .NETCF 2.0
The PDA is a IPAQ 240 with Widcomm stack.
Our application has to connect to a bluetooth device which exposes a serial service. We are using ConnectDevice(addr,name) to connect without doing a DiscoverDevices() before.
It works OK if we have connected to this MAC address before with that device. But we can not connect if it is the first time that that device connects this MAC address.
We have some devices, for which we know their MAC addresses that shouldn't be visible, but in this case we can never connect them. If we try to open the Stream, it does return an "unknown device" exception.
If the device is visible, we do a DiscoverDevices() and after that a ConnectDevice(addr,name) with their MAC and works OK.
Coult it be an issue with an internal caching feature for MAC addreses? A device MUST be discovered at least once before been connected?
Please excuse my poor english.
Hope you can help us.