Skip to content

fix: remove default encryption for window 11 support#196

Open
sethalt wants to merge 9 commits into
masterfrom
FLEX-31-windows-11-fix
Open

fix: remove default encryption for window 11 support#196
sethalt wants to merge 9 commits into
masterfrom
FLEX-31-windows-11-fix

Conversation

@sethalt
Copy link
Copy Markdown
Contributor

@sethalt sethalt commented May 8, 2026

Status Ticket/Issue
Ready/Hold Ticket

Main changes

  • Problem: When encryption is enabled (the default), Windows 11 must:

    1. Pair with the device
    2. Establish an encrypted link (bond)
    3. THEN access the characteristics

    Windows 11's BLE implementation has known issues with the ordering of this process when a device requires encryption on first access. If the Further app tries to read a characteristic before bonding is complete, Windows returns an "Insufficient Authentication" error
    — and some BLE stacks don't retry gracefully.

Screenshots (feature, test output, profiling, dev tools etc)

[insert screenshots here]

Other notes (e.g. implementation quirks, edge cases, questions / issues)

Manual testing tips

Tag anyone who definitely needs to review or help

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.42%. Comparing base (6958a4a) to head (8ee9283).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #196   +/-   ##
=======================================
  Coverage   73.42%   73.42%           
=======================================
  Files          42       42           
  Lines        1994     1994           
=======================================
  Hits         1464     1464           
  Misses        530      530           
Flag Coverage Δ
unittests 73.42% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant