-
Notifications
You must be signed in to change notification settings - Fork 214
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
Customize MTU #407
Comments
I can add it in the next release of you need it. May I ask why do you need it? |
I'm not sure the exact root cause, think it is a similar issue described here. |
As suggested there, it may be enough to set PRN. On iOS you need to set this: I'll release 4.10 without requested feature, but if you find it necessary and test it, we'll think about it. |
I tried setting a different value for the Do you think it is still valuable to have the ability to set a different MTU independent of the |
Well.. you may limit the MTU on the bootloader side. All bootloader capabilities should be calculated and tailored so it is possible to do DFU with maximum values without problems. If the flash requires some time to be written to, perhaps the PRN notifications should be used to sync transmitter and receiver. But if even a single packet is too long, or comes too fast with high MTU and DLE enabled, perhaps MTU could be lowered, of DLE disabled. You know what I mean. It should be the device responsibility to support all parameters it says it supports, not phone's to find out lower. |
The packetSize is automatically set to use the
maximumWriteValueLength
. Is it possible to set the MTU to a lower value? similar to this method on Android.The text was updated successfully, but these errors were encountered: