diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-02 12:11:43 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-02 15:41:44 -0800 |
commit | 60094aa17af128fb8034945cdeb3712944b174c1 (patch) | |
tree | 286f4bdf709d96ca91bfb0c77447d336ecc1eee3 | |
parent | e146895c7620f924a5541931e4ebc52206843176 (diff) |
libqtappfw: bluetooth: add transport to discovery filter
Only scan for non-LE devices to avoid a delay of detection on
discovery.
Bug-AGL: SPEC-2094
Change-Id: I57adab6bd8751c0f69c59f51ce1eeb7468880dfe
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r-- | bluetooth/bluetooth.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bluetooth/bluetooth.cpp b/bluetooth/bluetooth.cpp index f7ef970..25ff16e 100644 --- a/bluetooth/bluetooth.cpp +++ b/bluetooth/bluetooth.cpp @@ -160,6 +160,7 @@ void Bluetooth::set_discovery_filter() // send inital adapter state + discovery filter parameter.insert("filter", array); + parameter.insert("transport", "bredr"); send_command("adapter_state", parameter); } |