Skip to content

DO NOT MERGE - Experimental MediaTek Fix - #119

Open
TheRDavid wants to merge 1 commit into
mainfrom
will/mediaTekFixMaybe
Open

TheRDavid wants to merge 1 commit into
mainfrom
will/mediaTekFixMaybe

Conversation

@TheRDavid

Copy link
Copy Markdown

Summary

Describe the change in 2-6 lines.

Why

Explain the reason for this change.

Change Type

  • Feature
  • Bug fix
  • Refactor (refa)
  • Docs only
  • CI/build/tooling

Affected Areas

  • Core (Laerdal.Dfu)
  • Android bridging (Platforms.Droid)
  • iOS/MacCatalyst bridging (Platforms.iOSandMacCatalyst)
  • NetX placeholder (Platforms.NetX)
  • Sample app
  • Documentation

Behavior And Compatibility

  • Public API changed
  • Exception behavior changed
  • DI registration behavior changed
  • No externally visible behavior change

If any box above is checked, describe impact:

Platform Notes

List platform-specific behavior differences introduced or touched (Android/iOS/MacCatalyst).

Tests

  • Unit tests added/updated
  • Manual platform validation performed (against real hardware where applicable)
  • Not applicable (explain)

Validation notes:

Documentation

  • Docs updated in same PR
  • Not applicable (explain)

Risks And Follow-ups

Risk level:

  • Low
  • Medium
  • High

Known limitations or deferred follow-ups:

Checklist

  • Commit header follows type(scope): short imperative and is <= 72 chars
  • Commit type is one of: feat, fix, refa, perf, docs, ci, chore, test, build
  • Commit body is 1-2 factual sentences (what/why), no emojis, refs, or co-authors

Copilot AI lite review requested due to automatic review settings September 24, 2026 08:08
@TheRDavid TheRDavid changed the title DO NOT MERGE - Assign custom peripheral selector to iOS DFU initiator DO NOT MERGE - Experimental MediaTek Fix Sep 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The selector must use stable advertisement data/name or retain the default selector instead of matching the original peripheral UUID.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

This pull request connects a custom peripheral selector to the iOS/MacCatalyst DFU initiator.

Changes:

  • Assigns DfuPeripheralSelectorDelegate to PeripheralSelector.
  • Adjusts closing-brace formatting.
File Summary
Laerdal.Dfu/​Platforms.iOSandMacCatalyst/​DfuInstallation.cs Registers the custom selector; its UUID matching can reject the bootloader peripheral and stall DFU.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Logger = new DfuLogger(),
WeakDelegate = DfuServiceDelegate,
WeakProgressDelegate = DfuProgressDelegate,
PeripheralSelector = DfuPeripheralSelectorDelegate,

This branch has not been deployed

No deployments
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