• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
November 23, 2024, 10:01:01 am

News:

SMF - Just Installed!


Question about serial port detection

Started by mehis, November 17, 2010, 06:16:57 am

Previous topic - Next topic

mehis

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.

Roman Novgorodov

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
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

mehis

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?