Author Topic: BlueSoleil Refresh Name  (Read 17395 times)

edbell

  • Guest
BlueSoleil Refresh Name
« on: June 24, 2011, 03:31:32 PM »
Using the bluesoliel stack if the device friendly name is changed "refresh services" has to be called to pick up the change, is there any way of getting WCL to do this? I have tried calling enum services to no avail.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: BlueSoleil Refresh Name
« Reply #1 on: June 24, 2011, 03:37:17 PM »
Sorry, what do you mean? To read device's name use wclBluetoothDevice.GetName method. To enum its services use wclBluetoothDevice.EnumServices method.

edbell

  • Guest
Re: BlueSoleil Refresh Name
« Reply #2 on: June 24, 2011, 05:11:45 PM »
My application sends a command to the device to change it's friendly name, the device disconnects, the application then waits for reconnect, when the device reconnects bluesoleil and WCL both report the old device name. The only way i have found to get bluesoleil to reveal the new name is to run the 'refresh services' function in their manager application.

I have tried enum services (hoping it would replicate the behaviour of the bluesoleil application) and get name, but neither of these refresh the name.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: BlueSoleil Refresh Name
« Reply #3 on: June 24, 2011, 06:09:42 PM »
Try the latest BS. They fixed lots of bugs so may be will work. Also try to rediscover devices.

 

Sitemap 1 2 3 4 5 6 7