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

Implement GET_STATUS implementation result #304

Merged
merged 2 commits into from
Mar 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/cpp/processor/Processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,15 @@ bool Processor<EndPoint>::process_get_info_packet(
dds::xrce::ResultStatus result_status = root_.get_info(object_info);
if (dds::xrce::STATUS_OK == result_status.status())
{
uint32_t raw_client_key;
if (server_.get_client_key(input_packet.source, raw_client_key))
{
result_status.implementation_status(1);
} else
pablogs9 marked this conversation as resolved.
Show resolved Hide resolved
{
result_status.implementation_status(0);
}

dds::xrce::AGENT_ActivityInfo agent_info;
agent_info.availability(1);

Expand Down