2024-07-05 00:17:49 -04:00
|
|
|
| Supported Targets | ESP32-C5 | ESP32-C6 |
|
|
|
|
| ----------------- | -------- | -------- |
|
2022-12-20 09:07:54 -05:00
|
|
|
|
|
|
|
# Wifi itwt Example
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
This example shows how to use itwt of wifi.
|
|
|
|
|
|
|
|
Itwt only works in station mode. And AP needs to support the capability of itwt.
|
|
|
|
|
2024-04-29 07:55:27 -04:00
|
|
|
Itwt can works under different power save mode.
|
2022-12-20 09:07:54 -05:00
|
|
|
|
2023-01-17 07:51:51 -05:00
|
|
|
### Modem sleep (supported)
|
|
|
|
This is default mode. Under this mode, can support console command "itwt, probe" to config itwt.
|
2022-12-20 09:07:54 -05:00
|
|
|
|
2023-01-17 07:51:51 -05:00
|
|
|
* itwt: this command is for itwt setup/teardown/suspend.
|
|
|
|
* probe: this command will send a probe request to update tsf time with ap
|
2022-12-20 09:07:54 -05:00
|
|
|
|
2023-01-17 07:51:51 -05:00
|
|
|
### Light Sleep (will support)
|
2024-04-29 07:55:27 -04:00
|
|
|
Need system support light sleep. Console command will not support in this mode.
|
2022-12-20 09:07:54 -05:00
|
|
|
|
|
|
|
### Typical current consumption with Itwt enabled
|
|
|
|
|
|
|
|
|
|
|
|
### Typical current consumption with Itwt disabled
|
|
|
|
|
|
|
|
|
|
|
|
Note that current consumption and average current are higher when disabled.
|