RCP API  6.61.0

◆ rcp_set_int_relative()

rcp_error_t rcp_set_int_relative ( rcp_camera_connection_t con,
rcp_param_t  id,
int32_t  offset 
)

Set integer value for RCP parameter given an offset.

Similar to rcp_set_int except instead of providing the absolute parameter value, an offset to the current value is used to calculate the new value.

Parameters
[in]conthe camera connection
[in]idthe RCP parameter
[in]offsetoffset to the current value
Returns
RCP_SUCCESS on success.