diff --git a/unit-tests/dds/metadata-server.py b/unit-tests/dds/metadata-server.py index 08bd8c2bcb..0b4a1c182c 100644 --- a/unit-tests/dds/metadata-server.py +++ b/unit-tests/dds/metadata-server.py @@ -22,6 +22,11 @@ color_stream.init_options( [] ) color_stream.set_intrinsics( d435i.color_stream_intrinsics() ) +def on_control( server, id, control, reply ): + # the control has already been output to debug by the calling code, as will the reply + return True # otherwise the control will be flagged as error + +device_server.on_control( on_control ) device_server.init( [color_stream], [], {} )