Skip to content

Commit 20057ab

Browse files
committed
v5.3.2 test build
1 parent bfbf611 commit 20057ab

File tree

91 files changed

+1269
-582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1269
-582
lines changed

esp32p4/bin/bootloader_qio_80m.elf

6.12 KB
Binary file not shown.

esp32p4/dependencies.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ dependencies:
114114
idf:
115115
source:
116116
type: idf
117-
version: 5.3.1
117+
version: 5.3.2
118118
joltwallet/littlefs:
119119
component_hash: 362f1f5beb5087b0c60169aff82676d2d0ffc991ead975212b0cba95959181c5
120120
dependencies:

esp32p4/flags/defines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DESP_PLATFORM -DIDF_VER=\"v5.3.1-638-ga0f798cfc4-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DUNITY_INCLUDE_CONFIG_H -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DESP32=ESP32
1+
-DESP_PLATFORM -DIDF_VER=\"v5.3.2-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -DUNITY_INCLUDE_CONFIG_H -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DESP32=ESP32

esp32p4/include/bootloader_support/include/bootloader_common.h

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2018-2023 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -181,6 +181,20 @@ uint32_t bootloader_common_get_chip_ver_pkg(void);
181181
*/
182182
esp_err_t bootloader_common_check_chip_validity(const esp_image_header_t* img_hdr, esp_image_type type);
183183

184+
#if !CONFIG_IDF_TARGET_ESP32
185+
/**
186+
* @brief Check the eFuse block revision
187+
*
188+
* @param[in] min_rev_full The required minimum revision of the eFuse block
189+
* @param[in] max_rev_full The required maximum revision of the eFuse block
190+
* @return
191+
* - ESP_OK: The eFuse block revision is in the required range.
192+
* - ESP_OK: DISABLE_BLK_VERSION_MAJOR has been set in the eFuse of the SoC. No requirements shall be checked at this time.
193+
* - ESP_FAIL: The eFuse block revision of this chip does not match the requirement of the current image.
194+
*/
195+
esp_err_t bootloader_common_check_efuse_blk_validity(uint32_t min_rev_full, uint32_t max_rev_full);
196+
#endif // !CONFIG_IDF_TARGET_ESP32
197+
184198
/**
185199
* @brief Configure VDDSDIO, call this API to rise VDDSDIO to 1.9V when VDDSDIO regulator is enabled as 1.8V mode.
186200
*/

esp32p4/include/esp_app_format/include/esp_app_desc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ typedef struct {
3333
char date[16]; /*!< Compile date*/
3434
char idf_ver[32]; /*!< Version IDF */
3535
uint8_t app_elf_sha256[32]; /*!< sha256 of elf file */
36-
uint32_t reserv2[20]; /*!< reserv2 */
36+
uint16_t min_efuse_blk_rev_full; /*!< Minimal eFuse block revision supported by image, in format: major * 100 + minor */
37+
uint16_t max_efuse_blk_rev_full; /*!< Maximal eFuse block revision supported by image, in format: major * 100 + minor */
38+
uint32_t reserv2[19]; /*!< reserv2 */
3739
} esp_app_desc_t;
3840

3941
/** @cond */

