Skip to content

Commit e5d11d1

Browse files
committed
Merge branch 'fix_br_selfhosted_address' into 'master'
feat(openthread): move mesh local address judeging function to public See merge request espressif/esp-idf!40229
2 parents 611176d + 4aa7071 commit e5d11d1

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

components/openthread/include/esp_openthread_netif_glue.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ esp_netif_t *esp_openthread_get_netif(void);
7676
*/
7777
void esp_openthread_register_meshcop_e_handler(esp_event_handler_t handler, bool for_publish);
7878

79+
/**
80+
* @brief This function judges the target address is openthread mesh local or not.
81+
*
82+
* @param[in] address The address.
83+
*
84+
* @return
85+
* - True if the address is openthread mesh local, otherwise false
86+
*
87+
*/
88+
bool is_openthread_internal_mesh_local_addr(const otIp6Address *address);
89+
7990
#ifdef __cplusplus
8091
}
8192
#endif

components/openthread/private_include/esp_openthread_netif_glue_priv.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ void esp_openthread_netif_glue_update(esp_openthread_mainloop_context_t *mainloo
3636
*/
3737
esp_err_t esp_openthread_netif_glue_process(otInstance *instance, const esp_openthread_mainloop_context_t *mainloop);
3838

39-
/**
40-
* @brief This function judges the target address is openthread mesh local or not.
41-
*
42-
* @param[in] address The address.
43-
*
44-
* @return
45-
* - True if the address is openthread mesh local, otherwise false
46-
*
47-
*/
48-
bool is_openthread_internal_mesh_local_addr(const otIp6Address *address);
49-
5039
#ifdef __cplusplus
5140
}
5241
#endif

0 commit comments

Comments
 (0)