rhummelmose / BluetoothKit

Easily communicate between iOS/OSX devices using BLE
Other
2.27k stars 267 forks source link

Data Transfer Size Limitation #116

Open hrishav503 opened 2 years ago

hrishav503 commented 2 years ago

Is there a limitation in data transfer size? can transfer small size of data but once the size increase data cannot be received? issues is generally seen when data gets higher in size which is 60000, 70000 bytes.

my data sending code,

**let navLogData = NSKeyedArchiver.archivedData(withRootObject: navDict) Logger.info("Sending to (remotePeripheral.name)") central.sendData(navLogData, toRemotePeer: remotePeripheral) { data, remotePeripheral, error in guard error == nil else { Logger.info("Failed sending to (remotePeripheral)") Utils.showAlert(title: "", msg: "Failed to send data. Please Try Again", alertType: .ok, cancelHandler: nil) { in
} return }**_