|
RealSense Cross Platform API
RealSense Cross-platform API
|
Ethernet configuration extension for devices that support ethernet configuration. More...
#include <rs_eth_config.hpp>
Public Member Functions | |
| eth_config_device () | |
| eth_config_device (rs2::device d) | |
| bool | supports_eth_config () const |
| uint32_t | get_link_speed () const |
| rs2_eth_link_priority | get_link_priority () const |
| void | set_link_priority (rs2_eth_link_priority priority) const |
| uint32_t | get_link_timeout () const |
| void | set_link_timeout (uint32_t timeout) const |
| unsigned int | get_dds_domain () const |
| void | set_dds_domain (unsigned int domain) |
| void | get_ip_address (rs2_ip_address &configured_ip, rs2_ip_address &actual_ip) const |
| void | set_ip_address (const rs2_ip_address ip) const |
| void | get_netmask (rs2_ip_address &configured_netmask, rs2_ip_address &actual_netmask) const |
| void | set_netmask (const rs2_ip_address netmask) const |
| void | get_gateway (rs2_ip_address &configured_gateway, rs2_ip_address &actual_gateway) const |
| void | set_gateway (const rs2_ip_address gateway) const |
| void | get_dhcp_config (bool &enabled, uint8_t &timeout) const |
| void | set_dhcp_config (bool enabled, uint8_t timeout) const |
| uint32_t | get_mtu () const |
| void | set_mtu (uint32_t mtu) const |
| uint32_t | get_transmission_delay () const |
| void | set_transmission_delay (uint32_t delay) const |
| uint8_t | get_udp_ttl () const |
| void | set_udp_ttl (uint8_t ttl) const |
| void | restore_defaults () |
| Public Member Functions inherited from rs2::device | |
| std::vector< sensor > | query_sensors () const |
| std::string | get_type () const |
| std::string | get_description () const |
| template<class T> | |
| T | first () const |
| bool | supports (rs2_camera_info info) const |
| const char * | get_info (rs2_camera_info info) const |
| void | hardware_reset () |
| bool | is_in_recovery_mode () |
| device & | operator= (const std::shared_ptr< rs2_device > dev) |
| device & | operator= (const device &dev) |
| device () | |
| operator bool () const | |
| const std::shared_ptr< rs2_device > & | get () const |
| bool | operator< (device const &other) const |
| bool | is_connected () const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| virtual | ~device () |
| operator std::shared_ptr< rs2_device > () | |
| device (std::shared_ptr< rs2_device > dev) | |
Additional Inherited Members | |
| Protected Attributes inherited from rs2::device | |
| std::shared_ptr< rs2_device > | _dev |
Ethernet configuration extension for devices that support ethernet configuration.
|
inline |
|
inline |
|
inline |
Get current DDS domain (0-232)
|
inline |
Get DHCP configuration
| [out] | enabled | DHCP enabled flag |
| [out] | timeout | DHCP timeout threshold in seconds |
|
inline |
Get current gateway address
|
inline |
Get current IP address
|
inline |
Get current link priority setting
|
inline |
Get Ethernet link speed, 0 if not linked
|
inline |
Get current link timeout setting in milliseconds
|
inline |
Get current MTU (Maximum Transmission Unit)
|
inline |
Get current network mask
|
inline |
Get current transmission delay
|
inline |
Get current UDP packet "time to live" (TTL)
|
inline |
Restores configuration to factory settings
|
inline |
Set DDS domain (0-232)
|
inline |
Set DHCP configuration
| [in] | enabled | DHCP enabled flag |
| [in] | timeout | DHCP timeout threshold in seconds |
|
inline |
Set gateway address
|
inline |
Set IP address
|
inline |
Set link priority
|
inline |
Set link timeout in milliseconds
|
inline |
Set MTU (Maximum Transmission Unit)
| mtu | MTU in bytes (500-9000, in 500 byte steps) |
|
inline |
Set network mask
|
inline |
Set transmission delay
| delay | Transmission delay in microseconds (0-144, in 3us steps) |
|
inline |
Set UDP packet "time to live" (TTL)
| ttl | UDP TTL value (1-255) |
|
inline |
Check if device supports ethernet configuration