Skip to content

Conversation

@Gold856
Copy link
Collaborator

@Gold856 Gold856 commented Nov 23, 2025

Description

I have all sorts of weird adapters from npcap and Hyper-V that don't have MAC addresses, so I'm simplifying the logic down so that it always tries to find any adapter with a MAC address, but attempts to see if it can find what adapter is in use right now and use the MAC address from that. This also unpublishes old MAC address topics, which wasn't done before.

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

@Gold856 Gold856 requested a review from a team as a code owner November 23, 2025 21:20
@github-actions github-actions bot added the backend Things relating to photon-core and photon-server label Nov 23, 2025
@Gold856 Gold856 force-pushed the improve-mac-address-detection branch 2 times, most recently from 6b6f062 to d446229 Compare December 7, 2025 00:32
mcm001
mcm001 previously approved these changes Dec 7, 2025
Copy link
Contributor

@mcm001 mcm001 left a comment

Choose a reason for hiding this comment

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

Broadly lgtm

@Gold856 Gold856 marked this pull request as draft December 7, 2025 21:40
@Gold856 Gold856 force-pushed the improve-mac-address-detection branch from d446229 to af02b77 Compare December 7, 2025 22:38
@Gold856 Gold856 marked this pull request as ready for review December 7, 2025 22:38
@Gold856 Gold856 force-pushed the improve-mac-address-detection branch from af02b77 to fd92bfa Compare December 8, 2025 08:49
@Gold856 Gold856 force-pushed the improve-mac-address-detection branch from fd92bfa to a926952 Compare December 9, 2025 23:11
@samfreund samfreund force-pushed the improve-mac-address-detection branch from ffebc45 to b1d66b0 Compare December 12, 2025 05:55
@samfreund samfreund merged commit a585a1d into PhotonVision:main Dec 12, 2025
43 checks passed
samfreund pushed a commit to samfreund/photonvision that referenced this pull request Dec 18, 2025
I have all sorts of weird adapters from npcap and Hyper-V that don't
have MAC addresses, so I'm simplifying the logic down so that it always
tries to find _any_ adapter with a MAC address, but attempts to see if
it can find what adapter is in use right now and use the MAC address
from that. This also unpublishes old MAC address topics, which wasn't
done before.
@Gold856 Gold856 deleted the improve-mac-address-detection branch December 18, 2025 08:41
spacey-sooty pushed a commit to spacey-sooty/photonvision that referenced this pull request Dec 22, 2025
I have all sorts of weird adapters from npcap and Hyper-V that don't
have MAC addresses, so I'm simplifying the logic down so that it always
tries to find _any_ adapter with a MAC address, but attempts to see if
it can find what adapter is in use right now and use the MAC address
from that. This also unpublishes old MAC address topics, which wasn't
done before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants