Skip to content

Add a gigabit Ethernet capability - #284

Merged
follesoe merged 1 commit into
masterfrom
follesoe/gigabit-ethernet-capability
Aug 5, 2026
Merged

Add a gigabit Ethernet capability#284
follesoe merged 1 commit into
masterfrom
follesoe/gigabit-ethernet-capability

Conversation

@follesoe

@follesoe follesoe commented Aug 5, 2026

Copy link
Copy Markdown
Member

Adds GUEST_PORT_CAPABILITY_ETHERNET_1G = 7.

The X7 wires its three user ports for gigabit Ethernet and the remaining three for 100 megabit. Nothing in the catalogue needs gigabit today, but a future peripheral may, and a port that has it should be able to say so.

How it fits the model

Capabilities are independent statements about a port, and compatibility is a plain subset test. This adds nothing to that: a gigabit port speaks 100 megabit as well, so it lists Ethernet and gigabit both, and the two entries are simply two true things about it — no implication a consumer has to know about, and no ordering in the model.

The practical consequence is that nothing changes for anything that exists. All twenty Ethernet peripherals go on requiring ETHERNET and go on fitting every port that has it, at either speed. A peripheral that genuinely needs the bandwidth would require ETHERNET_1G and resolve to the three ports that offer it.

Ports are given the same treatment in BluEye-Robotics/libguestport#386, which also carries a correction: GP4 has 100 megabit Ethernet, which the port table had recorded as none.

🤖 Generated with Claude Code

The X7 wires its three user ports for gigabit and the rest for 100
megabit. No peripheral needs the speed today, but one may, and a port
that has it should be able to say so.

Ports state what they speak, so a gigabit port lists this and Ethernet
both, and a device needing Ethernet without caring about the speed goes
on requiring Ethernet alone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@follesoe follesoe added enhancement New feature or request new message New message definition labels Aug 5, 2026
@follesoe follesoe self-assigned this Aug 5, 2026
@follesoe
follesoe requested review from jp-pino and sindrehan August 5, 2026 13:04
@follesoe follesoe added this to the Blunux v5.1 milestone Aug 5, 2026
@follesoe
follesoe requested a lite review from Copilot August 5, 2026 13:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 guest port capability enum value to represent gigabit Ethernet support on ports, extending the protocol model so future peripherals can require (and ports can advertise) 1 Gbit/s Ethernet explicitly while keeping existing ETHERNET compatibility unchanged.

Changes:

  • Added GUEST_PORT_CAPABILITY_ETHERNET_1G = 7 to GuestPortCapability in message_formats.proto.

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

@follesoe
follesoe merged commit c0f73ea into master Aug 5, 2026
5 checks passed
@follesoe
follesoe deleted the follesoe/gigabit-ethernet-capability branch August 5, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request new message New message definition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants