Skip to content

Commit

Permalink
Implement GET_STATUS implementation result (#304)
Browse files Browse the repository at this point in the history
* Implement GET_STATUS implementation result

Signed-off-by: Pablo Garrido <[email protected]>

* Update src/cpp/processor/Processor.cpp

Co-authored-by: Antonio Cuadros <[email protected]>

Co-authored-by: Antonio Cuadros <[email protected]>
  • Loading branch information
pablogs9 and Acuadros95 authored Mar 9, 2022
1 parent c5c4a5b commit 3554474
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/cpp/processor/Processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,16 @@ 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
{
result_status.implementation_status(0);
}

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

Expand Down

0 comments on commit 3554474

Please sign in to comment.