@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.
@@ -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 = 300
44
+ private static var bufferLength = 550
45
45
  private var flagDataAvailable = false
46
46
 
47
47
  //transmission buffer