Floss: hcidoc: Consider adapter off and suspend in rulesets
When adapter is going off or suspending, the host will send disconnect request with reason Remote Device Power Off (0x15), and might not wait for the reply from the peer device. We should treat this accordingly in hcidoc to avoid wrong judgement because of missing disconnect events. Additionally, when controller is reset, we should also reset the states of the rules, otherwise we might get bogus signals which is based on the old state of the controller. This CL adjust the states for the Informational Rule and Connection Rule. Bug: 290593784 Tag: #floss Test: test with feedback report 91055564245 and 91061378476 Change-Id: Ie77389cdd301440d60912c51087994c82c59098f
Loading
Please register or sign in to comment