Author Topic: WCL and Radio.setName  (Read 6666 times)

ppaquin

  • Guest
WCL and Radio.setName
« 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 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,

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL and Radio.setName
« Reply #1 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.

ppaquin

  • Guest
Re: WCL and Radio.setName
« Reply #2 on: February 13, 2013, 12:23:23 PM »
That's it!!

Many thanks, it works

 

Sitemap 1 2 3 4 5 6 7