Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: ppaquin on February 13, 2013, 12:14:26 PM

Title: WCL and Radio.setName
Post by: ppaquin on February 13, 2013, 12:14:26 PM
Hi,

I'd like to know if it's possible to change BT Name with WCL. I saw that wclBluetoothRadio got the "setName" method, which seems to not work.

I used :

            wclBluetoothRadio Radio = GetSelectedRadio();
            if (Radio != null)
            {
                Radio.SetDiscoverable(false);
                Radio.SetName("NEWNAME");
                Radio.SetDiscoverable(true);
            }

I saw here  (http://forum.btframework.com/index.php?topic=1142.0)to use another dll (in OLD folder). I have this dll, but i don't know where to put her... I use Microsoft Visual Studio Express 2012 actually.

May anyone help me on this?

Many thanks,
Title: Re: WCL and Radio.setName
Post by: Mike Petrichenko on February 13, 2013, 12:15:05 PM
To be able to change radio name with MS driver your application must run with administrative rights.
Title: Re: WCL and Radio.setName
Post by: ppaquin on February 13, 2013, 12:23:23 PM
That's it!!

Many thanks, it works