Forum.Deepsoftware.Com

DeepSoftware Products => nrComm Lib VCL (32bit / 64bit) => nrComm Lib => General => Topic started by: mehis on November 17, 2010, 08:16:57 AM

Title: Question about serial port detection
Post by: mehis on November 17, 2010, 08:16:57 AM
i have looked all the demos, but i have not found if it is possible to query serial port number from detected bluetooth device service?
It is needed for me because i need to detect bluetooth or usb device  and its serial port with delphi written user application to give it forward to a c++ developed dll what will communicate with detected device.
Title: Re: Question about serial port detection
Post by: Roman Novgorodov on November 17, 2010, 08:29:43 AM
Hello

Please try USBDevice Demo. If you see your BT adapter in the list of usb device, you can try press Update Descriptors. Usual it contains S/N.

Roman Novgorodov
DeepSoftware.Com
Title: Re: Question about serial port detection
Post by: mehis on November 17, 2010, 04:22:20 PM
I can see my bluetooth module in that list "Dell Wireless 375 Bluetooth Module with AMP". But when I click "Update Descriptors" then i can't see that there is two Bluetooth devices active and they both have serial ports....
In bluetooth demo I can see that connected device has correct serial port service  (nrBt1.device[nrbt1.deviceindex].services[0].caption), but I can't find com port number...
I did not find that any demo uses this property nrBt1.device[nrbt1.deviceindex].services[0].QuerySet - is there somehow  link to serial port information?