EM4#

API and Callbacks for the EM4 Component.

This component implements handling of EM4 sleep mode for EFR32. Activating this plugin alone is not enough to cause the chip to reach EM4 sleep. To activate EM4 sleep mode, emberAfPluginEm4EnterCallback() must be implemented and conditionally return true. The EM4 plugin only works properly with SINGLE NETWORK configuration. WARNING: Use this plugin at your own discretion. Every EM4 sleep attempt involves a reset. Critical information may get lost in the following situations:

  1. The device goes to EM4 in the middle of an operation that has not been considered by emberAfPluginEm4EnterCallback().

  2. Important information is not properly stored beforehand by implementing emberAfPluginEm4EnterCallback() or read/rescheduled afterwards by implementing emberAfPluginEm4ExitCallback().

  3. Using this mode with MULTI NETWORK configuration.

API Documentation#

emberAfPluginEm4StatusCommand#

void emberAfPluginEm4StatusCommand (void )
Parameters
N/A

Definition at line 52 of file app/framework/plugin-soc/em4/em4.h