Skip to content

Commit 740e408

Browse files
fix(zigbee): Bump zigbee version and use 1.6.0 (#10563)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
1 parent 87ad78d commit 740e408

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

idf_component.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ dependencies:
5252
espressif/esp_modem:
5353
version: "^1.1.0"
5454
espressif/esp-zboss-lib:
55-
version: "^1.0.1"
55+
version: "==1.6.0"
5656
rules:
5757
- if: "target not in [esp32c2, esp32p4]"
5858
espressif/esp-zigbee-lib:
59-
version: "^1.0.1"
59+
version: "==1.6.0"
6060
rules:
6161
- if: "target not in [esp32c2, esp32p4]"
6262
espressif/esp-dsp:

libraries/Zigbee/src/ep/ZigbeeTempSensor.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ void ZigbeeTempSensor::reportTemperature() {
8080
esp_zb_zcl_report_attr_cmd_t report_attr_cmd;
8181
report_attr_cmd.address_mode = ESP_ZB_APS_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT;
8282
report_attr_cmd.attributeID = ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID;
83-
report_attr_cmd.cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE;
8483
report_attr_cmd.clusterID = ESP_ZB_ZCL_CLUSTER_ID_TEMP_MEASUREMENT;
8584
report_attr_cmd.zcl_basic_cmd.src_endpoint = _endpoint;
8685

libraries/Zigbee/src/ep/ZigbeeThermostat.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void ZigbeeThermostat::setTemperatureReporting(uint16_t min_interval, uint16_t m
185185
int16_t report_change = (int16_t)delta * 100;
186186
esp_zb_zcl_config_report_record_t records[] = {
187187
{
188-
.direction = ESP_ZB_ZCL_CMD_DIRECTION_TO_SRV,
188+
.direction = ESP_ZB_ZCL_REPORT_DIRECTION_SEND,
189189
.attributeID = ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID,
190190
.attrType = ESP_ZB_ZCL_ATTR_TYPE_S16,
191191
.min_interval = min_interval,

0 commit comments

Comments
 (0)