From 763c15a53fdaaf829dadffb5910a4fe23991c9a1 Mon Sep 17 00:00:00 2001 From: CrispinP Date: Sun, 16 Sep 2018 20:32:09 +0100 Subject: [PATCH 1/3] Support for Soma Blinds Gatt files to enable support for soma blinds. --- .../org.bluetooth.service.somablind.xml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/main/resources/gatt/service/org.bluetooth.service.somablind.xml diff --git a/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml b/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml new file mode 100644 index 0000000..0cec7f1 --- /dev/null +++ b/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml @@ -0,0 +1,45 @@ + + + + Soma Blinds control + + + Controller for Soma Blinds + + + + This service has no dependencies on other GATT-based services. + + + Mandatory + Mandatory + Mandatory + Mandatory + + + false + true + + + + + + Blind control + Mandatory + + Excluded + Excluded + Excluded + Excluded + Excluded + Excluded + Mandatory + Excluded + Excluded + + + + From 5eedf6c12f10d5d9084b3020b46f9d7a7a3f973a Mon Sep 17 00:00:00 2001 From: CrispinP Date: Sun, 16 Sep 2018 20:34:16 +0100 Subject: [PATCH 2/3] Support for Soma Blinds Support for Soma blinds --- ...luetooth.characteristic.somablind_motor.xml | 18 ++++++++++++++++++ ...tooth.characteristic.somablind_position.xml | 17 +++++++++++++++++ ...uetooth.characteristic.somablind_target.xml | 18 ++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_motor.xml create mode 100644 src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_position.xml create mode 100644 src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_target.xml diff --git a/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_motor.xml b/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_motor.xml new file mode 100644 index 0000000..3dd1d0b --- /dev/null +++ b/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_motor.xml @@ -0,0 +1,18 @@ + + + + + Motor Control + + + + + Mandatory + + uint8 + + + diff --git a/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_position.xml b/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_position.xml new file mode 100644 index 0000000..4661e01 --- /dev/null +++ b/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_position.xml @@ -0,0 +1,17 @@ + + + + + Position of blinds + + + + + Mandatory + uint8 + + + \ No newline at end of file diff --git a/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_target.xml b/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_target.xml new file mode 100644 index 0000000..1974910 --- /dev/null +++ b/src/main/resources/gatt/characteristic/org.bluetooth.characteristic.somablind_target.xml @@ -0,0 +1,18 @@ + + + + + Target of blinds + + + + + Mandatory + + uint8 + + + From 20085a924374f876e032da33dc830eb95ab18978 Mon Sep 17 00:00:00 2001 From: CrispinP <27884877+CrispinP@users.noreply.github.com> Date: Tue, 18 Sep 2018 23:13:28 +0100 Subject: [PATCH 3/3] Update org.bluetooth.service.somablind.xml --- .../resources/gatt/service/org.bluetooth.service.somablind.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml b/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml index 0cec7f1..ef7a185 100644 --- a/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml +++ b/src/main/resources/gatt/service/org.bluetooth.service.somablind.xml @@ -1,6 +1,6 @@ + type="org.bluetooth.service.somablind" uuid="1861" last-modified="2018-09-06"> Soma Blinds control