TorstenRobitzki / bluetoe

C++ Framework to build Bluetooth LE Server (GATT)
MIT License
142 stars 29 forks source link

LL: Disconnect on invalid MIC #116

Open TorstenRobitzki opened 1 year ago

TorstenRobitzki commented 1 year ago

LL/SEC/PER/BI-03-C and LL/SEC/PER/BI-04-C requires the IUT to disconnect the connection. It requires to not even acknowledge the received PDU.

The challenge here is, that in case, that the LL central resends a PDU, the MIC will also appear to be invalid, as the wrong counter is applied, when calculating the MIC. Solutions: