OpenNETCF DeviceWake Bug ?

  • Thread starter Thread starter Boas Enkler
  • Start date Start date
B

Boas Enkler

Hi

Sometimes the DeviceWake Event of the OpenNETCF Frameworks fires
multiple times when turning on the PocketPC. Espescially on WinMobile 5
Systems.
The Timespan between 2 triggered Wakeevents is about 1-3 seconds
Is this a bug ?

Also sometimes the PowerDown Event of the Powermanagemnt class fires
after the wakeevent (I 've added some logging code in the events)

So what may I do to solve this problem?
 
It's not a bug in the OpenNETCF code - I've checked. The device is sending
multiple power status events.

-Chris
 
Hi,

So you mean the "bug" is device specific? All devices are sending power
status notifications, or only some devices?

Isn't there any solution out there for this strange behaviour?

Thanks very much in advance.
 
Yes, it's going to be implementation specific. The SDF simply listens to
the power management queue and reports the messages it sees. If the device
posts multiple messages, the SDF reports multiples. The only solution I can
think of offhand would be to "debounce" it by having some sort of time
minimum threshold between two events so that if you got two in close
succession you'd ignore all but the first. It a feature we'll look into
adding into a future release.

-Chris
 
Thanks Chris,

Would be really nice to see the "patch" you mention in a future release
f SDF. I'll wait for it.

Thanks very much again for your time.
 
Back
Top