Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: TcomGregg on December 19, 2008, 11:00:32 PM

Title: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: TcomGregg on December 19, 2008, 11:00:32 PM
Hi Mike
The demo program will Enum the Radios, but after Radio Selection and Press the Device Discovery Button - the message box comes up with the start Discovery message - as soon as you press the OK button the Finished Discovery with Error message box appears with no delay at all?
But the program will load and unload the API - find the Radio??
Best Regards
Gregg
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: Mike Petrichenko on December 20, 2008, 09:48:40 AM
replug the dongle. usually it is hardware/driver issue
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: TcomGregg on December 20, 2008, 03:47:36 PM
What controls the length of time the Radio is in the bluetooth discovery? Can you make that time longer?
Thank You
Gregg
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: Mike Petrichenko on December 20, 2008, 06:23:08 PM
There is no way to control the discovering time.
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: TcomGregg on January 04, 2009, 03:45:34 PM
Happy New Year Mike,
If you are running a very fast quad core pc would it effect the discovery search time (make it shorter).
What determines the discovery time - the Radio (adapter used) or your routine(time out)?
Thank You
Gregg
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: Mike Petrichenko on January 04, 2009, 06:31:12 PM
Usually discovery time is hard coded inside the bluetooth driver code. BlueSoleil allows to specify it as a function parameter. Microsoft requires to edit system registry. WidComm and Toshiba does not provide any way to manage it. So I decided to not use it in the library and leave it to its default value.

Any way you can manage it by calling Terminate method if you need to stop discovery erly. There is no way to expand the discovering time.
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: TcomGregg on January 05, 2009, 07:46:58 PM
Hi Mike
I just loaded the Blue Soleil drivers and the program that came with the adapter and it performs the device discovery (about 10 seconds long) perfectly?
But the WCL VBDemo program will not do it?
Do you have any ideas?
Gregg
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: Mike Petrichenko on January 07, 2009, 11:52:07 AM
What is the BS version?
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: TcomGregg on January 11, 2009, 05:22:12 PM
The Stack Release is 06.03.29.2006.1212 and the Driver is 3.0.0.0
Good Day
Gregg
Title: Re: WCLDemoVB Demo Program Will Not Perform Discovery on Devices
Post by: Mike Petrichenko on January 11, 2009, 05:42:51 PM
Good day!

Thanks, i'll install the same version and check the issue.