SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
From host application perspective, only two modes of operation are explicitly selected by the host: hibernate or enabled.
The Wi-Fi subsystem is equipped with a policy management entity that allows a developer (host application programmer) to guide the behavior of the power management algorithm through pre-defined power policies. The sl_PolicySet API is used to configure the device power management policy.
The available policies are:
sl_WlanPolicySet(SL_POLICY_PM , SL_NORMAL_POLICY, NULL,0)
sl_WlanPolicySet(SL_POLICY_PM, SL_ALWAYS_ON_POLICY, NULL,0)
sl_WlanPolicySet(SL_POLICY_PM , SL_LOW_LATENCY_POLICY, NULL,0)
This policy only works in client mode. It automatically terminates mDNS and the internal HTTP server running on the device. TCP and UDP servers initiated by the user application will lead to unpredictable system behavior and performance.
sl_WlanPolicySet(SL_POLICY_PM, SL_LOW_LATENCY_POLICY, NULL,0)
Low-power mode is only supported when the Wi-Fi subsystem is not connected to an AP. Therefore, it is mostly relevant to the transceiver mode.