Mike,
I checked this link out and added it to my project.
On Vista, all is working as expected.
On XP, it's not. The radio name is not changing.
I am using the code:
procedure TfrmeGO.TimerNameCheckTimer(Sender: TObject);
var
ThisRadioName : widestring;
begin
// check radio name
wclServer.BluetoothParams.Radio.GetName(ThisRadioName);
if (ThisRadioName <> 'philsci') then
begin
DisplayDebug('Radio Name is: ' + ThisRadioName);
end
else
begin
TimerNameCheck.Enabled := false;
end;
end;
This checks the radio name after it has been changed, and if it's as expected, it stops checking.
On my dev machine, ThisRadioName gets set to '', on another test machine with only one user as Administrator, ThisRadioName is reporting as:
Radio Name is: y 2.0 Bluetooth Dongle
03F0 = hp Bluetooth Device
047D = Kensington Bluetooth EDR dongle
07D1 = Cameo USB Bluetooth Adaptor
2001 = Formosa USB Bluetooth Device
044E = Sony Alps USB Bluetooth Device
13D3 = WhiteBox AzureWave BT 2.1
0B05 = Asustek
05
Also, on the XP machines, the radio name is not changing as the data is not getting through.
If I manually set the radio name through bluetooth properties, the data gets through.
So, on XP, I'm not doing something correct. Any ideas?
Could you modify the bluechat server to show an example of correctly changing the radio name?
Any help is appreciated.
Regards,
Andy