RCP API  6.61.0

◆ rcp_user_send_get()

rcp_error_t rcp_user_send_get ( rcp_camera_connection_t con,
const char *  id,
const char *  val 
)

Send "Get USER" RCP Message.

The USER RCP message allows for USER messages to be sent to all attached devices/peripherals of the camera. The camera does not interpret the USER messages, it simply forwards them out every other port. It is intended to be used by third parties for controlling third party modules/software. The USER message contains a string id and string value. There are three variants of the USER message: SET, GET, and CURRENT.

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"
Parameters
[in]conthe camera connection
[in]idthe user assigned ID
[in]valthe value to send (NULL if no value required)
Returns
RCP_SUCCESS on success.