summaryrefslogtreecommitdiff
path: root/manual/generic/linux/bluetooth-pair.yaml
blob: 6e0750f6ab8a6f5db39e231a92a250e76ea45dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
metadata:
    name: linux-bluetooth-scan
    format: "Manual Test Definition 1.0"
    description: "Test if Bluetooth scan, pairing and file transfer works."
    maintainer:
        - amit.khare@linaro.org
    os:
        - ubuntu
        - openembedded
    scope:
        - functional
    devices:
        - hi6220-hikey
        - apq8016-sbc
    environment:
        - manual-test

run:
    steps:
        - Boot the board to console
        - Make sure at least one BT keyboard device is available in the radio range and in discoverable mode.
        - "$ sudo su"
        - "# bluetoothctl -a"
        - "[bluetooth]# pairable on"
        - "[bluetooth]# scan on"
        - Note MAC-ID of desired device to Connect.
        - "[bluetooth]# default-agent"
        - "[bluetooth]# pair <MAC-ID>"
        - "[bluetooth]# trust <MAC-ID>"
        - "[bluetooth]# quit"
        - Type on the BT keyboard.
    expected:
        - Scanning works and device MAC addresses are displayed
        - Pairing works and bluetoothctl displays proper message
        - Keyboard works and typed characters appear in console
        - No kernel errors crashes occur