Function rs2_enter_update_state

Function Documentation

void rs2_enter_update_state(const rs2_device *device, rs2_error **error)

Enter the device to update state, this will cause the updatable device to disconnect and reconnect as update device.

Parameters:
  • device[in] Device to update

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