Author Topic: Function SetName() wcl.wclBluetoothRadio  (Read 9132 times)

robyxl

  • Guest
Function SetName() wcl.wclBluetoothRadio
« on: July 20, 2009, 03:46:21 PM »
Hi all,
I have a problem with the function SetName()  it doesn't seem to work with Windows Vista. Can you confirm that?

Thanks

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Function SetName() wcl.wclBluetoothRadio
« Reply #1 on: July 20, 2009, 04:29:53 PM »
Hi,

How doesn't it work? Does it return any error or?

robyxl

  • Guest
Re: Function SetName() wcl.wclBluetoothRadio
« Reply #2 on: July 20, 2009, 05:09:11 PM »
Hi Mike,
it doesn't return any error, but the name of local bluetooth radio don't change. This is my code:

        Dim Radio As wcl.wclBluetoothRadio = New wcl.wclBluetoothRadio()
        Select Case sRadio
            Case "baMicrosoft"
                Radio.API = wcl.wclBluetoothAPI.baMicrosoft
            Case "baToshiba"
                Radio.API = wcl.wclBluetoothAPI.baToshiba
            Case "baWidComm"
                Radio.API = wcl.wclBluetoothAPI.baWidComm
            Case "baBlueSoleil"
                Radio.API = wcl.wclBluetoothAPI.baBlueSoleil
        End Select
        Radio.SetName(LocalName)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Function SetName() wcl.wclBluetoothRadio
« Reply #3 on: July 20, 2009, 05:26:11 PM »
What is BT drivers you use? Also, does GetName return new name or old one? If you checked the new name with your phone then the phone will show onld one, because it remembers an address and a PC's name and will show old one for the same address.

Nature

  • Guest
Re: Function SetName() wcl.wclBluetoothRadio
« Reply #4 on: August 07, 2009, 05:49:59 PM »
SetName() also fails for me on Vista, I just posted the details in another thread before I found this one, sorry (See: http://forum.btframework.com/index.php?topic=775.0)

The error I get is "Internal driver error"

WCL (personal) 6.5.11.0 dotnet library

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Function SetName() wcl.wclBluetoothRadio
« Reply #5 on: August 07, 2009, 09:20:49 PM »
Hi,

answer is here

 

Sitemap 1 2 3 4 5 6 7