OSDN Git Service

Rootcanal: Exit local loopback mode on HciReset
authorHansong Zhang <hsz@google.com>
Tue, 30 Apr 2019 17:51:27 +0000 (10:51 -0700)
committerHansong Zhang <hsz@google.com>
Tue, 30 Apr 2019 18:52:13 +0000 (11:52 -0700)
commit843271b29bccc31dd94ff9bcbe4c89b2fa72dd1b
tree54f6cf7263b4ffc5a7960c0a6c0a56ed55f9f9a6
parent8c08ceb6421a145d68ea670a0b19f4f9e9a55a1b
Rootcanal: Exit local loopback mode on HciReset

In Bluetooth code spec v5.1 Vol 2 Part E 7.6.2, it states "the commands
HCI_Reset and HCI_Write_Loopback_Mode can be used to exit Local Loopback
mode".

In HAL cert test, enter local loopback mode, reset, and check whether
local loopback mode.

Test: cert/run_cert.sh
Bug: 131625008
Change-Id: I79546b202affe8ccd48b10e230cf73465324b409
vendor_libs/test_vendor_lib/model/controller/dual_mode_controller.cc