Merge branch 'fix/release_ot_lock_before_call_tcpip_callback' into 'master'

feat(openthread): update openthread br lib

See merge request espressif/esp-idf!30546
This commit is contained in:
Shu Chen 2024-05-23 20:08:02 +08:00
commit 17c9650885
3 changed files with 21 additions and 4 deletions

View File

@ -111,7 +111,9 @@ if(CONFIG_OPENTHREAD_ENABLED)
"openthread/src/core/thread/mesh_forwarder_ftd.cpp"
"openthread/src/core/thread/mesh_forwarder_mtd.cpp"
"openthread/src/core/thread/mle.cpp"
"openthread/src/core/thread/mle_router.cpp"
"openthread/src/core/thread/mle_types.cpp"
"openthread/src/core/thread/neighbor.cpp"
"openthread/src/core/thread/neighbor_table.cpp"
"openthread/src/core/thread/network_data.cpp"
"openthread/src/core/thread/network_data_leader.cpp"

View File

@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -67,7 +67,7 @@ esp_netif_t *esp_openthread_get_backbone_netif(void);
void esp_openthread_register_rcp_failure_handler(esp_openthread_rcp_failure_handler handler);
/**
* @brief Deinitializes the conneciton to RCP.
* @brief Deinitializes the connection to RCP.
*
* @return
* - ESP_OK on success
@ -77,7 +77,7 @@ void esp_openthread_register_rcp_failure_handler(esp_openthread_rcp_failure_hand
esp_err_t esp_openthread_rcp_deinit(void);
/**
* @brief Initializes the conneciton to RCP.
* @brief Initializes the connection to RCP.
*
* @return
* - ESP_OK on success
@ -86,6 +86,21 @@ esp_err_t esp_openthread_rcp_deinit(void);
*/
esp_err_t esp_openthread_rcp_init(void);
/**
* @brief Sets the meshcop(e) instance name.
*
* @note This function can only be called before `esp_openthread_border_router_init`.
* If `instance_name` is NULL, then the service will use the hostname as instance name.
*
* @param[in] instance_name The instance name, can be `NULL`.
*
* @return
* - ESP_OK on success
* - ESP_FAIL if fail to initialize RCP
*
*/
esp_err_t esp_openthread_set_meshcop_instance_name(const char *instance_name);
#ifdef __cplusplus
}
#endif

@ -1 +1 @@
Subproject commit a0f6a77960b36ebe357cc4bee280034f8c7120f1
Subproject commit 5ae57e156e4cd2ccd8dc51e90266b16b284e64de