Make default response a gloabl command in the frame control header field

This commit is contained in:
Simon Stürz 2020-12-15 15:21:39 +01:00
parent 1c30c1de8b
commit 108898053e

View File

@ -288,7 +288,7 @@ ZigbeeClusterReply *ZigbeeCluster::sendDefaultResponse(quint8 transactionSequenc
// Build ZCL frame control // Build ZCL frame control
ZigbeeClusterLibrary::FrameControl frameControl; ZigbeeClusterLibrary::FrameControl frameControl;
frameControl.frameType = ZigbeeClusterLibrary::FrameTypeClusterSpecific; frameControl.frameType = ZigbeeClusterLibrary::FrameTypeGlobal;
frameControl.manufacturerSpecific = false; frameControl.manufacturerSpecific = false;
frameControl.direction = ZigbeeClusterLibrary::DirectionServerToClient; frameControl.direction = ZigbeeClusterLibrary::DirectionServerToClient;
frameControl.disableDefaultResponse = true; frameControl.disableDefaultResponse = true;