Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: TheodorosGR on July 18, 2008, 11:42:15 AM

Title: Automatically select first BT radio from listview
Post by: TheodorosGR on July 18, 2008, 11:42:15 AM
Hello everyone!
Can some1 tell me how to change the code of the demo so the user dont have to select the BT radio prior performing discovery? I want to automatically set the Radio to the first available radio from lvRadios.
Thanks!
Title: Re: Automatically select first BT radio from listview
Post by: Mike Petrichenko on July 18, 2008, 12:40:02 PM
dim Radios as wclBluetoothRadios

Rados = wclBluetoothDiscovery1.EnumRadios

wclOPPClient1.BluetoothParams.Radio = Radios.Items(0)