RCP API  6.61.0

◆ rcp_user_metadata_register()

rcp_error_t rcp_user_metadata_register ( rcp_camera_connection_t con,
const char *  id,
uint32_t  max_len 
)

Register user metadata id with camera.

Before sending user metadata to the camera, the id must first be registered. You will receive confirmation of the registration.

Parameters
[in]conthe camera connection
[in]idthe user assigned ID
[in]max_lenmax length of data associated with id
Note
It is important to choose a unique id so that it does not collide with other third party applications. One possible solution would be to use reverse domain name notation. e.g.: "com.red.dsmc.iso"
Returns
RCP_SUCCESS on success.