Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: robyxl on July 20, 2009, 03:46:21 PM

Title: Function SetName() wcl.wclBluetoothRadio
Post by: robyxl 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
Title: Re: Function SetName() wcl.wclBluetoothRadio
Post by: Mike Petrichenko on July 20, 2009, 04:29:53 PM
Hi,

How doesn't it work? Does it return any error or?
Title: Re: Function SetName() wcl.wclBluetoothRadio
Post by: robyxl 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)
Title: Re: Function SetName() wcl.wclBluetoothRadio
Post by: Mike Petrichenko 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.
Title: Re: Function SetName() wcl.wclBluetoothRadio
Post by: Nature 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 (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
Title: Re: Function SetName() wcl.wclBluetoothRadio
Post by: Mike Petrichenko on August 07, 2009, 09:20:49 PM
Hi,

answer is here (http://forum.btframework.com/index.php=3ftopic=3d775.msg3970#msg3970)