Skip to content

DFU Fails on iOS but Succeeds on Android (DFU Error Code : 302) #159

@Soulddgy

Description

@Soulddgy

I'm experiencing an issue with DFU on iOS. While the DFU process works correctly on Android, it fails on iOS. I am using the same MAC address and UUID for both the bootloader and Bluetooth device, which seems to be causing the problem.
On iOS, I receive a "DFU Service not found" error. I suspect this is related to the way iOS handles Bluetooth connections. Any guidance or suggestions would be greatly appreciated.

console :

flutter: remote id for dfu : 6949E5E4-3A02-F8AA-AD92-B9DE3583AE72
flutter: 1-2024-08-08 13:50:56.772355 -- PublishingManager::publish - entered with topic D1
flutter: DFU error: PlatformException(302, DFU FAILED: DFU Service not found, Address: 6949E5E4-3A02-F8AA-AD92-B9DE3583AE72, Error type 302, null)

And this is my startDfu code :

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions