fix(zigbee): Set scan to 3 and remove duplicate
This commit is contained in:
parent
8c3efc26f6
commit
be95fc5764
2 changed files with 1 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ ZigbeeCore::ZigbeeCore() {
|
|||
_scan_status = ZB_SCAN_FAILED;
|
||||
_started = false;
|
||||
_connected = false;
|
||||
_scan_duration = 4; // maximum scan duration
|
||||
_scan_duration = 3; // default scan duration
|
||||
_rx_on_when_idle = true;
|
||||
if (!lock) {
|
||||
lock = xSemaphoreCreateBinary();
|
||||
|
|
|
|||
|
|
@ -113,7 +113,6 @@ public:
|
|||
void setHostConfig(esp_zb_host_config_t config);
|
||||
esp_zb_host_config_t getHostConfig();
|
||||
|
||||
void setPrimaryChannelMask(uint32_t mask);
|
||||
void setPrimaryChannelMask(uint32_t mask); // By default all channels are scanned (11-26) -> mask 0x07FFF800
|
||||
void setScanDuration(uint8_t duration); // Can be set from 1 - 4. 1 is fastest, 4 is slowest
|
||||
uint8_t getScanDuration() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue