mirror of
https://github.com/thelsing/knx.git
synced 2025-01-30 00:19:01 +01:00
Update apdu.cpp
fix short acpi detection
This commit is contained in:
parent
3063bf8195
commit
eaab7d7548
@ -12,7 +12,7 @@ ApduType APDU::type()
|
|||||||
apci = getWord(_data);
|
apci = getWord(_data);
|
||||||
popWord(apci, _data);
|
popWord(apci, _data);
|
||||||
apci &= 0x3ff;
|
apci &= 0x3ff;
|
||||||
if ((apci >> 6) < 11) //short apci
|
if ((apci >> 6) < 11 && (apci >> 6) != 7) //short apci
|
||||||
apci &= 0x3c0;
|
apci &= 0x3c0;
|
||||||
return (ApduType)apci;
|
return (ApduType)apci;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user