Skip to content

Commit

Permalink
added values for gmsl and dds
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Dec 17, 2024
1 parent 367937d commit 5a5089b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/dds/rs-dds-device-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ dds_device_proxy::dds_device_proxy( std::shared_ptr< const device_info > const &
if( j.nested( "product-line" ).get_ex( str ) )
register_info( RS2_CAMERA_INFO_PRODUCT_LINE, str );
register_info( RS2_CAMERA_INFO_CAMERA_LOCKED, j.nested( "locked" ).default_value( true ) ? "YES" : "NO" );
register_info( RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR, "DDS" );

// Assumes dds_device initialization finished
struct sensor_info
Expand Down
2 changes: 2 additions & 0 deletions src/ds/d400/d400-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,8 @@ namespace librealsense

if (usb_modality)
register_info(RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR, usb_type_str);
else
register_info(RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR, "GMSL");

std::string curr_version= _fw_version;

Expand Down

0 comments on commit 5a5089b

Please sign in to comment.