RCP API  6.61.0

◆ rcp_get_default()

rcp_error_t rcp_get_default ( rcp_camera_connection_t con,
rcp_param_t  id 
)

Request RCP parameter default value from the camera.

The default value requested with this call will be returned in one of the callbacks: cur_default_int_cb, cur_default_uint_cb

Note
Not all parameters will have a default value.
Cameras running firmware with an RCP Parameter Set version less than 6.50 will not support default values for any parameter.

If called with a parameter that does not have a default value the function will either return with RCP_ERROR_NO_GET_DEFAULT, or the callback will be called with default_val_valid set to 0.

Parameters
[in]conthe camera connection
[in]idthe RCP parameter
Returns
RCP_SUCCESS on success.