You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great project. It works perfectly when sending small amount of data (e.g., < 1k). However, crashes when sending large data (e.g., ~1M bytes). Looks like the processSendDataTasks function used in sendData is recursive (e.g., on my phone, each call sends 182 bytes). Does it mean that it doesn't support sending large data (e.g., ~M bytes) (limited by the stack size)?
Why do we use a recursive function to send all data? Will a "for" loop work? Thanks!
Thanks for the great project. It works perfectly when sending small amount of data (e.g., < 1k). However, crashes when sending large data (e.g., ~1M bytes). Looks like the
processSendDataTasks
function used insendData
is recursive (e.g., on my phone, each call sends 182 bytes). Does it mean that it doesn't support sending large data (e.g., ~M bytes) (limited by the stack size)?Why do we use a recursive function to send all data? Will a "for" loop work? Thanks!
BluetoothKit/Source/BKPeer.swift
Line 67 in 2f268e4
The text was updated successfully, but these errors were encountered: