Configurations and Settings
204
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
Power Managment
Table 14-2. Key Features (continued)
Key Features
Description
Power-optimized out of the box
Device is power-optimized by default. No configuration by the host is necessary to
activate these features.
Fast connect
Can connect to the last known network without performing a WLAN scan, which
dramatically decreases connection time and saves power.
14.3 Configurations and Settings
14.3.1 Changing Power Policy
Power policy is changed through the generic sl_WlanPolicySet API, as shown in
.
Table 14-3. Power Policy
Desired Policy
API Parameters
Type
Policy
pVal
ValLen
Normal (default)
SL_POLICY_PM
SL_NORMAL_POLICY
NULL
0
Low Latency
SL_POLICY_PM
SL_LOW_LATENCY_POLICY
NULL
0
Low Power
SL_POLICY_PM
SL_LOW_POWER_POLICY
NULL
0
Always On
SL_POLICY_PM
SL_ALWAYS_ON_POLICY
NULL
0
Long Sleep
SL_POLICY_PM
SL_LONG_SLEEP_INTERVAL_P
OLICY
SlWlanPmPolicyPara
ms_t*
sizeof(SlWlanPmPolicyP
arams_t)
All settings of the sl_WlanPolicySet API are effective immediately after the call, and persistent between
device resets.
14.3.2 Enabling Fast Connect
Fast connect is controlled by the WLAN API (for details see
). When enabled, the scan process
is skipped if the connection attempt is to the last connected network. Skipping the scan can save
hundreds of milliseconds in the connection time, thereby reducing the power consumption.
14.4 Network Applications and Power Consumption
14.4.1 mDNS
The device mDNS service (enabled by default) is based on sending and receiving broadcast and multicast
data frames on the connected network, without any use interaction. Because the effects of this behavior
on power consumption cannot be determined in advance, TI recommends turning this service off in power-
constrained systems (assuming it is not necessary for the application). This service will be turned off
automatically if LSI mode with a sleep time greater than 2000 ms is specified.
14.4.2 HTTP Server
The device HTTP server is automatically turned off if LSI is set to 2000 ms. This occurs because the
chances of the server to successfully accept a client connection in these conditions are extremely low.