Improve timeOut handling
Closed this issue · 0 comments
Strooom commented
currently, in the NCI stateMachine, the first check is for timeOut and then we check for having received a message.
If for some reason the DH runs the NCI stateMachine after the timeOut (eg due to being blocked somewhere else in code) but the NFC device answered in time, the timeOut will still trigger.
By checking for having received a msg first, and only when nothing received checking for timeOut, the behaviour will be more robust.