summaryrefslogtreecommitdiff
path: root/units/bluetooth
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2018-10-10 11:04:42 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2018-10-10 11:04:42 +0200
commit7a33619ba5e54b7eebdf8e09461dcd50a74712d2 (patch)
tree12f6f1f86958abc6fb62b50f0d5a6ce82f2a6e02 /units/bluetooth
parent83b6cbaf81f29fa018861496a561c37192255e31 (diff)
units:bluetooth: Ensure the device is up and running before scanning for beacon ads
Diffstat (limited to 'units/bluetooth')
-rw-r--r--units/bluetooth/jobs.pxu2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu
index 7ab5243d..9d6a6715 100644
--- a/units/bluetooth/jobs.pxu
+++ b/units/bluetooth/jobs.pxu
@@ -222,6 +222,8 @@ template-unit: job
id: bluetooth4/beacon_eddystone_url_{interface}
_summary: Test system can get beacon EddyStone URL advertisements on the {interface} adapter
command:
+ hciconfig {interface} up
+ hciconfig
checkbox-support-eddystone_scanner -D {interface}
plugin: shell
user: root