mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'esp_matter/remove_delay_ota_bind' into 'main'
esp_matter: remove the delay for starting binding manager and ota requestor See merge request app-frameworks/esp-matter!457
This commit is contained in:
@@ -902,13 +902,9 @@ static void device_callback_internal(const ChipDeviceEvent * event, intptr_t arg
|
||||
break;
|
||||
|
||||
case chip::DeviceLayer::DeviceEventType::kDnssdInitialized:
|
||||
// Wait some time to avoid issue https://github.com/project-chip/connectedhomeip/issues/25570
|
||||
chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(2),
|
||||
[](chip::System::Layer * systemLayer, void * appState) {
|
||||
esp_matter_ota_requestor_start();
|
||||
/* Initialize binding manager */
|
||||
client::binding_manager_init();
|
||||
} , NULL);
|
||||
esp_matter_ota_requestor_start();
|
||||
/* Initialize binding manager */
|
||||
client::binding_manager_init();
|
||||
break;
|
||||
|
||||
case chip::DeviceLayer::DeviceEventType::kCommissioningComplete:
|
||||
|
||||
Reference in New Issue
Block a user