Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

SetSocketPowerState


  • Please log in to reply
4 replies to this topic

#1 ByteMaster

ByteMaster

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 03 June 2012 - 05:33 PM

What exactly is this method supposed to do? It looks like it works fine during program startup, but from what I can tell, if I call it later on in the application lifecycle, calls to disable/enable power to a module are ignored. Am I missing something? Thanks Kevin...
Kevin D. Wolf
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 03 June 2012 - 07:51 PM

Hi Kevin, SetSocketPowerState is designed for use by the GoBus stack to turn on/off modules as necessary. We have been looking to expose a feature to control socket power state via the main application as well. Right now, there are limitations (to preserve known state, a consistent user experience, etc.) What scenario(s) would this feature be useful to you? We're working on an update to the mainboard and GoBus assembly...so any/all feedback and requests are very timely. Chris

#3 ByteMaster

ByteMaster

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 04 June 2012 - 12:26 PM

Hello Chris -

What scenario(s) would this feature be useful to you? We're working on an update to the mainboard and GoBus assembly...so any/all feedback and requests are very timely.


I can think of two scenarios where this might be useful:

1) From a module builders perspective, if my module starts behaving badly it would be nice to toggle power to do a full reset. In some case it would be nice to toggle power to the module to reset peripheral chips in addition to just resetting the uC.
2) From a app perspective, in some cases it might be nice to shut down unused modules to save power

Kevin…
Kevin D. Wolf
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL

#4 Fabien Royer

Fabien Royer

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts
  • LocationRedmond, WA

Posted 04 June 2012 - 05:58 PM

Hi Chris, I second Kevin's request: it's vital to be able to entirely reset a module at will by turning power on / off. Cheers. -Fabien.

#5 ByteMaster

ByteMaster

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 06 August 2012 - 10:57 PM

Hi Chris -

What scenario(s) would this feature be useful to you? We're working on an update to the mainboard and GoBus assembly...so any/all feedback and requests are very timely.


Any updates on this? I see the API in place for SetSocketPower and would really love to take advantage of this for failure recovery. Any work around you can think of with the current version? Is the source available for GoBus.dll? Could the update be made there to allow this to work?

-twb
Kevin D. Wolf
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.