Search
0
votes
closed
[widcomm] BtRadio.Mode reports wrong values when radio has been turned off

Description

See:
[[
1. Radio off, Load stack
Radio automatically turned on(!).
(In accessible mode, therefore we show mode "Discoverable")
2. Set non-accessible in manager
Now we show mode "Connectable"
3. Set off
We still show mode "Connectable"!!! ERROR
Widcomm returns true from IsDeviceConnectable/Discoverable.
]]

To check IsDeviceConnectable/Discoverable.are valid, need to see if the following methods are useful: CBtIf::IsStackServerUp(), IsDeviceReady(), and/or callback OnStackStatusChange().

File Attachments

No files are attached

Closed Feb 19 2010 at 2:51 PM by alanjmcf

Comments

wrote Aug 22 2010 at 7:41 PM
See however bug 28636, the necessary Widcomm functions on CE/WM are present only in 1.7.1.2700 and later.  We will not be able to report power off for versions earlier than than.

wrote Feb 26 2010 at 1:02 PM
Associated with changeset 64192.

wrote Feb 22 2010 at 5:19 PM
Associated with changeset 64131.

wrote Feb 22 2010 at 5:19 PM

Widcomm.

1. Support setting BtRadio.Mode on CE/WM.

PowerOff is Widcomm CONNECT_ALLOW_NONE, not disabled/off; Connectable is CONNECT_ALLOW_ALL, not CONNECT_ALLOW_PAIRED; and Discoverable is that plus 'Connectable'. 

2. Have BtRadio.Mode recognize stack disabled state by using Widcomm IsStackServerUp() and IsDeviceReady() methods.  Note setting Mode at the time to Connectable/etc doesn't appear to switch the radio back on. :-(

Note! A new version of the native DLL is required for this support.


wrote Feb 21 2010 at 8:32 PM
Associated with changeset 64121.

wrote Feb 20 2010 at 6:08 PM
Associated with changeset 64102.

wrote Feb 19 2010 at 2:51 PM
Resolved with changeset 64080.

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