Skip to content

Commit d8049ae

Browse files
wqx6austina-csa
authored andcommitted
fix ESP Thread Border Router example (project-chip#34896)
1 parent 9519223 commit d8049ae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/thread-br-app/esp32/main/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ static void InitServer(intptr_t context)
8888
sThreadBRDelegate = chip::Platform::New<ThreadBorderRouterManagement::GenericOpenThreadBorderRouterDelegate>(storageDelegate);
8989
sThreadBRMgmtInstance = chip::Platform::New<ThreadBorderRouterManagement::ServerInstance>(
9090
kThreadBRMgmtEndpoint, sThreadBRDelegate, chip::Server::GetInstance().GetFailSafeContext());
91+
char borderRouterName[] = "Espressif-ThreadBR";
92+
sThreadBRDelegate->SetThreadBorderRouterName(CharSpan(borderRouterName));
9193
sThreadBRMgmtInstance->Init();
9294
}
9395

examples/thread-br-app/esp32/partitions.csv

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ nvs, data, nvs, , 0xC000,
44
otadata, data, ota, , 0x2000,
55
phy_init, data, phy, , 0x1000,
66
ota_0, app, ota_0, , 1800K,
7-
ota_1, app, ota_1, , 1200K,
8-
rcp_fw, data, spiffs, , 640K,
7+
ota_1, app, ota_1, , 1800K,
8+
rcp_fw, data, spiffs, , 300K,

0 commit comments

Comments
 (0)