From 643d16ae9785e4f9e8ec1b773f869b4764a36d71 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Fri, 28 Aug 2020 23:21:00 +0200 Subject: [PATCH] Zigbee fix sequence number for default response --- tasmota/xdrv_23_zigbee_5_converters.ino | 2 +- tasmota/xdrv_23_zigbee_9_serial.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_23_zigbee_5_converters.ino b/tasmota/xdrv_23_zigbee_5_converters.ino index 68df76d9b..5f7c0786b 100644 --- a/tasmota/xdrv_23_zigbee_5_converters.ino +++ b/tasmota/xdrv_23_zigbee_5_converters.ino @@ -1057,7 +1057,7 @@ void ZCLFrame::parseReportAttributes(JsonObject& json, uint8_t offset) { SBuffer buf(2); buf.add8(_cmd_id); buf.add8(0x00); // Status = OK - ZigbeeZCLSend_Raw(_srcaddr, 0x0000, 0x0000 /*cluster*/, _srcendpoint, ZCL_DEFAULT_RESPONSE, false /* not cluster specific */, _manuf_code, buf.getBuffer(), buf.len(), false /* noresponse */, zigbee_devices.getNextSeqNumber(_srcaddr)); + ZigbeeZCLSend_Raw(_srcaddr, 0x0000, 0x0000 /*cluster*/, _srcendpoint, ZCL_DEFAULT_RESPONSE, false /* not cluster specific */, _manuf_code, buf.getBuffer(), buf.len(), false /* noresponse */, _transact_seq); } } diff --git a/tasmota/xdrv_23_zigbee_9_serial.ino b/tasmota/xdrv_23_zigbee_9_serial.ino index da7e64095..3fdddfedb 100644 --- a/tasmota/xdrv_23_zigbee_9_serial.ino +++ b/tasmota/xdrv_23_zigbee_9_serial.ino @@ -792,7 +792,7 @@ void ZigbeeZCLSend_Raw(uint16_t shortaddr, uint16_t groupaddr, uint16_t clusterI if (manuf) { buf.add16(manuf); // add Manuf Id if not null } - buf.add8(transacId); // Transaction Sequance Number + buf.add8(transacId); // Transaction Sequence Number buf.add8(cmdId); if (len > 0) { buf.addBuffer(msg, len); // add the payload