Skip to content

Commit 6f1f618

Browse files
committed
Merge branch 'fix/fix_caps_compatibility_isuue' into 'main'
fix(br): register a compatibility error handler for border router See merge request espressif/esp-thread-br!144
2 parents 255cb23 + ccf5b28 commit 6f1f618

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/common/thread_border_router/src/border_router_launch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ static void ot_task_worker(void *ctx)
161161

162162
// Initialize the OpenThread stack
163163
esp_openthread_register_rcp_failure_handler(rcp_failure_handler);
164+
esp_openthread_set_compatibility_error_callback(rcp_failure_handler);
164165
ESP_ERROR_CHECK(esp_openthread_init(&s_openthread_platform_config));
165166
#if CONFIG_AUTO_UPDATE_RCP
166167
try_update_ot_rcp(&s_openthread_platform_config);

0 commit comments

Comments
 (0)