CheckHibernate Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
CheckHibernate Function
C
static void CheckHibernate();
Description

Achieves maximum power savings. WF_USE_POWER_SAVE_FUNCTIONS must be enabled. In hibernate mode, it will turn off LDO of the MRF24W module, which is turning off the power completely. It has the same effect of resetting the module. 

MRF24W state is not maintained when it transitions to hibernate mode. To remove the MRF24W from hibernate mode call WF_Init().

Preconditions

MACInit must be called first.

Returns

None.

Remarks

Note that because the MRF24W does not save state, there will be a disconnect between the TCP/IP stack and the MRF24B0M state. If it is desired by the application to use hibernate, additional measures must be taken to save application state. Then the host should be reset. This will ensure a clean connection between MRF24W and TCP/IP stack 

Refer to WFEasyConfigProcess() for a working example of softAP using hibernate mode. 

Future versions of the stack might have the ability to save stack context as well, ensuring a clean wake up for the MRF24W without needing a host reset.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.