How to improve throughput on IOS #1358
Unanswered
thiwanka-g
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, you can't change the MTU in iOS, is negotiated by the device and the cell phone. I didn't understand why you don't want to use writeWithoutResponse because it is definitely faster. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been trying to find a way to increase MTU value when transferring data for a
OTA Firmware
. I've been usingwrite
method setting by setting themaxByteSize
to MTU - 3. Which I would set at 185 for IOS, and the transfer complete in around 10 minutes.I am able to use
requestMTU
with 512 and perform the same operation in around 4 minutes. The manufacturer provided app running on IOS completes in around the same time (4 minutes).I have tried to use
getMaximumWriteValueLengthForWithResponse
to try and determine the MTU value settled on by the ble device and the IOS device. This function returns 512, however there is no change in the throughput in IOS by setting either 182 or the 512 returned by the function.Is there a way to improve the transfer time as the manufacturer's app seems to perform the same function in less than half the time.
P.S: not considering writeWithoutResponse as running this on android is able to get similar results to manufacturer's app.
I need this to work on IOS
Beta Was this translation helpful? Give feedback.
All reactions