Suspend and Resume notification

D

David

How do I get notifications in CF .NET 3.5 that the device has gone to
Suspend mode (powered off) and then how to get notification that it has
resumed (powered on)?
 
C

Chris Tacke, eMVP

It would be nice, but they can't cover everything for everyone. Contrary to
popular belief, they don't have infinite resources. With each version of
the CF they make decisions on what features to add to the framework based on
customer feedback, desktop compatibility and a lot of other things.
Fortunately they give us the hooks to do most (someday I'll be able to say
"all" I hope) of what we need that they've not done. In fact it's their
decision to give developers the power to extend the platform that makes it
such a good target.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
D

David

Yes, I absolutely agree with you.

Chris Tacke said:
It would be nice, but they can't cover everything for everyone. Contrary
to popular belief, they don't have infinite resources. With each version
of the CF they make decisions on what features to add to the framework
based on customer feedback, desktop compatibility and a lot of other
things. Fortunately they give us the hooks to do most (someday I'll be
able to say "all" I hope) of what we need that they've not done. In fact
it's their decision to give developers the power to extend the platform
that makes it such a good target.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
C

Chris Tacke, eMVP

You're definitely posting in the wrong group. There are few people who do
CF development that would understand what you're talking about here, let
alone how to fix the issue. You're much better off posting in the
microsoft.public.windowsce.platbuilder group.

The obvious question is where does it go from BSPPowerOn - you should add
some more RETAILMSG calls and trace it out that way.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
B

bob

Sorry Chris,

I will post it in the suggested group.

I will try to put some more RETAILMSG in the driver's PowerUp function
to see what happen. The thing that I can't understand really is why is
I resume within 30 seconds everything goes well....

thanks in any case
 
C

Chris Tacke, eMVP

Likely power-related. If you heat it up or cool it down, I bet the time
changes. My guess is that your resume isn't properly handling memory, so
when you power down, you slowly leak power from RAM and after 30 seconds the
power drops to a level where RAM cannot be held in refresh and the state
gets corrupted. I've certainly seen this behavior before.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
Joined
May 8, 2009
Messages
1
Reaction score
0
Suspend

Dear Chris,

you are right it was a refresh problem of the SDRAM
thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top