Author Topic: about radio's info  (Read 1917 times)

Offline ChenDengke

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
about radio's info
« on: October 29, 2008, 08:18:46 PM »
Hello Mike,

      i use MS Bluetooth API on XP.
      i want  to show my dongle's device property dailog box in my applicatioon with is samilar with clicking property menu in the device manager.
      i use it like this :
              rundll32.exe devmgr.dll,DeviceProperties_RunDLL  /MachineName  ""  /DeviceID "USB\VID_0A12&PID_0001\5&9CDC35E&0&1"
     
     "USB\VID_0A12&PID_0001\5&9CDC35E&0&1" is my dongle's device id whick is found in the registory manually.

     now i want to to get a dongle's device information through my application.  Is there any method to get my dongle's device id like above in the Class TBFBluetoothRadio? or any method which can help my to achieve the function.

       waiting your reply.

                 
     

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: about radio's info
« Reply #1 on: October 29, 2008, 08:27:21 PM »
MSDN + SetupAPI - but you should to know DevClass GUID which is different for different drivers.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: about radio's info
« Reply #2 on: October 29, 2008, 08:28:40 PM »
or WCL + wclUSBMonitor
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline ChenDengke

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Re: about radio's info
« Reply #3 on: October 30, 2008, 02:26:22 AM »
would do you tell me more detail?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: about radio's info
« Reply #4 on: October 30, 2008, 10:16:05 AM »
Good day!

More details about? WCL has component wclUSBMonitor which allows to enumerate USB devices and get its dev. string.

MS SDK (WIN32 API) has functions set (SetupAPI) which allows to do the same and allows to work with dev. strings. You can use this intead WCL. You can find more details about SetupAPI in MSDN.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline ChenDengke

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Re: about radio's info
« Reply #5 on: October 30, 2008, 04:38:14 PM »
thanks . i'll try