Author Topic: Automatically select first BT radio from listview  (Read 2187 times)

TheodorosGR

  • Guest
Automatically select first BT radio from listview
« 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!

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: Automatically select first BT radio from listview
« Reply #1 on: July 18, 2008, 12:40:02 PM »
dim Radios as wclBluetoothRadios

Rados = wclBluetoothDiscovery1.EnumRadios

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

 

Sitemap 1 2 3 4 5 6 7 8 9