summaryrefslogtreecommitdiffstats
path: root/tests/bttestui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bttestui/main.qml')
-rw-r--r--tests/bttestui/main.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bttestui/main.qml b/tests/bttestui/main.qml
index ddf55d02..caf182c3 100644
--- a/tests/bttestui/main.qml
+++ b/tests/bttestui/main.qml
@@ -90,6 +90,18 @@ Rectangle {
anchors.bottomMargin: 3
text: device.evaluateSocketState(0)
}
+ Text {
+ id: secFlagLabel; text: "SecFlags: "
+ anchors.left: parent.left
+ anchors.bottom: hostModeText.top
+ anchors.bottomMargin: 3
+ }
+ Text {
+ anchors.left: secFlagLabel.right
+ anchors.bottom: hostModeText.top
+ anchors.bottomMargin: 3
+ text: device.secFlags
+ }
Row {
anchors.top: parent.top
@@ -132,6 +144,10 @@ Rectangle {
buttonText: "Unpair"
onClicked: device.requestPairingUpdate(false)
}
+ Button {
+ buttonText: "Cycle SecFlag"
+ onClicked: device.cycleSecurityFlags()
+ }
}
Column {
spacing: 8