Skip to content

Commit b388ea7

Browse files
committed
release/esp-zigbee-sdk-v1.6.8(79cb709a)
- Updated esp-zigbee-lib to v1.6.8 - Added `esp_zb_nwk_set_extended_pan_id()` and `esp_zb_nwk_get_extended_pan_id()` to configure the NWK `nwkExtendedPANID` attribute. - Added `esp_zb_aps_set_authenticated()` and `esp_zb_aps_is_authenticated()` to configure the APS authenticated state. - Optimized the channel selection mechanism used when forming a Zigbee network. - Fixed a crash issue occurring when the `zb_storage` partition is marked as encrypted. - Fixed an issue where the parameter of `esp_zb_zgpd_send_command()` only took effect for the ZGPD `Toggle` command.
1 parent ef60059 commit b388ea7

File tree

7 files changed

+52
-8
lines changed

7 files changed

+52
-8
lines changed

RELEASE_NOTES.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Espressif Zigbee SDK Release Notes
22

3+
## 5-Nov-2025
4+
1.6.8 version release of ESP-ZIGBEE-SDK is based on esp-idf v5.5.1
5+
6+
### Features
7+
- Added `esp_zb_nwk_set_extended_pan_id()` and `esp_zb_nwk_get_extended_pan_id()` to configure the NWK `nwkExtendedPANID` attribute.
8+
- Added `esp_zb_aps_set_authenticated()` and `esp_zb_aps_is_authenticated()` to configure the APS authenticated state.
9+
- Optimized the channel selection mechanism used when forming a Zigbee network.
10+
11+
### Bug Fixes
12+
- Fixed a crash issue occurring when the `zb_storage` partition is marked as encrypted.
13+
- Fixed an issue where the parameter of `esp_zb_zgpd_send_command()` only took effect for the ZGPD `Toggle` command.
14+
15+
### Changes
16+
- Updated esp-zigbee-lib to v1.6.8
17+
18+
319
## 29-Aug-2025
420
1.6.7 version release of ESP-ZIGBEE-SDK is based on esp-idf v5.3.2
521

components/esp-zigbee-lib/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.16)
22

33
if (CONFIG_ZB_ENABLED)
4-
set(src_dirs "")
4+
set(src_dirs "src/compat")
55
set(include_dirs include)
66
endif()
77

@@ -53,9 +53,10 @@ if(CONFIG_ZB_ENABLED)
5353
target_link_libraries(${COMPONENT_LIB} INTERFACE ${ESP_ZIGBEE_API_LIBS})
5454
target_compile_options(${COMPONENT_LIB} INTERFACE $<$<COMPILE_LANGUAGE:C>:-Wno-strict-prototypes>)
5555

56+
target_link_libraries(${COMPONENT_LIB} INTERFACE zboss_port_lib $<TARGET_FILE:${COMPONENT_LIB}>)
5657
if (CONFIG_ZB_RADIO_SPINEL_UART)
5758
idf_component_get_property(openthread_lib openthread COMPONENT_LIB)
58-
idf_component_get_property(zigbee_lib espressif__esp-zigbee-lib COMPONENT_LIB)
59-
target_link_libraries(${COMPONENT_LIB} INTERFACE zboss_port_lib $<TARGET_FILE:${zigbee_lib}> $<TARGET_FILE:${openthread_lib}> zboss_port_lib)
59+
target_link_libraries(${COMPONENT_LIB} INTERFACE $<TARGET_FILE:${openthread_lib}>)
6060
endif()
61+
6162
endif()
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include <stdio.h>
7+
#include <stdarg.h>
8+
9+
#include "esp_log.h"
10+
#include "esp_idf_version.h"
11+
12+
#define LOG_LEVEL_LEN 3U
13+
#define LOG_LEVEL_MASK ((1U << LOG_LEVEL_LEN) - 1U)
14+
#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0)
15+
/* Declare the `esp_log()` symbol to ensure compatibility with the new `esp_log()` feature introduced in
16+
ESP-IDF v5.5.0 for lower versions. */
17+
void esp_log(uint32_t config, const char *tag, const char *format, ...)
18+
{
19+
20+
va_list args;
21+
va_start(args, format);
22+
esp_log_writev((config & LOG_LEVEL_MASK), tag, format, args);
23+
va_end(args);
24+
}
25+
#else
26+
static_assert(LOG_LEVEL_LEN == ESP_LOG_LEVEL_LEN, "ESP_LOG_LEVEL_LEN has been changed!");
27+
#endif

examples/esp_zigbee_all_device_types_app/partitions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
nvs, data, nvs, , 0x6000,
44
otadata, data, ota, , 0x2000,
55
phy_init, data, phy, , 0x1000,
6-
factory, app, factory, , 1500k,
6+
factory, app, factory, , 1200k,
77
zb_storage, data, fat, , 16K,
88
zb_fct, data, fat, , 1K,

examples/esp_zigbee_gateway/partitions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
33
nvs, data, nvs, 0x9000, 0x6000,
44
phy_init, data, phy, 0xf000, 0x1000,
5-
factory, app, factory, 0x10000, 1800K,
5+
factory, app, factory, 0x10000, 1500K,
66
zb_storage, data, fat, ,16K,
77
zb_fct, data, fat, ,1K,
88
rcp_fw, data, spiffs, ,640k,

examples/esp_zigbee_ncp/partitions.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
nvs, data, nvs, , 0x6000,
44
otadata, data, ota, , 0x2000,
55
phy_init, data, phy, , 0x1000,
6-
ota_0, app, ota_0, , 900K,
7-
ota_1, app, ota_1, , 900K,
6+
ota_0, app, ota_0, , 940K,
7+
ota_1, app, ota_1, , 940K,
88
zb_storage, data, fat, , 16K,
99
zb_fct, data, fat, , 1K,

examples/esp_zigbee_ota/ota_server/partitions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
33
nvs, data, nvs, 0x9000, 0x6000,
44
phy_init, data, phy, 0xf000, 0x1000,
5-
factory, app, factory, 0x10000, 1400K,
5+
factory, app, factory, 0x10000, 1500K,
66
zb_storage, data, fat, , 16K,
77
zb_fct, data, fat, , 1K,

0 commit comments

Comments
 (0)