Just a quick question, how do I get the local Bluetooth devices that have already been paired using the Motorola’s EMDK 2.4 for an MC75 device? Seems I can get the RemoteDevice list but there is no method to see the local stack and what’s been paired already, this way I can read what serial port it has already been assigned and open up a SerialPort object automatically for the user.
Share
The answer is you don’t or can’t…you instead use the Microsoft Bluetooth. Download this for windows mobile bluetooth on a motorola device…may work on other devices too. You can get from the mobile samples, I found it here on my hard drive…C:\Program Files (x86)\Windows Mobile 6 SDK\Samples\Common\CS\Bluetooth. I added this to my project then all I had to do was this to add all the currently paired devices to a listBox
And then when one was selected you can access it as a BlueTooth device like this:
You then start stream by
I had to modifiy the StreamProcessor and BTConnectionManager a bit to work for me but here is my version of it without the form references in it.