Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be95fc5

Browse files
committedDec 10, 2024·
fix(zigbee): Set scan to 3 and remove duplicate
1 parent 8c3efc2 commit be95fc5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎libraries/Zigbee/src/ZigbeeCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ZigbeeCore::ZigbeeCore() {
2020
_scan_status = ZB_SCAN_FAILED;
2121
_started = false;
2222
_connected = false;
23-
_scan_duration = 4; // maximum scan duration
23+
_scan_duration = 3; // default scan duration
2424
_rx_on_when_idle = true;
2525
if (!lock) {
2626
lock = xSemaphoreCreateBinary();

‎libraries/Zigbee/src/ZigbeeCore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ class ZigbeeCore {
113113
void setHostConfig(esp_zb_host_config_t config);
114114
esp_zb_host_config_t getHostConfig();
115115

116-
void setPrimaryChannelMask(uint32_t mask);
117116
void setPrimaryChannelMask(uint32_t mask); // By default all channels are scanned (11-26) -> mask 0x07FFF800
118117
void setScanDuration(uint8_t duration); // Can be set from 1 - 4. 1 is fastest, 4 is slowest
119118
uint8_t getScanDuration() {

0 commit comments

Comments
 (0)
Please sign in to comment.