#include <rs_device.hpp>
◆ tm2()
◆ connect_controller()
  
  | 
        
          | void rs2::tm2::connect_controller | ( | const std::array< uint8_t, 6 > & | mac_addr | ) |  |  | inline | 
 
Connects to a given tm2 controller 
- Parameters
- 
  
    | [in] | mac_addr | The MAC address of the desired controller |  
 
 
 
◆ disable_loopback()
  
  | 
        
          | void rs2::tm2::disable_loopback | ( |  | ) |  |  | inline | 
 
Restores the given device into normal operation mode 
 
 
◆ disconnect_controller()
  
  | 
        
          | void rs2::tm2::disconnect_controller | ( | int | id | ) |  |  | inline | 
 
Disconnects a given tm2 controller 
- Parameters
- 
  
    | [in] | id | The ID of the desired controller |  
 
 
 
◆ enable_loopback()
  
  | 
        
          | void rs2::tm2::enable_loopback | ( | const std::string & | from_file | ) |  |  | inline | 
 
Enter the given device into loopback operation mode that uses the given file as input for raw data 
- Parameters
- 
  
    | [in] | from_file | Path to bag file with raw data for loopback |  
 
 
 
◆ is_loopback_enabled()
  
  | 
        
          | bool rs2::tm2::is_loopback_enabled | ( |  | ) | const |  | inline | 
 
Checks if the device is in loopback mode or not 
- Returns
- true if the device is in loopback operation mode 
 
 
The documentation for this class was generated from the following file: