mirror of
https://github.com/thelsing/knx.git
synced 2025-01-21 00:05:43 +01:00
Hotfix: remove of _savedAsapXXX = 0
This commit is contained in:
parent
d52df6d584
commit
5abd3d4408
@ -86,21 +86,18 @@ void ApplicationLayer::dataGroupConfirm(AckType ack, HopCountType hopType, Prior
|
|||||||
_bau.groupValueReadLocalConfirm(ack, _savedAsapReadRequest, priority, hopType, secCtrl, status);
|
_bau.groupValueReadLocalConfirm(ack, _savedAsapReadRequest, priority, hopType, secCtrl, status);
|
||||||
else
|
else
|
||||||
println("dataGroupConfirm: APDU-Type GroupValueRead has _savedAsapReadRequest = 0");
|
println("dataGroupConfirm: APDU-Type GroupValueRead has _savedAsapReadRequest = 0");
|
||||||
_savedAsapReadRequest = 0;
|
|
||||||
break;
|
break;
|
||||||
case GroupValueResponse:
|
case GroupValueResponse:
|
||||||
if (_savedAsapResponse > 0)
|
if (_savedAsapResponse > 0)
|
||||||
_bau.groupValueReadResponseConfirm(ack, _savedAsapResponse, priority, hopType, secCtrl, apdu.data(), apdu.length() - 1, status);
|
_bau.groupValueReadResponseConfirm(ack, _savedAsapResponse, priority, hopType, secCtrl, apdu.data(), apdu.length() - 1, status);
|
||||||
else
|
else
|
||||||
println("dataGroupConfirm: APDU-Type GroupValueResponse has _savedAsapResponse = 0");
|
println("dataGroupConfirm: APDU-Type GroupValueResponse has _savedAsapResponse = 0");
|
||||||
_savedAsapResponse = 0;
|
|
||||||
break;
|
break;
|
||||||
case GroupValueWrite:
|
case GroupValueWrite:
|
||||||
if (_savedAsapWriteRequest > 0)
|
if (_savedAsapWriteRequest > 0)
|
||||||
_bau.groupValueWriteLocalConfirm(ack, _savedAsapWriteRequest, priority, hopType, secCtrl, apdu.data(), apdu.length() - 1, status);
|
_bau.groupValueWriteLocalConfirm(ack, _savedAsapWriteRequest, priority, hopType, secCtrl, apdu.data(), apdu.length() - 1, status);
|
||||||
else
|
else
|
||||||
println("dataGroupConfirm: APDU-Type GroupValueWrite has _savedAsapWriteRequest = 0");
|
println("dataGroupConfirm: APDU-Type GroupValueWrite has _savedAsapWriteRequest = 0");
|
||||||
_savedAsapWriteRequest = 0;
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
print("datagroup-confirm: unhandled APDU-Type: ");
|
print("datagroup-confirm: unhandled APDU-Type: ");
|
||||||
|
Loading…
Reference in New Issue
Block a user