RCP API  6.61.0

◆ rcp_set_uint()

rcp_error_t rcp_set_uint ( rcp_camera_connection_t con,
rcp_param_t  id,
uint32_t  val 
)

Set unsigned integer value for RCP parameter.

This is used to set a value on the camera. This value usually comes from a list provided by the camera or an enum found in rcp_types_public.h rather than directly given by the user or hard-coded in the client application.

Note
Do not assume the set will be honored by the camera. Always rely on CURRENT messages from the camera to display data to the user.
Parameters
[in]conthe camera connection
[in]idthe RCP parameter
[in]valvalue to set
Returns
RCP_SUCCESS on success.