summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml')
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml
new file mode 100644
index 0000000000..5d7c51be6c
--- /dev/null
+++ b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml
@@ -0,0 +1,23 @@
+import QtQuick 2.0
+import com.ford.phonecore 1.0
+import "../../Components"
+
+Item {
+ ListView {
+ anchors.horizontalCenter: parent.horizontalCenter
+ width: 300
+ anchors.top: parent.top
+ anchors.bottom: parent.bottom
+ spacing: 10
+
+ delegate: Button {
+ text: name
+ width: parent.width
+ onPress: bluetooth_devices.createPairedDevice(mac)
+ }
+
+ model: BluetoothDiscoveredDevices {
+ id: bluetooth_devices
+ }
+ }
+}