@iotize/device-com-ble.cordova 3.6.4 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/iotize-device-com-ble.cordova.umd.js.map +1 -1
- package/bundles/iotize-device-com-ble.cordova.umd.min.js.map +1 -1
- package/fesm2015/iotize-device-com-ble.cordova.js.map +1 -1
- package/package.json +1 -1
- package/src/android/.gradle/4.8.1/fileChanges/last-build.bin +0 -0
- package/src/android/.gradle/4.8.1/fileHashes/fileHashes.bin +0 -0
- package/src/android/.gradle/4.8.1/fileHashes/fileHashes.lock +0 -0
- package/src/android/src/ble/BLEProtocol.java +1 -3
- package/src/android/src/ble/characteristics/AbstractLwM2MRequestCharacteristic.java +1 -1
- package/src/android/src/ble/characteristics/LwM2M20BytesRequestCharacteristicAdapter.java +1 -1
- package/src/android/src/ble/characteristics/LwM2MMTURequestCharacteristicAdapter.java +5 -2
- package/src/ios/BLECom.swift +6 -0
- package/src/ios/BLETapPeripheral.swift +1 -1
- package/www/plugin.js +1 -1
package/src/ios/BLECom.swift
CHANGED
|
@@ -735,6 +735,12 @@ struct BLEAction {
|
|
|
735
735
|
func close(command: CDVInvokedUrlCommand) {
|
|
736
736
|
disConnect(command: command)
|
|
737
737
|
}
|
|
738
|
+
|
|
739
|
+
@obj(requestMTU:)
|
|
740
|
+
func requestMTU(command: CDVInvokedUrlCommand) {
|
|
741
|
+
//nothing to do
|
|
742
|
+
self.sendSuccessWithSingleResponse(command: command, result: "OK")
|
|
743
|
+
}
|
|
738
744
|
}
|
|
739
745
|
|
|
740
746
|
struct ScannerOptions: Decodable {
|
|
@@ -41,7 +41,7 @@ class BLETapPeripheral: NSObject, CBPeripheralDelegate{
|
|
|
41
41
|
//device ble firmware version
|
|
42
42
|
private var bleVersion: String="0.0"
|
|
43
43
|
|
|
44
|
-
private static var bufferLength =
|
|
44
|
+
private static var bufferLength = 550
|
|
45
45
|
private var flagDataAvailable = false
|
|
46
46
|
|
|
47
47
|
//transmission buffer
|