Author Topic: Radio Name  (Read 4245 times)

Offline Friz

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Radio Name
« on: June 21, 2007, 02:56:22 PM »
Hi Milke...

a little problem more... maybe i'm doing something wrong:
i need to change local radio name. I do:

discovery.enumradios[0].name := 'xxx';

but delphi says "unable change local radio name".

the same errore if i try to change radio name in many other ways (for example: OBEXClient.Bluetoothtransport.radio.name := 'xxx';).

Am i doing something wrong?  ???
Thank you.
Davide

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Radio Name
« Reply #1 on: June 21, 2007, 03:45:04 PM »
Good day!

You are doing all correct, it is windows doing incorrect. The problem is: you have MS bluetooth drivers installed and has not access to registry. I am working on this problem. The problem is how to allow access to this key and all subkeys for application:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BTH

It works is you have Administrator rights and open full access to that key and all its subkeys to administrator (by default only SYSTEM has that access).
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Friz

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Radio Name
« Reply #2 on: June 21, 2007, 05:15:24 PM »
I've seen in the registry the keys you are talkin about, but in all that keys i cannot find the current name of my bluetooth radio! In no key. Is that normal? And, i've done a search in all the registry, to find out a key wich contains my current radio name, but i couldn't find anything! boh in all computer i cannot find the place where radio name is stored...

And, i have admin rights! I don't understand why your vcl say it cannot changes radio name...






Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Radio Name
« Reply #3 on: June 21, 2007, 05:24:23 PM »
Sure you will not find it if it the same as your PC name (by defualt). But when you change the name it appears there (also it call one undocummented function to allow driver re-read new name - but which one - is a sicret ;)
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Friz

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Radio Name
« Reply #4 on: June 21, 2007, 09:02:52 PM »
 ;D ok... so what can i do? I have admin rights but i still cannot change radio name... i tried with 2 different computers...

thank you

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Radio Name
« Reply #5 on: June 22, 2007, 12:55:42 AM »
Can you please wait a few days? :) I'll found solution, just having to mutch to do now ;) OK?
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Friz

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Radio Name
« Reply #6 on: June 22, 2007, 01:59:23 PM »
Sure! No really hurry... i'll come back reading post in some days...

Nice work Mike...  ;)

Ciao,
Davide


Offline Friz

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Radio Name
« Reply #7 on: June 28, 2007, 04:59:51 PM »
Hi Mike! Any news about changing radio name? I tried in a lot of ways to set correct rights in the registry but still nothing happens (i get always the same error). But i added my user in rights of ALL the keys and subkeys of HKEY_LOCAL_MACHINE\SYSTEM, with FULL ACCESS. I added "Everyone" user too, with full access, but i still get the same error...

Have you any suggestion more?   ;)

Thank you a lot...

Davide

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Radio Name
« Reply #8 on: June 28, 2007, 07:18:52 PM »
Good day!

Yeasterday I have foudn the real reason why it does not work. That is because on the some PCs it stored a bit different than on my. My (and some others) windows store this information under the key with dongle MAC. But on others it can be not a MAC but some other value. And how to find which value for which MAC i do not know yet ;) But will do soon ;)
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline marcelog

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Radio Name
« Reply #9 on: August 12, 2007, 03:19:25 AM »
hi mike.

you could solve this problem? It happens to me the same with the system registry.

I do not find the place where she stores the name.

Thanks.

Offline marcelog

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Radio Name
« Reply #10 on: August 12, 2007, 04:21:58 AM »
this is the link that changes when to change the name manually.

But when change direct over here, does not change the name in the dongle


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0a12&Pid_0001\5&36c10b42&0&2\Device Parameters]
"ExtPropDescSemaphore"=dword:00000001
"COD Type"=dword:00000001
"Scans Before Out of Range"=dword:00000008
"Store Link Key COD Masks"=hex:00,00,1f,43,00,00,05,40,00,00,1f,83,00,00,05,80
"SymbolicLinkName"="\\??\\USB#Vid_0a12&Pid_0001#5&36c10b42&0&2#{0850302a-b344-4fda-9be9-90576b8d46f0}"
"SymbolicName"="\\??\\USB#Vid_0a12&Pid_0001#5&36c10b42&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"
"Local Name"=hex:55,55,55,55,55,00


AND


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet005\Enum\USB\Vid_0a12&Pid_0001\5&36c10b42&0&2\Device Parameters]
"ExtPropDescSemaphore"=dword:00000001
"COD Type"=dword:00000001
"Scans Before Out of Range"=dword:00000008
"Store Link Key COD Masks"=hex:00,00,1f,43,00,00,05,40,00,00,1f,83,00,00,05,80
"SymbolicLinkName"="\\??\\USB#Vid_0a12&Pid_0001#5&36c10b42&0&2#{0850302a-b344-4fda-9be9-90576b8d46f0}"
"SymbolicName"="\\??\\USB#Vid_0a12&Pid_0001#5&36c10b42&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"
"Local Name"=hex:55,55,55,55,55,00

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Radio Name
« Reply #11 on: August 12, 2007, 07:04:04 AM »
Good day!

Yes, I have solev the problem and that you a lot for registry dump - it is very usfull (i have fixe my solution again) :)

It will be published in new version.

Unfortunatelly, new release take more time than i have planned before...
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline marcelog

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Radio Name
« Reply #12 on: September 17, 2007, 11:10:58 PM »
ok,
you know when approximately it's can be the new version?

I, really need to change automatically the rado name for Microsoft drivers.

Thanks.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: Radio Name
« Reply #13 on: September 17, 2007, 11:18:28 PM »
At the beginning of october I hope.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline acastillov

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Radio Name
« Reply #14 on: January 29, 2008, 12:08:11 AM »
Hi Mike,

I read that you solve the problem, i found also in the register, where i can change the name, i change it, and nothing happens, im going to check in Bluetooth Radio (advance) and has the same name as before, Could you tell me what can i do to set the name... I have to restart the MS bluetooth stack (i dont know how to do that)

could you give me a tip please,

Best Regards,

Alex.