From d084be23db2c243e77edc4f22a510daf9452c5ed Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Sat, 24 Aug 2024 18:32:35 +0200 Subject: [PATCH] Zigbee extend timeout for MCU reboot from 5s to 10s (#22009) --- CHANGELOG.md | 1 + .../tasmota_xdrv_driver/xdrv_23_zigbee_7_0_statemachine.ino | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38cd189f9..f19d0d069 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. ### Fixed - Matter fixed UI bug when no endpoints configured +- Zigbee extend timeout for MCU reboot from 5s to 10s ### Removed diff --git a/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_7_0_statemachine.ino b/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_7_0_statemachine.ino index bffd6d1c8..07893a449 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_7_0_statemachine.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_23_zigbee_7_0_statemachine.ino @@ -453,7 +453,7 @@ static const Zigbee_Instruction zb_prog[] PROGMEM = { ZI_CALL(&ZNP_Reset_Device, 0) // LOW = reset ZI_WAIT(100) // wait for .1 second ZI_CALL(&ZNP_Reset_Device, 1) // HIGH = release reset - ZI_WAIT_RECV_FUNC(5000, ZBR_RESET, &ZNP_Reboot) // timeout 5s + ZI_WAIT_RECV_FUNC(10000, ZBR_RESET, &ZNP_Reboot) // timeout 5s ZI_WAIT(100) ZI_LOG(LOG_LEVEL_DEBUG, kCheckingDeviceConfiguration) // Log Debug: checking device configuration ZI_SEND(ZBS_VERSION) // check ZNP software version @@ -925,7 +925,7 @@ static const Zigbee_Instruction zb_prog[] PROGMEM = { ZI_CALL(&EZ_Reset_Device, 1) // HIGH = release reset // wait for device to start - ZI_WAIT_UNTIL(5000, ZBR_RSTACK) // wait for RSTACK message + ZI_WAIT_UNTIL(10000, ZBR_RSTACK) // wait for RSTACK message // Init device and probe version ZI_SEND(ZBS_VERSION) ZI_WAIT_RECV_FUNC(5000, ZBR_VERSION, &EZ_ReceiveCheckVersion) // check EXT PAN ID