Skip to content

add rs2_device_is_connected, rs2::device::is_connected - #12240

Merged
maloel merged 4 commits into
realsenseai:developmentfrom
maloel:is-connected
Oct 1, 2023
Merged

add rs2_device_is_connected, rs2::device::is_connected#12240
maloel merged 4 commits into
realsenseai:developmentfrom
maloel:is-connected

Conversation

@maloel

@maloel maloel commented Sep 30, 2023

Copy link
Copy Markdown
Contributor

The device_interface::is_valid() function is only exposed today through device_hub::is_connected(), which calls it directly without any more logic.

This exposes the same functionality via direct access in rs2::device and rs2_device_is_connected.

Tracked on [LRS-895]

@maloel
maloel requested a review from ev-mp September 30, 2023 10:06

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor comment inside

Comment thread src/rs.cpp

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@maloel
maloel merged commit a3d2f8f into realsenseai:development Oct 1, 2023
@maloel
maloel deleted the is-connected branch October 1, 2023 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants