mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
feat(openthread): update openthread br lib
This commit is contained in:
@ -111,7 +111,9 @@ if(CONFIG_OPENTHREAD_ENABLED)
|
|||||||
"openthread/src/core/thread/mesh_forwarder_ftd.cpp"
|
"openthread/src/core/thread/mesh_forwarder_ftd.cpp"
|
||||||
"openthread/src/core/thread/mesh_forwarder_mtd.cpp"
|
"openthread/src/core/thread/mesh_forwarder_mtd.cpp"
|
||||||
"openthread/src/core/thread/mle.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/mle_types.cpp"
|
||||||
|
"openthread/src/core/thread/neighbor.cpp"
|
||||||
"openthread/src/core/thread/neighbor_table.cpp"
|
"openthread/src/core/thread/neighbor_table.cpp"
|
||||||
"openthread/src/core/thread/network_data.cpp"
|
"openthread/src/core/thread/network_data.cpp"
|
||||||
"openthread/src/core/thread/network_data_leader.cpp"
|
"openthread/src/core/thread/network_data_leader.cpp"
|
||||||
|
@ -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
|
* 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);
|
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
|
* @return
|
||||||
* - ESP_OK on success
|
* - 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);
|
esp_err_t esp_openthread_rcp_deinit(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initializes the conneciton to RCP.
|
* @brief Initializes the connection to RCP.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* - ESP_OK on success
|
* - ESP_OK on success
|
||||||
@ -86,6 +86,21 @@ esp_err_t esp_openthread_rcp_deinit(void);
|
|||||||
*/
|
*/
|
||||||
esp_err_t esp_openthread_rcp_init(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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Submodule components/openthread/lib updated: a0f6a77960...5ae57e156e
Reference in New Issue
Block a user