Skip to content

feat(#400): D-Proxy surface for ModemManager#415

Merged
cachebag merged 9 commits into
masterfrom
feat/400-dbus-proxy
May 9, 2026
Merged

feat(#400): D-Proxy surface for ModemManager#415
cachebag merged 9 commits into
masterfrom
feat/400-dbus-proxy

Conversation

@cachebag
Copy link
Copy Markdown
Collaborator

@cachebag cachebag commented May 9, 2026

Closes #400

@cachebag cachebag requested a review from Copilot May 9, 2026 13:46
@cachebag cachebag self-assigned this May 9, 2026
@cachebag cachebag added feature New feature or request dbus D-Bus types, signatures, or NM D-Bus API mmrs modemmanager bindings crate labels May 9, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new mmrs::dbus proxy surface (zbus #[proxy] traits) for key ModemManager interfaces, aligning mmrs with the existing low-level D-Bus proxy approach used in nmrs and closing #400.

Changes:

  • Introduces zbus proxy traits for Manager, Modem, Modem.Simple, Sim, and Bearer interfaces.
  • Adds a mmrs::dbus module that wires and re-exports the generated *Proxy types for internal consumption.
  • Adds an initial mmrs crate README describing purpose, requirements, and contribution workflow.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
mmrs/src/dbus/mod.rs Declares ModemManager D-Bus proxy modules and re-exports generated proxy types.
mmrs/src/dbus/manager.rs Adds org.freedesktop.ModemManager1 manager proxy trait (scan/logging/inhibit + version).
mmrs/src/dbus/modem.rs Adds org.freedesktop.ModemManager1.Modem proxy trait (bearers/power/state/signal + StateChanged signal).
mmrs/src/dbus/modem_simple.rs Adds org.freedesktop.ModemManager1.Modem.Simple proxy trait (connect/disconnect/status).
mmrs/src/dbus/sim.rs Adds org.freedesktop.ModemManager1.Sim proxy trait (PIN/PUK + SIM identity properties).
mmrs/src/dbus/bearer.rs Adds org.freedesktop.ModemManager1.Bearer proxy trait (connect/disconnect + IP config/stats properties).
mmrs/README.md Documents mmrs goals, requirements, and contribution steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mmrs/src/dbus/manager.rs Outdated
Comment thread mmrs/src/dbus/modem.rs Outdated
Comment thread mmrs/src/dbus/modem.rs Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Comment thread mmrs/README.md
Comment thread mmrs/README.md
Comment thread mmrs/src/dbus/mod.rs
@cachebag cachebag merged commit d0b7198 into master May 9, 2026
10 checks passed
@cachebag cachebag deleted the feat/400-dbus-proxy branch May 9, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dbus D-Bus types, signatures, or NM D-Bus API feature New feature or request mmrs modemmanager bindings crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mmrs: d-bus proxy layer

2 participants