pyrealsense2.eth_config_device¶
- class pyrealsense2.eth_config_device¶
Ethernet configuration extension for devices that support ethernet configuration
- __init__(self: pyrealsense2.eth_config_device, device: pyrealsense2.device) None¶
Create eth_config_device from regular device
Methods
__init__(self, device)Create eth_config_device from regular device
as_auto_calibrated_device(self)as_calibration_change_device(self)as_debug_protocol(self)as_device_calibration(self)as_firmware_logger(self)as_playback(self)as_recorder(self)as_updatable(self)as_update_device(self)first_color_sensor(self)first_depth_sensor(self)first_fisheye_sensor(self)first_motion_sensor(self)first_perception_sensor(self)first_pose_sensor(self)first_roi_sensor(self)first_safety_sensor(self)get_dds_domain(self)Get current DDS domain (0-232)
get_device_time_ms(self)Retrieve the current device hardware clock time in milliseconds.
get_dhcp_config(self)Get DHCP configuration.
get_firmware_min_version(self)Get the minimum firmware version supported by this device's SKU (e.g. "5.10.0.17").
get_gateway(self)Get current gateway address.
get_info(self, info)Retrieve camera specific information, like versions of various internal components
get_ip_address(self)Get current IP address.
get_link_priority(self)Get current link priority setting
get_link_speed(self)Get Ethernet link speed, 0 if not linked
get_link_timeout(self)Get current link timeout in milliseconds
get_mtu(self)Get MTU (Maximum Transmission Unit) in bytes
get_netmask(self)Get current network mask.
get_transmission_delay(self)Get transmission delay in microseconds
get_udp_ttl(self)Get UDP TTL (Time To Live)
hardware_reset(self)Send hardware reset request to the device
is_auto_calibrated_device(self)is_calibration_change_device(self)is_connected(self)is_debug_protocol(self)is_device_calibration(self)is_firmware_logger(self)is_in_recovery_mode(self)is_metadata_enabled(self)is_playback(self)is_recorder(self)is_updatable(self)is_update_device(self)query_sensors(self)Returns the list of adjacent devices, sharing the same physical parent composite device.
restore_defaults(self)Restores configuration to factory settings
set_dds_domain(self, domain)Set DDS domain (0-232)
set_dhcp_config(self, enabled, timeout)Set DHCP configuration
set_gateway(self, gateway)Set gateway address
set_ip_address(self, ip)Set IP address
set_link_priority(self, priority)Set link priority
set_link_timeout(self, timeout)Set link timeout in milliseconds
set_mtu(self, mtu)Set MTU (Maximum Transmission Unit)
set_netmask(self, netmask)Set network mask
set_transmission_delay(self, delay)Set transmission delay
set_udp_ttl(self, ttl)Set UDP TTL (Time To Live)
supports(self, info)Check if specific camera info is supported.
supports_eth_config(self)Check if device supports ethernet configuration
Attributes
sensorsList of adjacent devices, sharing the same physical parent composite device.
- get_dds_domain(self: pyrealsense2.eth_config_device) int¶
Get current DDS domain (0-232)
- get_dhcp_config(self: pyrealsense2.eth_config_device) tuple¶
Get DHCP configuration. Returns tuple of (enabled, timeout)
- get_gateway(self: pyrealsense2.eth_config_device) tuple¶
Get current gateway address. Returns tuple of (configured_gateway, actual_gateway)
- get_ip_address(self: pyrealsense2.eth_config_device) tuple¶
Get current IP address. Returns tuple of (configured_ip, actual_ip)
- get_link_priority(self: pyrealsense2.eth_config_device) pyrealsense2.link_priority¶
Get current link priority setting
- get_link_speed(self: pyrealsense2.eth_config_device) int¶
Get Ethernet link speed, 0 if not linked
- get_link_timeout(self: pyrealsense2.eth_config_device) int¶
Get current link timeout in milliseconds
- get_mtu(self: pyrealsense2.eth_config_device) int¶
Get MTU (Maximum Transmission Unit) in bytes
- get_netmask(self: pyrealsense2.eth_config_device) tuple¶
Get current network mask. Returns tuple of (configured_netmask, actual_netmask)
- get_transmission_delay(self: pyrealsense2.eth_config_device) int¶
Get transmission delay in microseconds
- get_udp_ttl(self: pyrealsense2.eth_config_device) int¶
Get UDP TTL (Time To Live)
- restore_defaults(self: pyrealsense2.eth_config_device) None¶
Restores configuration to factory settings
- set_dds_domain(self: pyrealsense2.eth_config_device, domain: int) None¶
Set DDS domain (0-232)
- set_dhcp_config(self: pyrealsense2.eth_config_device, enabled: bool, timeout: int) None¶
Set DHCP configuration
- set_gateway(self: pyrealsense2.eth_config_device, gateway: pyrealsense2.ip_address) None¶
Set gateway address
- set_ip_address(self: pyrealsense2.eth_config_device, ip: pyrealsense2.ip_address) None¶
Set IP address
- set_link_priority(self: pyrealsense2.eth_config_device, priority: pyrealsense2.link_priority) None¶
Set link priority
- set_link_timeout(self: pyrealsense2.eth_config_device, timeout: int) None¶
Set link timeout in milliseconds
- set_mtu(self: pyrealsense2.eth_config_device, mtu: int) None¶
Set MTU (Maximum Transmission Unit)
- set_netmask(self: pyrealsense2.eth_config_device, netmask: pyrealsense2.ip_address) None¶
Set network mask
- set_transmission_delay(self: pyrealsense2.eth_config_device, delay: int) None¶
Set transmission delay
- set_udp_ttl(self: pyrealsense2.eth_config_device, ttl: int) None¶
Set UDP TTL (Time To Live)
- supports_eth_config(self: pyrealsense2.eth_config_device) bool¶
Check if device supports ethernet configuration