Skip to content

Commit 893b9e6

Browse files
committedJan 28, 2025
subsys: add a range to CONFIG_ZIGBEE_DEV_REJOIN_TIMEOUT_MS
Avoid overflow in `ZB_MILLISECONDS_TO_BEACON_INTERVAL_CEIL` macro. Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
1 parent 9f5c298 commit 893b9e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎subsys/Kconfig

+3
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,9 @@ config ZIGBEE_TC_REJOIN_ENABLED
382382
config ZIGBEE_DEV_REJOIN_TIMEOUT_MS
383383
int "Timeout in ms after which End Device stops to send beacons if can not join/rejoin a network"
384384
default 200000
385+
range 20000 4200000
386+
help
387+
The range is limited up to 70 minutes to avoid internal overflows.
385388

386389
DT_CHOSEN_NCS_ZIGBEE_TIMER := ncs,zigbee-timer
387390

0 commit comments

Comments
 (0)