Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rs-dds-config #13104

Merged
merged 10 commits into from
Jul 7, 2024
Merged

rs-dds-config #13104

merged 10 commits into from
Jul 7, 2024

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Jul 1, 2024

Add command-line utility to get/set eth config:

> rs-dds-config.exe
-I- Device: ...
-I-     MAC address: 98:4f:ee:18:9e:69
-I-     configured: 192.168.11.55 & 255.255.255.0 / 192.168.11.1
-I-     DDS:
-I-         domain ID: 0
-I-     link: 1000 Mbps
-I-         MTU, bytes: 9000
-I-         timeout, ms: 4000
-I-         priority: eth-first
-I-     DHCP: OFF
-I-         timeout, sec: 30
  • By default, show the current config
  • Can show the default "golden" config with --golden, which also shows the diffs between golden and current with -->
  • Can change any of the settings using the various command-line switches
  • Restarts the camera if changes are made
  • Finds software devices, too, so can configure over USB or Eth

This is most of the basic functionality - not everything was tested but most should be ready.

Tracked on [RSDEV-1998]

cfg.link_check_timeout = link.timeout;
cfg.link_priority = (uint8_t)link.priority;

cfg.mtu = 9000; // R/O, but must be sest to this value
Copy link
Collaborator

Choose a reason for hiding this comment

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

set

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@Nir-Az Nir-Az requested review from Nir-Az and removed request for Nir-Az July 1, 2024 12:42
@Nir-Az
Copy link
Collaborator

Nir-Az commented Jul 1, 2024

Thanks, dont wait for my review, just wrote what popped into my eye :)

@maloel
Copy link
Collaborator Author

maloel commented Jul 1, 2024

Fixed warning in exceptions.h

@maloel maloel merged commit 3d4398f into IntelRealSense:development Jul 7, 2024
21 of 22 checks passed
@maloel maloel deleted the dds-config branch July 7, 2024 06:44
@maloel maloel added the tools label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants