Wi-Fi Power and Performance AT Commands#
Commands#
wifi-perf-prof#
Configures the power and performance profile of the network processor of the SiWx91x device.
Command Format#
at+wifi-perf-prof=<profile>,<dtim-aligned-type>,<num-of-dtim-skip>,<listen-interval>,<monitor-interval>
Related SDK API
sl_wifi_set_performance_profile_v2
Pre-conditions#
Parameters#
profile#
The power or performance mode to set for the network processor of the SiWx91x device. Contains a numeric value that corresponds to one of the values of the enum sl_si91x_performance_profile_v2_t.
dtim-aligned-type#
Optional. The type of Listen Interval alignment, which can be set either to the number of DTIM beacons or the number of regular beacons. This setting is represented by a numeric value that corresponds to one of the permitted DTIM Alignment Type values.
num-of-dtim-skip#
Optional. The number of DTIM intervals to skip.
listen-interval#
Optional. Listen Interval expressed in the number of beacons of the type set by dtim-aligned-type
.
monitor-interval#
Optional. Monitor Interval in milliseconds. Used when profile is set to Associated Power Save with Low Latency.
Notes#
Parameters related to Target Wake Time are currently unsupported.
Response#
OK
in case of success,ERROR <error code>
in case of error. The error codes returned are the same as those returned by the sl_wifi_set_performance_profile_v2 API.
Examples#
// Associated Power Save with Listen Interval set to 10 beacon intervals
at+wifi-perf-prof=1,0,0,10,0
wifi-perf-prof?#
Queries the power and performance profile of the network processor of the SiWx91x device.
Command Format#
at+wifi-perf-prof?
Related SDK API
sl_wifi_get_performance_profile_v2
Pre-conditions#
Parameters#
None
Notes#
Parameters related to Target Wake Time are currently unsupported.
Response#
OK <profile> <dtim-aligned-type> <num-of-dtim-skip> <listen-interval> <monitor-interval>
in case of success, where:profile
is the power or performance profile currently active on the SiWx91x device, and populated with a numeric value corresponding to one of the values of the enum sl_si91x_performance_profile_v2_t.dtim-aligned-type
is the type of beacon that the Listen Interval value is based on, and populated with one of the numeric values of the DTIM Alignment Type.num-of-dtim-skip
is the number of DTIM Intervals to skip.listen-interval
is the Listen Interval expressed in the number of beacons of type specified bydtim-aligned-type
.monitor-interval
is the Monitor Interval in milliseconds or 0 or 0 to indicate that is using the default value of 500 milliseconds.
ERROR <error code>
in case of error. The error codes returned are the same as those returned by the sl_wifi_get_performance_profile_v2 API.
Examples#
at+wifi-perf-prof?
OK 1 0 0 10 1000