summaryrefslogtreecommitdiff
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2018-10-08 12:05:04 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2018-10-08 12:05:04 +0200
commit83b6cbaf81f29fa018861496a561c37192255e31 (patch)
tree079f85acf257ffdbccb591c8b4bb94b7dfe117a6
parentcb0acff7173a0c8485a43ae2176dab1925bd8408 (diff)
units:bluetooth: Add new BT LE beacon test using EddyStone URL advertisements
-rw-r--r--units/bluetooth/jobs.pxu14
1 files changed, 14 insertions, 0 deletions
diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu
index 1f85fa6..7ab5243 100644
--- a/units/bluetooth/jobs.pxu
+++ b/units/bluetooth/jobs.pxu
@@ -214,3 +214,17 @@ requires:
{%- if __on_ubuntucore__ %}
connections.slot == 'bluez:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:bluez'
{% endif -%}
+
+unit: template
+template-resource: device
+template-filter: device.category == 'BLUETOOTH'
+template-unit: job
+id: bluetooth4/beacon_eddystone_url_{interface}
+_summary: Test system can get beacon EddyStone URL advertisements on the {interface} adapter
+command:
+ checkbox-support-eddystone_scanner -D {interface}
+plugin: shell
+user: root
+flags: also-after-suspend also-after-suspend-manual
+category_id: com.canonical.plainbox::bluetooth
+estimated_duration: 10