0
votes
closed
[widcomm] implement support for InquiryLength in DiscoverDevices

Description

2.4 and 2.5 ignore the InquiryLength property which affects DiscoverDevices and thus won't stop the inquiry process it it takes longer that specified in that property.  We should do so.
We are seeing cases where discovery (inquiry) never completes, that is because the Widcomm event OnInquiryComplete *never* occurs.  So we should implement InquiryLength support and thus we'd stop the inquiry in our code.
(We will see whether we can repeatedly start and then interrupt the inquiry, and it continues to work; is Widcomm getting very confused in Inquiry, or it simply forgetting to call OnInquiryComplete).

File Attachments

No files are attached

Closed Feb 1 at 9:05 AM by alanjmcf

Comments

wrote Feb 1 at 9:05 AM
Resolved with changeset 63693.

wrote Jan 31 at 6:49 PM
Associated with changeset 63677.

wrote Jan 31 at 6:42 PM

Need to bounds check in property.

Need to decide what initial value.  MSFT has 10 seconds.  Do we want the same and thus mght always be calling StopInquiry 'early'.  What time does Widcomm take normally (i.e. when the completion event DOES occur).


Updating...
© 2006-2010 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.8.10.17093