Merge PR #52: Fix a debug message
This commit is contained in:
commit
d8c74fd52e
@ -79,7 +79,7 @@ ZigbeeNetworkReply *ZigbeeNetworkDeconz::sendRequest(const ZigbeeNetworkRequest
|
|||||||
ZigbeeInterfaceDeconzReply *interfaceReply = m_controller->requestSendRequest(request);
|
ZigbeeInterfaceDeconzReply *interfaceReply = m_controller->requestSendRequest(request);
|
||||||
connect(interfaceReply, &ZigbeeInterfaceDeconzReply::finished, reply, [this, reply, interfaceReply](){
|
connect(interfaceReply, &ZigbeeInterfaceDeconzReply::finished, reply, [this, reply, interfaceReply](){
|
||||||
if (interfaceReply->statusCode() != Deconz::StatusCodeSuccess) {
|
if (interfaceReply->statusCode() != Deconz::StatusCodeSuccess) {
|
||||||
qCWarning(dcZigbeeController()) << "Could send request to controller. SQN:" << interfaceReply->sequenceNumber() << interfaceReply->statusCode();
|
qCWarning(dcZigbeeController()) << "Could not send request to controller. SQN:" << interfaceReply->sequenceNumber() << interfaceReply->statusCode();
|
||||||
finishNetworkReply(reply, ZigbeeNetworkReply::ErrorInterfaceError);
|
finishNetworkReply(reply, ZigbeeNetworkReply::ErrorInterfaceError);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -173,7 +173,7 @@ void ZigbeeNetworkNxp::sendNextReply()
|
|||||||
ZigbeeInterfaceNxpReply *interfaceReply = m_controller->requestSendRequest(reply->request());
|
ZigbeeInterfaceNxpReply *interfaceReply = m_controller->requestSendRequest(reply->request());
|
||||||
connect(interfaceReply, &ZigbeeInterfaceNxpReply::finished, reply, [this, reply, interfaceReply](){
|
connect(interfaceReply, &ZigbeeInterfaceNxpReply::finished, reply, [this, reply, interfaceReply](){
|
||||||
if (interfaceReply->status() != Nxp::StatusSuccess) {
|
if (interfaceReply->status() != Nxp::StatusSuccess) {
|
||||||
qCWarning(dcZigbeeController()) << "Could send request to controller. SQN:" << interfaceReply->sequenceNumber() << interfaceReply->status();
|
qCWarning(dcZigbeeController()) << "Could not send request to controller. SQN:" << interfaceReply->sequenceNumber() << interfaceReply->status();
|
||||||
finishReplyInternally(reply, ZigbeeNetworkReply::ErrorInterfaceError);
|
finishReplyInternally(reply, ZigbeeNetworkReply::ErrorInterfaceError);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -79,7 +79,7 @@ ZigbeeNetworkReply *ZigbeeNetworkTi::sendRequest(const ZigbeeNetworkRequest &req
|
|||||||
ZigbeeInterfaceTiReply *interfaceReply = m_controller->requestSendRequest(request);
|
ZigbeeInterfaceTiReply *interfaceReply = m_controller->requestSendRequest(request);
|
||||||
connect(interfaceReply, &ZigbeeInterfaceTiReply::finished, reply, [this, reply, interfaceReply](){
|
connect(interfaceReply, &ZigbeeInterfaceTiReply::finished, reply, [this, reply, interfaceReply](){
|
||||||
if (interfaceReply->statusCode() != Ti::StatusCodeSuccess) {
|
if (interfaceReply->statusCode() != Ti::StatusCodeSuccess) {
|
||||||
qCWarning(dcZigbeeController()) << "Could send request to controller." << interfaceReply->statusCode();
|
qCWarning(dcZigbeeController()) << "Could not send request to controller." << interfaceReply->statusCode();
|
||||||
finishNetworkReply(reply, ZigbeeNetworkReply::ErrorInterfaceError);
|
finishNetworkReply(reply, ZigbeeNetworkReply::ErrorInterfaceError);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user