From 7e626396ebb367a1851403a04c0b8b3715058ba5 Mon Sep 17 00:00:00 2001 From: Andrew Reed Date: Mon, 27 Apr 2020 20:51:58 +0100 Subject: [PATCH] incremented version --- .../src/main/java/dev/bluefalcon/services/BluetoothService.kt | 3 ++- examples/ios/Blue-Falcon/Services/BluetoothService.swift | 3 ++- examples/ios/Podfile.lock | 2 +- examples/macOS/Blue-Falcon/Services/BluetoothService.swift | 3 ++- gradle.properties | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/android/src/main/java/dev/bluefalcon/services/BluetoothService.kt b/examples/android/src/main/java/dev/bluefalcon/services/BluetoothService.kt index 68d3ae9..3f9439b 100644 --- a/examples/android/src/main/java/dev/bluefalcon/services/BluetoothService.kt +++ b/examples/android/src/main/java/dev/bluefalcon/services/BluetoothService.kt @@ -1,5 +1,6 @@ package dev.bluefalcon.services +import android.bluetooth.BluetoothGattCharacteristic import dev.bluefalcon.* import java.util.* import android.os.Build @@ -52,7 +53,7 @@ class BluetoothService: BlueFalconDelegate { bluetoothCharacteristic: BluetoothCharacteristic, value: String ) { - blueFalcon.writeCharacteristic(bluetoothPeripheral, bluetoothCharacteristic, value) + blueFalcon.writeCharacteristic(bluetoothPeripheral, bluetoothCharacteristic, value, BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT) } fun readDescriptor( diff --git a/examples/ios/Blue-Falcon/Services/BluetoothService.swift b/examples/ios/Blue-Falcon/Services/BluetoothService.swift index a1eaaca..e4d1e02 100644 --- a/examples/ios/Blue-Falcon/Services/BluetoothService.swift +++ b/examples/ios/Blue-Falcon/Services/BluetoothService.swift @@ -63,7 +63,8 @@ class BluetoothService { blueFalcon.writeCharacteristic( bluetoothPeripheral: bluetoothPeripheral, bluetoothCharacteristic: BluetoothCharacteristic(characteristic: bluetoothCharacteristic), - value: value + value: value, + writeType: nil ) } diff --git a/examples/ios/Podfile.lock b/examples/ios/Podfile.lock index b53ba0b..04c14e4 100644 --- a/examples/ios/Podfile.lock +++ b/examples/ios/Podfile.lock @@ -13,4 +13,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 59029ea86acb95fb259b30cb095d1065ca20130e -COCOAPODS: 1.7.1 +COCOAPODS: 1.9.1 diff --git a/examples/macOS/Blue-Falcon/Services/BluetoothService.swift b/examples/macOS/Blue-Falcon/Services/BluetoothService.swift index 54d4b2c..3763092 100644 --- a/examples/macOS/Blue-Falcon/Services/BluetoothService.swift +++ b/examples/macOS/Blue-Falcon/Services/BluetoothService.swift @@ -63,7 +63,8 @@ class BluetoothService { blueFalcon.writeCharacteristic( bluetoothPeripheral: bluetoothPeripheral, bluetoothCharacteristic: BluetoothCharacteristic(characteristic: bluetoothCharacteristic), - value: value + value: value, + writeType: nil ) } diff --git a/gradle.properties b/gradle.properties index a5c6a2e..8d7282d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,7 +21,7 @@ org.gradle.configureondemand = false android.useAndroidX=true android.enableJetifier=true -version=0.6.4 +version=0.6.5 group=dev.bluefalcon libraryName=blue-falcon bintray_plugin_version=1.8.4