esp32p4/include/esp_coex/include/esp_coex_i154.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ typedef enum {
1818
void esp_coex_ieee802154_txrx_pti_set(ieee802154_coex_event_t event);
1919
void esp_coex_ieee802154_ack_pti_set(ieee802154_coex_event_t event);
2020
void esp_coex_ieee802154_coex_break_notify(void);
21+
void esp_coex_ieee802154_extcoex_tx_stage(void);
22+
void esp_coex_ieee802154_extcoex_rx_stage(void);
2123
#endif
2224

2325
#endif

esp32p4/include/esp_common/include/esp_idf_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extern "C" {
1515
/** Minor version number (x.X.x) */
1616
#define ESP_IDF_VERSION_MINOR 3
1717
/** Patch version number (x.x.X) */
18-
#define ESP_IDF_VERSION_PATCH 1
18+
#define ESP_IDF_VERSION_PATCH 2
1919

2020
/**
2121
* Macro to convert IDF version number into an integer

esp32p4/include/esp_driver_gpio/include/driver/gpio.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,11 @@ esp_err_t gpio_get_drive_capability(gpio_num_t gpio_num, gpio_drive_cap_t *stren
376376
* in output mode: the output level of the GPIO will be locked and can not be changed.
377377
* in input mode: the input read value can still reflect the changes of the input signal.
378378
*
379-
* However, on ESP32/S2/C3/S3/C2, this function cannot be used to hold the state of a digital GPIO during Deep-sleep.
379+
* Please be aware that,
380+
*
381+
* On ESP32P4, the states of IOs can not be hold after waking up from Deep-sleep.
382+
*
383+
* Additionally, on ESP32/S2/C3/S3/C2, this function cannot be used to hold the state of a digital GPIO during Deep-sleep.
380384
* Even if this function is enabled, the digital GPIO will be reset to its default state when the chip wakes up from
381385
* Deep-sleep. If you want to hold the state of a digital GPIO during Deep-sleep, please call `gpio_deep_sleep_hold_en`.
382386
*
@@ -409,7 +413,7 @@ esp_err_t gpio_hold_en(gpio_num_t gpio_num);
409413
*/
410414
esp_err_t gpio_hold_dis(gpio_num_t gpio_num);
411415

412-
#if !SOC_GPIO_SUPPORT_HOLD_SINGLE_IO_IN_DSLP
416+
#if SOC_GPIO_SUPPORT_HOLD_IO_IN_DSLP && !SOC_GPIO_SUPPORT_HOLD_SINGLE_IO_IN_DSLP
413417
/**
414418
* @brief Enable all digital gpio pads hold function during Deep-sleep.
415419
*
@@ -428,7 +432,7 @@ void gpio_deep_sleep_hold_en(void);
428432
* @brief Disable all digital gpio pads hold function during Deep-sleep.
429433
*/
430434
void gpio_deep_sleep_hold_dis(void);
431-
#endif //!SOC_GPIO_SUPPORT_HOLD_SINGLE_IO_IN_DSLP
435+
#endif //SOC_GPIO_SUPPORT_HOLD_IO_IN_DSLP && !SOC_GPIO_SUPPORT_HOLD_SINGLE_IO_IN_DSLP
432436

433437
/**
434438
* @brief Set pad input to a peripheral signal through the IOMUX.

esp32p4/include/esp_driver_i2c/include/driver/i2c_master.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,22 @@ esp_err_t i2c_master_bus_reset(i2c_master_bus_handle_t bus_handle);
231231
*/
232232
esp_err_t i2c_master_bus_wait_all_done(i2c_master_bus_handle_t bus_handle, int timeout_ms);
233233

234+
/**
235+
* @brief Retrieves the I2C master bus handle for a specified I2C port number.
236+
*
237+
* This function retrieves the I2C master bus handle for the
238+
* given I2C port number. Please make sure the handle has already been initialized, and this
239+
* function would simply returns the existing handle. Note that the returned handle still can't be used concurrently
240+
*
241+
* @param port_num I2C port number for which the handle is to be retrieved.
242+
* @param ret_handle Pointer to a variable where the retrieved handle will be stored.
243+
* @return
244+
* - ESP_OK: Success. The handle is retrieved successfully.
245+
* - ESP_ERR_INVALID_ARG: Invalid argument, such as invalid port number
246+
* - ESP_ERR_INVALID_STATE: Invalid state, such as the I2C port is not initialized.
247+
*/
248+
esp_err_t i2c_master_get_bus_handle(i2c_port_num_t port_num, i2c_master_bus_handle_t *ret_handle);
249+
234250
#ifdef __cplusplus
235251
}
236252
#endif

esp32p4/include/esp_hw_support/include/esp_private/esp_modem_clock.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -107,9 +107,15 @@ void modem_clock_select_lp_clock_source(periph_module_t module, modem_clock_lpcl
107107

108108
/**
109109
* @brief Disable lowpower clock source selection
110+
* @param module modem module
110111
*/
111112
void modem_clock_deselect_lp_clock_source(periph_module_t module);
112113

114+
/**
115+
* @brief Disable all modem module's lowpower clock source selection
116+
*/
117+
void modem_clock_deselect_all_module_lp_clock_source(void);
118+
113119
/**
114120
* @brief Reset wifi mac
115121
*/

esp32p4/include/esp_hw_support/include/esp_private/esp_sleep_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void esp_sleep_set_sleep_context(esp_sleep_context_t *sleep_ctx);
3939
*/
4040
void esp_sleep_enable_adc_tsens_monitor(bool enable);
4141

42-
#if !SOC_GPIO_SUPPORT_HOLD_SINGLE_IO_IN_DSLP
42+
#if SOC_GPIO_SUPPORT_HOLD_IO_IN_DSLP && !SOC_GPIO_SUPPORT_HOLD_SINGLE_IO_IN_DSLP
4343
/**
4444
* @brief Isolate all digital IOs except those that are held during deep sleep
4545
*

esp32p4/include/esp_hw_support/port/esp32p4/private_include/pmu_param.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ typedef struct {
173173
uint32_t slp_mem_xpd : 1;
174174
uint32_t slp_logic_xpd : 1;
175175
uint32_t xpd : 1;
176-
uint32_t slp_mem_dbias : 4;
176+
uint32_t xpd_0p1a : 1; // Should map to slp_mem_dbias bit[3] on hardware.
177177
uint32_t slp_logic_dbias: 4;
178178
uint32_t dbias : 5;
179179
};

esp32p4/include/esp_lcd/dsi/include/esp_lcd_mipi_dsi.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,17 @@ typedef struct {
8484
mipi_dsi_dpi_clock_source_t dpi_clk_src; /*!< MIPI DSI DPI clock source */
8585
uint32_t dpi_clock_freq_mhz; /*!< DPI clock frequency in MHz */
8686
lcd_color_rgb_pixel_format_t pixel_format; /*!< Pixel format that used by the MIPI LCD device */
87+
lcd_color_format_t in_color_format; /*!< Format of the input data (color space and pixel format),
88+
which is the format stored in the frame buffer */
89+
lcd_color_format_t out_color_format; /*!< Format of the output data (color space and pixel format),
90+
which is the format that the panel can accept */
8791
uint8_t num_fbs; /*!< Number of screen-sized frame buffers that allocated by the driver
8892
By default (set to either 0 or 1) only one frame buffer will be created */
8993
esp_lcd_video_timing_t video_timing; /*!< Video timing */
9094
/// Extra configuration flags for MIPI DSI DPI panel
9195
struct extra_dpi_panel_flags {
9296
uint32_t use_dma2d: 1; /*!< Use DMA2D to copy user buffer to the frame buffer when necessary */
97+
uint32_t disable_lp: 1;/*!< Disable low-power for DPI */
9398
} flags; /*!< Extra configuration flags */
9499
} esp_lcd_dpi_panel_config_t;
95100

@@ -133,6 +138,18 @@ esp_err_t esp_lcd_dpi_panel_get_frame_buffer(esp_lcd_panel_handle_t dpi_panel, u
133138
*/
134139
esp_err_t esp_lcd_dpi_panel_set_pattern(esp_lcd_panel_handle_t dpi_panel, mipi_dsi_pattern_type_t pattern);
135140

141+
/**
142+
* @brief Set color conversion configuration for DPI panel
143+
*
144+
* @param[in] dpi_panel MIPI DPI panel handle, returned from esp_lcd_new_panel_dpi()
145+
* @param[in] config Color conversion configuration
146+
* @return
147+
* - ESP_OK: Set color conversion configuration successfully
148+
* - ESP_ERR_INVALID_ARG: Set color conversion configuration failed because of invalid argument
149+
* - ESP_FAIL: Set color conversion configuration failed because of other error
150+
*/
151+
esp_err_t esp_lcd_dpi_panel_set_color_conversion(esp_lcd_panel_handle_t dpi_panel, const esp_lcd_color_conv_config_t *config);
152+
136153
/**
137154
* @brief Type of LCD DPI panel event data
138155
*/

esp32p4/include/esp_lcd/include/esp_lcd_io_i2c.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ esp_err_t esp_lcd_new_panel_io_i2c_v2(i2c_master_bus_handle_t bus, const esp_lcd
8383
* - ESP_ERR_NO_MEM if out of memory
8484
* - ESP_OK on success
8585
*/
86-
static inline void esp_lcd_new_panel_io_i2c(uint32_t bus, const esp_lcd_panel_io_i2c_config_t *io_config, esp_lcd_panel_io_handle_t *ret_io)
86+
static inline esp_err_t esp_lcd_new_panel_io_i2c(uint32_t bus, const esp_lcd_panel_io_i2c_config_t *io_config, esp_lcd_panel_io_handle_t *ret_io)
8787
{
88-
esp_lcd_new_panel_io_i2c_v1(bus, io_config, ret_io);
88+
return esp_lcd_new_panel_io_i2c_v1(bus, io_config, ret_io);
8989
}
9090

9191
/**
@@ -99,9 +99,9 @@ static inline void esp_lcd_new_panel_io_i2c(uint32_t bus, const esp_lcd_panel_io
9999
* - ESP_ERR_NO_MEM if out of memory
100100
* - ESP_OK on success
101101
*/
102-
static inline void esp_lcd_new_panel_io_i2c(i2c_master_bus_handle_t bus, const esp_lcd_panel_io_i2c_config_t *io_config, esp_lcd_panel_io_handle_t *ret_io)
102+
static inline esp_err_t esp_lcd_new_panel_io_i2c(i2c_master_bus_handle_t bus, const esp_lcd_panel_io_i2c_config_t *io_config, esp_lcd_panel_io_handle_t *ret_io)
103103
{
104-
esp_lcd_new_panel_io_i2c_v2(bus, io_config, ret_io);
104+
return esp_lcd_new_panel_io_i2c_v2(bus, io_config, ret_io);
105105
}
106106
#else
107107
/**

esp32p4/include/esp_lcd/include/esp_lcd_types.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,22 @@ typedef struct {
7575
esp_lcd_panel_io_color_trans_done_cb_t on_color_trans_done; /*!< Callback invoked when color data transfer has finished */
7676
} esp_lcd_panel_io_callbacks_t;
7777

78+
/**
79+
* @brief Configuration of LCD color conversion
80+
*/
81+
typedef struct {
82+
lcd_color_range_t in_color_range; /*!< Color range of the input color */
83+
lcd_color_range_t out_color_range; /*!< Color range of the output color */
84+
union {
85+
struct {
86+
lcd_yuv_conv_std_t conv_std; /*!< YUV conversion standard: BT601, BT709 */
87+
struct {
88+
lcd_yuv422_pack_order_t in_pack_order; /*!< YUV422 packing order of the input color */
89+
} yuv422; /*!< YUV422 specific */
90+
} yuv; /*!< YUV specific */
91+
} spec; /*!< Extra configuration for specific color conversion */
92+
} esp_lcd_color_conv_config_t;
93+
7894
#ifdef __cplusplus
7995
}
8096
#endif

esp32p4/include/esp_lcd/interface/esp_lcd_panel_io_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include <stdbool.h>
99
#include "esp_err.h"
10-
#include "esp_lcd_panel_io.h"
10+
#include "esp_lcd_types.h"
1111

1212
#ifdef __cplusplus
1313
extern "C" {

esp32p4/include/esp_netif/include/esp_netif.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,17 @@ esp_err_t esp_netif_get_ip6_global(esp_netif_t *esp_netif, esp_ip6_addr_t *if_ip
832832
*/
833833
int esp_netif_get_all_ip6(esp_netif_t *esp_netif, esp_ip6_addr_t if_ip6[]);
834834

835+
/**
836+
* @brief Get all preferred IPv6 addresses of the specified interface
837+
*
838+
* @param[in] esp_netif Handle to esp-netif instance
839+
* @param[out] if_ip6 Array of IPv6 addresses will be copied to the argument
840+
*
841+
* @return
842+
* number of returned IPv6 addresses
843+
*/
844+
int esp_netif_get_all_preferred_ip6(esp_netif_t *esp_netif, esp_ip6_addr_t if_ip6[]);
845+
835846
/**
836847
* @brief Cause the TCP/IP stack to add an IPv6 address to the interface
837848
*

esp32p4/include/esp_wifi/include/esp_mesh.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ esp_err_t esp_mesh_stop(void);
637637
* @param[in] to the address of the final destination of the packet
638638
* - If the packet is to the root, set this parameter to NULL.
639639
* - If the packet is to an external IP network, set this parameter to the IPv4:PORT combination.
640-
* This packet will be delivered to the root firstly, then the root will forward this packet to the final IP server address.
640+
* This packet will be delivered to the root firstly, then users need to call esp_mesh_recv_toDS() on the root node to forward this
641+
* packet to the final IP server address.
641642
* @param[in] data pointer to a sending mesh packet
642643
* - Field size should not exceed MESH_MPS. Note that the size of one mesh packet should not exceed MESH_MTU.
643644
* - Field proto should be set to data protocol in use (default is MESH_PROTO_BIN for binary).

esp32p4/include/esp_wifi/include/esp_now.h

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2019-2023 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2019-2024 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -49,7 +49,8 @@ extern "C" {
4949
#define ESP_NOW_MAX_TOTAL_PEER_NUM 20 /*!< Maximum number of ESPNOW total peers */
5050
#define ESP_NOW_MAX_ENCRYPT_PEER_NUM 6 /*!< Maximum number of ESPNOW encrypted peers */
5151

52-
#define ESP_NOW_MAX_DATA_LEN 250 /*!< Maximum length of ESPNOW data which is sent very time */
52+
#define ESP_NOW_MAX_IE_DATA_LEN 250 /**< Maximum data length in a vendor-specific element */
53+
#define ESP_NOW_MAX_DATA_LEN ESP_NOW_MAX_IE_DATA_LEN /**< Maximum length of data sent in each ESPNOW transmission for v1.0 */
5354

5455
/**
5556
* @brief Status of sending ESPNOW data .
@@ -96,9 +97,10 @@ typedef struct esp_now_recv_info {
9697
*/
9798
typedef struct esp_now_rate_config {
9899
wifi_phy_mode_t phymode; /**< ESPNOW phymode of specified interface */
99-
wifi_phy_rate_t rate; /**< ESPNOW rate of specified interface*/
100-
bool ersu; /**< ESPNOW using ersu send frame*/
101-
bool dcm; /**< ESPNOW using dcm rate to send frame*/
100+
wifi_phy_rate_t rate; /**< ESPNOW rate of specified interface */
101+
bool ersu; /**< ESPNOW using ERSU to send frame, ERSU is a transmission mode related to 802.11 ax.
102+
ERSU is always used in long distance transmission, and its frame has lower rate compared with SU mode */
103+
bool dcm; /**< ESPNOW using dcm rate to send frame */
102104
} esp_now_rate_config_t;
103105

104106
/**
@@ -135,7 +137,10 @@ esp_err_t esp_now_init(void);
135137
esp_err_t esp_now_deinit(void);
136138

137139
/**
138-
* @brief Get the version of ESPNOW
140+
* @brief Get the version of ESPNOW. Currently, ESPNOW supports one version: v1.0.
141+
*
142+
* The v1.0 devices can receive packets if the packet length is less than or equal to ESP_NOW_MAX_IE_DATA_LEN.
143+
* For packets exceeding this length, the v1.0 devices will discard the packet entirely.
139144
*
140145
* @param version ESPNOW version
141146
*

esp32p4/include/esp_wifi/include/esp_private/wifi.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,33 @@ esp_err_t esp_nan_internal_datapath_resp(wifi_nan_datapath_resp_t *resp);
750750
*/
751751
esp_err_t esp_nan_internal_datapath_end(wifi_nan_datapath_end_req_t *req);
752752

753+
/**
754+
* @brief Connect WiFi station to the AP.
755+
*
756+
* @attention 1. This API only impact WIFI_MODE_STA or WIFI_MODE_APSTA mode
757+
*
758+
* @return
759+
* - ESP_OK: succeed
760+
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
761+
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
762+
* - ESP_ERR_WIFI_MODE: WiFi mode error
763+
* - ESP_ERR_WIFI_CONN: WiFi internal error, station or soft-AP control block wrong
764+
* - ESP_ERR_WIFI_SSID: SSID of AP which station connects is invalid
765+
*/
766+
esp_err_t esp_wifi_connect_internal(void);
767+
768+
/**
769+
* @brief Disconnect WiFi station from the AP.
770+
*
771+
* @return
772+
* - ESP_OK: succeed
773+
* - ESP_ERR_WIFI_NOT_INIT: WiFi was not initialized by esp_wifi_init
774+
* - ESP_ERR_WIFI_NOT_STARTED: WiFi was not started by esp_wifi_start
775+
* - ESP_FAIL: other WiFi internal errors
776+
*
777+
*/
778+
esp_err_t esp_wifi_disconnect_internal(void);
779+
753780
#ifdef __cplusplus
754781
}
755782
#endif

esp32p4/include/esp_wifi/include/esp_wifi_he_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ typedef enum {
406406
/** Argument structure for twt configuration */
407407
typedef struct {
408408
bool post_wakeup_event; /**< post twt wakeup event */
409+
bool twt_enable_keep_alive; /**< twt enable send qos null to keep alive */
409410
} wifi_twt_config_t;
410411

411412
/** Argument structure for WIFI_EVENT_TWT_WAKEUP event */

0 commit comments

Comments
 (0)