RCP API  6.61.0

◆ rcp_get()

rcp_error_t rcp_get ( rcp_camera_connection_t con,
rcp_param_t  id 
)

Request RCP parameter data from the camera.

This will send an RCP GET message to the camera for the given RCP parameter. Note: if the data is cacheable and cached a message may not be sent to the camera, instead the cached data will be sent directly to the application via the appropriate current callback function.

The data requested with this call will be returned in one of the callbacks: cur_int_cb, cur_uint_cbm cur_str_cb, etc.

A simple transaction is shown below:

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