Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Transfer Size Limitation #116

Open
hrishav503 opened this issue Jun 3, 2022 · 0 comments
Open

Data Transfer Size Limitation #116

hrishav503 opened this issue Jun 3, 2022 · 0 comments

Comments

@hrishav503
Copy link

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant