File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
common/thread_border_router_m5stack/src
m5stack_thread_border_router Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ build_examples:
135135
136136build_examples_m5stack :
137137 stage : build
138- image : espressif/idf:v5.4.1
138+ image : espressif/idf:v5.4.2
139139 script :
140140 - *submodule_update
141141 - *build_m5stack_thread_border_router
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ static void epskc_delete_btn_handler(lv_event_t *e)
4545 page = atomic_exchange (& s_epskc_display_page , page );
4646 if (page ) {
4747 esp_openthread_lock_acquire (portMAX_DELAY );
48- otBorderAgentClearEphemeralKey (esp_openthread_get_instance ());
48+ otBorderAgentEphemeralKeyStop (esp_openthread_get_instance ());
4949 esp_openthread_lock_release ();
5050 delete_epskc_display_page (page );
5151 }
@@ -71,9 +71,9 @@ static void create_ephemeral_key_page(char *key_txt)
7171 char txt [13 ] = "" ;
7272
7373 esp_openthread_lock_acquire (portMAX_DELAY );
74- err = otBorderAgentSetEphemeralKey (esp_openthread_get_instance (), key_txt ,
75- CONFIG_OPENTHREAD_EPHEMERALKEY_LIFE_TIME * 1000 ,
76- CONFIG_OPENTHREAD_EPHEMERALKEY_PORT );
74+ err = otBorderAgentEphemeralKeyStart (esp_openthread_get_instance (), key_txt ,
75+ CONFIG_OPENTHREAD_EPHEMERALKEY_LIFE_TIME * 1000 ,
76+ CONFIG_OPENTHREAD_EPHEMERALKEY_PORT );
7777 esp_openthread_lock_release ();
7878
7979 BR_M5STACK_GOTO_ON_FALSE (err == OT_ERROR_NONE , exit , "Fail to apply ephemeral key" );
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ This example requires the M5Stack CoreS3 along with the ESP32-H2 Thread/Zigbee G
2929
3030### IDF Version Required
3131
32- This example requires [ IDF v5.4.1 ] ( https://github.com/espressif/esp-idf/tree/v5.4.1 ) . It may not work with later IDF versions.
32+ This example requires [ IDF v5.4.2 ] ( https://github.com/espressif/esp-idf/tree/v5.4.2 ) . It may not be compatible with older or newer versions of IDF .
3333
3434### Configure the Project
3535
You can’t perform that action at this time.
0 commit comments