• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 23470871213
82%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 02:58AM UTC
Jobs 1
Files 74
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Mar 2026 02:55AM UTC coverage: 85.852% (-0.2%) from 86.005%
23470871213

push

github

web-flow
fix(modem,pair): BLE scan filter and GATT auth regressions (#441)

* fix(modem,pair): BLE scan filter and GATT auth regressions

- btleplug WinRT: use empty ScanFilter — WinRT advertisement watcher
  does not match 16-bit UUIDs passed as 128-bit in the filter. Filtering
  is done in the discovery layer instead.

- btleplug connect: run a short pre-connect scan when the target
  peripheral is not in the adapter's cache (new transport instance).

- btleplug \pairing_method()\: return \None\ (OS-enforced) instead of
  \Some(Unknown)\ — btleplug delegates pairing to the OS stack, so
  \nforce_lesc\ should treat it as OS-managed security.

- modem GATT characteristic (0xFE61): add \WRITE_ENC | WRITE_AUTHEN\
  permissions so the OS BLE stack triggers LESC Numeric Comparison
  pairing before the first GATT write (MD-0404).

- Add stderr tracing layer to sonde-pair-ui for debugging.
- Add debug logging to BLE discovery and scan paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(modem): server-initiated LESC pairing on connect

Revert GATT WRITE_ENC/WRITE_AUTHEN permissions — btleplug/WinRT does
not auto-pair when the server rejects with 'insufficient auth'.

Instead, call \le_gap_security_initiate()\ from the \on_connect\
callback so the modem proactively starts LESC Numeric Comparison
pairing immediately after a client connects (MD-0404).  This ensures
pairing happens regardless of whether the client initiates it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* docs: server-initiated LESC pairing across spec trifecta

Requirements (MD-0404):
- Add criterion 5: modem MUST call \le_gap_security_initiate\ in
  \on_connect\ to ensure pairing regardless of client behavior.
- Update description to specify server-initiated pairing.

Design (modem-design.md §15.2):
- Add step 1: \le_gap_security_initiate(conn_handle)\ in the pairing
  sequence, renumber subsequent steps.

Validation (modem-validation.md):... (continued)

5 of 60 new or added lines in 4 files covered. (8.33%)

2 existing lines in 2 files now uncovered.

21450 of 24985 relevant lines covered (85.85%)

164.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
0.0
0.0% crates/sonde-pair/src/btleplug_transport.rs
6
0.0
0.0% crates/sonde-pair-ui/src-tauri/src/lib.rs

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% crates/sonde-pair/src/btleplug_transport.rs
1
0.0
0.0% crates/sonde-pair-ui/src-tauri/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 23470871213.1 24 Mar 2026 02:58AM UTC 74
85.85
GitHub Action Run
Source Files on build 23470871213
  • Tree
  • List 74
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23470871213
  • 0134a5da on github
  • Prev Build on main (#23463086838)
  • Next Build on main (#23471817959)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc