DebugProtocol.java
Go to the documentation of this file.
1 package com.intel.realsense.librealsense;
2 
3 public class DebugProtocol extends Device {
4 
5  DebugProtocol(long handle) {
6  super(handle);
7  }
8 
9  static public String[] getCommands(String commands_file_path){
10  return nGetCommands(commands_file_path);
11  }
12 
13  public String SendAndReceiveRawData(String commands_file_path, String command){
14  byte[] data = nSendAndReceiveData(mHandle, commands_file_path, command);
15  return new String(data);
16  }
17 
19  return nSendAndReceiveRawData(mHandle, buffer);
20  }
21 
22  private static native String[] nGetCommands(String filePath);
23  private static native byte[] nSendAndReceiveData(long handle, String filePath, String command);
24  private static native byte[] nSendAndReceiveRawData(long handle, byte[] buffer);
25 }
uvc_xu_option< int > super
Definition: l500-options.h:32
GLuint64 GLenum void * handle
Definition: glext.h:7785
GLenum GLfloat * buffer
::std_msgs::String_< std::allocator< void > > String
Definition: String.h:47
String SendAndReceiveRawData(String commands_file_path, String command)
static native String[] nGetCommands(String filePath)
unsigned char byte
Definition: src/types.h:52
static native byte[] nSendAndReceiveRawData(long handle, byte[] buffer)
static native byte[] nSendAndReceiveData(long handle, String filePath, String command)
Definition: parser.hpp:150
static String[] getCommands(String commands_file_path)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:12