BluetoothKit icon indicating copy to clipboard operation
BluetoothKit copied to clipboard

Data Transfer Size Limitation

Open hrishav503 opened this issue 2 years ago • 0 comments

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 }

hrishav503 avatar Jun 03 '22 01:06 hrishav503