Skip to content

Conversation

@jrluppold
Copy link
Contributor

This pr aims to support adjusting the MTU for Legacy Dfu. Currently if the Dfu is set on the DfuServiceInitiator it is ignored.

@CLAassistant
Copy link

CLAassistant commented Jul 17, 2020

CLA assistant check
All committers have signed the CLA.

@philips77
Copy link
Member

Hi, did you modify the bootloader to support higher MTUs? MTU > 23 is only supported in the official Secure DFU from SDK 15 onwards.

@jrluppold
Copy link
Contributor Author

Hi, we use Nordic hardware on a few of our products & built a mobile SDK that uses this library. In order to maintain a consistent mobile SDK across multiple products we ported the Legacy mechanism to different FW SDKs that support a higher mtu.

@philips77 philips77 changed the base branch from release to develop October 22, 2021 10:15
@philips77 philips77 merged commit 67a4b85 into NordicSemiconductor:develop Oct 22, 2021
@philips77 philips77 mentioned this pull request Oct 29, 2021
mormegil-cz added a commit to mormegil-cz/Gadgetbridge that referenced this pull request Aug 17, 2023
Now that the target SDK was changed to 31, the `no.nordicsemi.android:dfu`
library needs to be updated, as the current version dies on Android 12+.

However, the fixed version (1.12.0) also fixed MTU handling: The previous
versions ignored the MTU settings completely for legacy DFU.
<NordicSemiconductor/Android-DFU-Library#260>

And while our `PineTimeJFSupport` code always tried to set MTU to 517, it was
ignored. Which was good because PineTime does not support larger MTUs. So that
we need to set the correct low MTU now the library really applies it.

Note that the current version of the DFU library cannot be used right now, it
does not even compile because of androidx dependency mismatch.

Fixes #3203
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

Successfully merging this pull request may close these issues.

3 participants