OSDN Git Service

test_vendor_lib: Dummy inquiry result
authorDennis Cheng <dennischeng@google.com>
Thu, 23 Jul 2015 22:22:50 +0000 (15:22 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 5 Aug 2015 23:12:12 +0000 (23:12 +0000)
commit5f8a46aae144f416d695010ae61c47116562a615
treea1835f077f89a18cdc377172945d5904672c1880
parentf8881fee3d08cb50896b22adc0841223694d51d2
test_vendor_lib: Dummy inquiry result

This upload mainly consists of stub command implementations to get
Bluetooth into the enabled state. The last command handled is the
inquiry command. Upon inquiry, the controller currently sends back a
dummy inquiry result for a fake device. This fake device appears under
the "Available devices" list in the UI.  Bluetooth is able to be toggled
off and on from the UI as well (i.e. it doesn't crash after switching to
on for a few seconds).

Bug: 21586676
Change-Id: Ifd42a6ab4b9338afd461d2ef4f809bdd62fcf79f
vendor_libs/test_vendor_lib/include/bredr_controller.h
vendor_libs/test_vendor_lib/include/event_packet.h
vendor_libs/test_vendor_lib/include/hci_transport.h
vendor_libs/test_vendor_lib/src/bredr_controller.cc
vendor_libs/test_vendor_lib/src/event_packet.cc