Function rs2_terminal_parse_response

Function Documentation

rs2_raw_data_buffer *rs2_terminal_parse_response(rs2_terminal_parser *terminal_parser, const char *command, unsigned int size_of_command, const void *response, unsigned int size_of_response, rs2_error **error)

Parses terminal response via RealSense terminal parser.

Parameters:
  • terminal_parser[in] Terminal parser object

  • command[in] command sent to the hw monitor of the device

  • size_of_command[in] size of the command to sent to the hw monitor of the device

  • response[in] response received by the hw monitor of the device

  • size_of_response[in] size of the response received by the hw monitor of the device

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored.

Returns:

answer parsed