RE: Bluetooth suspend resume
From: Greg Scott [MS] (gregsco_at_online.microsoft.com)
Date: 08/19/04
- Next message: Steve Maillet \(eMVP\): "Re: GPE and Screen Resolutions"
- Previous message: Steve Maillet \(eMVP\): "Re: New PB 5.0 "Project" paradigm?"
- In reply to: wesley: "Bluetooth suspend resume"
- Next in thread: wesley: "Re: Bluetooth suspend resume"
- Reply: wesley: "Re: Bluetooth suspend resume"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Aug 2004 15:22:07 GMT
Option "B" will work below but it sounds like you want to be able to keep
BT up while suspended. I believe this will depend on the support of your
hardware. On your system I am betting that on power up BT is getting a
hardware notification that the device is gone away. If you were using USB
you would see DeviceDetach followed by DeviceAttach messages to the driver
which might be equally bad since all your connections would go down. In
WinCE 5.0 there is an option to keep USB controller powered as well.
Some hardware supports "Wake on LAN" behavior with BT. In this scenario
the device could go to sleep and would automatically be woken up if any BT
communication with the software stack was needed. I've seen this working
with BT SDIO on WinCE 5.0.
Anyway, the short answer is that you will probably have to investigate your
hardware's capabilities. If you turn on debug zones in btd.dll you will be
able to track down why the BT stack goes down. My guess is hardware
notification that device went down. If you think it is a bug in the BT
stack then please post this output to this newsgroup and I will take a look.
I hope this helps.
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
--------------------
| From: pretissimo2002@yahoo.fr (wesley)
| Newsgroups: microsoft.public.windowsce.platbuilder
| Subject: Bluetooth suspend resume
| Date: 18 Aug 2004 00:57:57 -0700
| Organization: http://groups.google.com
| Lines: 23
| Message-ID: <7bbfe387.0408172357.1ee0ca50@posting.google.com>
| NNTP-Posting-Host: 81.82.230.131
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1092815878 6196 127.0.0.1 (18 Aug 2004
07:57:58 GMT)
| X-Complaints-To: groups-abuse@google.com
| NNTP-Posting-Date: Wed, 18 Aug 2004 07:57:58 +0000 (UTC)
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews2.google.com!no
t-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.platbuilder:53617
| X-Tomcat-NG: microsoft.public.windowsce.platbuilder
|
| Hello,
|
| I have a very annoying problem with bluetooth, but it surprises me I
| haven't read anything about it in thise newsgroup.
|
| I have a device running CE 4.2 and it's native BCSP stack (BTD.DLL).
| The communication over the UART with my bluetooth module runs fine (at
| least on 920K), as long as my device is powered. When my device enters
| sleep mode, the processor stops reading data from the module (which is
| never powered off, and thus keeps on sending). When I resume the
| device, the MS stack is down.
|
| What can I do to solve this problem (API calls before suspend
| operation are not allowed):
| *A* On a resume operation, start the BT stack again via the
| IOCTL_SERVICE_STOP/IOCTL_SERVICE_START
| *B* On a suspend operation, power down the BT module + *A*
| *C* On a suspend operation, assert flow control outside the driver
| (assuming that is possible...)
| *D* Other?
|
| Greetings,
| Wesley
|
- Next message: Steve Maillet \(eMVP\): "Re: GPE and Screen Resolutions"
- Previous message: Steve Maillet \(eMVP\): "Re: New PB 5.0 "Project" paradigm?"
- In reply to: wesley: "Bluetooth suspend resume"
- Next in thread: wesley: "Re: Bluetooth suspend resume"
- Reply: wesley: "Re: Bluetooth suspend resume"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|