Added ResponseCmndDone() to ZigbeeRead

This commit is contained in:
Hadinger 2019-12-12 22:32:00 +01:00
parent 7d8a4f5077
commit 0c717ddbac
1 changed files with 3 additions and 2 deletions

View File

@ -614,9 +614,10 @@ void CmndZigbeeRead(void) {
}
}
ZigbeeZCLSend(device, cluster, endpoint, ZCL_READ_ATTRIBUTES, false, attrs, attrs_len, false /* we do want a response */);
ZigbeeZCLSend(device, cluster, endpoint, ZCL_READ_ATTRIBUTES, false, attrs, attrs_len, false /* we do want a response */);
if (attrs) { delete[] attrs; }
if (attrs) { delete[] attrs; }
ResponseCmndDone();
}
// Allow or Deny pairing of new Zigbee devices