9 #ifndef LIBREALSENSE_RS2_DEVICE_H 10 #define LIBREALSENSE_RS2_DEVICE_H 206 #define RS2_UNSIGNED_UPDATE_MODE_UPDATE 0 207 #define RS2_UNSIGNED_UPDATE_MODE_READ_ONLY 1 208 #define RS2_UNSIGNED_UPDATE_MODE_FULL 2 rs2_camera_info
Read-only strings that can be queried from the device. Not all information attributes are available o...
Definition: rs_sensor.h:22
struct rs2_raw_data_buffer rs2_raw_data_buffer
Definition: rs_types.h:211
int rs2_device_list_contains(const rs2_device_list *info_list, const rs2_device *device, rs2_error **error)
int rs2_loopback_is_enabled(const rs2_device *device, rs2_error **error)
void rs2_update_firmware_unsigned(const rs2_device *device, const void *fw_image, int fw_image_size, rs2_update_progress_callback_ptr callback, void *client_data, int update_mode, rs2_error **error)
void rs2_update_firmware(const rs2_device *device, const void *fw_image, int fw_image_size, rs2_update_progress_callback_ptr callback, void *client_data, rs2_error **error)
void rs2_delete_device(rs2_device *device)
void rs2_write_calibration(const rs2_device *device, rs2_error **e)
struct rs2_sensor_list rs2_sensor_list
Definition: rs_types.h:232
rs2_device * rs2_create_device(const rs2_device_list *info_list, int index, rs2_error **error)
void(* rs2_update_progress_callback_ptr)(const float, void *)
Definition: rs_types.h:243
void rs2_connect_tm2_controller(const rs2_device *device, const unsigned char *mac_addr, rs2_error **error)
void rs2_loopback_enable(const rs2_device *device, const char *from_file, rs2_error **error)
void rs2_disconnect_tm2_controller(const rs2_device *device, int id, rs2_error **error)
Exposes RealSense structs.
int rs2_supports_device_info(const rs2_device *device, rs2_camera_info info, rs2_error **error)
int rs2_is_device_extendable_to(const rs2_device *device, rs2_extension extension, rs2_error **error)
void rs2_hardware_reset(const rs2_device *device, rs2_error **error)
Exposes RealSense sensor functionality for C compilers.
rs2_sensor_list * rs2_query_sensors(const rs2_device *device, rs2_error **error)
void rs2_update_firmware_cpp(const rs2_device *device, const void *fw_image, int fw_image_size, rs2_update_progress_callback *callback, rs2_error **error)
void rs2_reset_to_factory_calibration(const rs2_device *device, rs2_error **e)
const rs2_raw_data_buffer * rs2_create_flash_backup_cpp(const rs2_device *device, rs2_update_progress_callback *callback, rs2_error **error)
const rs2_raw_data_buffer * rs2_send_and_receive_raw_data(rs2_device *device, void *raw_data_to_send, unsigned size_of_raw_data_to_send, rs2_error **error)
const rs2_raw_data_buffer * rs2_create_flash_backup(const rs2_device *device, rs2_update_progress_callback_ptr callback, void *client_data, rs2_error **error)
Definition: rs_types.hpp:67
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
Definition: rs_types.h:133
void rs2_enter_update_state(const rs2_device *device, rs2_error **error)
struct rs2_device rs2_device
Definition: rs_types.h:209
void rs2_update_firmware_unsigned_cpp(const rs2_device *device, const void *fw_image, int fw_image_size, rs2_update_progress_callback *callback, int update_mode, rs2_error **error)
struct rs2_device_list rs2_device_list
Definition: rs_types.h:217
struct rs2_error rs2_error
Definition: rs_types.h:210
void rs2_loopback_disable(const rs2_device *device, rs2_error **error)
void rs2_delete_device_list(rs2_device_list *info_list)
int rs2_get_device_count(const rs2_device_list *info_list, rs2_error **error)
const char * rs2_get_device_info(const rs2_device *device, rs2_camera_info info, rs2_error **error)