We would like to use the same adapter (Radio) each ad every time and discover a single device and get its information.
Will the VB sub routine below accomplish this?
Private Sub DeviceDiscovery()
Dim RAddress AS String = "(00:11:E0:03:15:8B)" '***Adapter MAC Address
Dim RName AS String = "TrendNet Adapter" '***Adapter Name
Dim Radio AS wclnet.wclBluetoothRadio = RName & "," & RAddress '***Builds Radio String
'****Start of Device Discovery
Try
wclBluetoothDiscovery.Discovery(Radio)
Finally
End Try
Dim DName AS String = "" '***Device Name
'****Get Device Information
Try
DName = Device.Name(Radio)
Catch ex As Exception
DName = ex.Message
End Try
Dim DAddress AS String = "" '***Device Address
Try
DAddress = Device.Address(Radio)
Catch ex AS Exception
DAddress = ex.Message
End Try
End Sub
Thank You
Gregg