Welcome to our community

Be a part of something great, join today!

  • Hey all, just changed over the backend after 15 years I figured time to give it a bit of an update, its probably gonna be a bit weird for most of you and i am sure there is a few bugs to work out but it should kinda work the same as before... hopefully :)

Help with REDLINK protocol

M Lazic

Member
Joined
Dec 1, 2016
Messages
7
Reaction score
0
Points
0
First of all, I am newbie to red sdk and redlink protocol.
I found that I can navigate to upper status menu and increase/decrease ISO value.
But is there a way to open ISO menu form upper status row by using some of RCP command?
 
Although you can control the camera's UI using RCP (for example, using the NAVIGATION_* key actions) that is not its intended purpose. The point of RCP is to control the camera directly - not by manipulating the UI on the camera. In most cases this would be through a UI on an external device like a phone, pad, or computer. Another good use is for custom hardware to be able to control the camera (even without a UI), like toggling record, or controlling the lens focus position.

If you want to set the ISO, the best thing to do is set it directly:
using the RCP API:
rcp_set_int(camera_connection, RCP_PARAM_ISO, 800);
using the raw RCP commands:
#$EXT:S:ISO:800:\n

That being said, if you want to control the camera's UI using RCP, you would use parameter: RCP_PARAM_KEYACTION (KEYACT)

and the following key actions from key_action_t:
KEY_ACTION_NAVIGATION_SELECT = 9,
KEY_ACTION_NAVIGATION_LEFT = 12,
KEY_ACTION_NAVIGATION_RIGHT = 13,
KEY_ACTION_NAVIGATION_MENU = 14,
KEY_ACTION_NAVIGATION_UP = 33,
KEY_ACTION_NAVIGATION_DOWN = 34,
KEY_ACTION_NAVIGATION_CW = 35,
KEY_ACTION_NAVIGATION_CCW = 36,

For example, to emulate hitting the "ENTER" button on the sidehandle/sidekick/switchblade:
using the RCP API:
rcp_set_int(camera_connection, RCP_PARAM_KEYACTION, KEY_ACTION_NAVIGATION_SELECT);

using raw RCP commands:
#$EXT:S:KEYACT:9:\n
 
Thank you for your reply.
I am familiar with actions you mentioned, it's just that I thought it is maybe possible to open ISO menu by using some similar command.
Wasn't sure if I missed it in docs.
 
Also those KEY_ACTIONs... they might not open the menu itself but lets you select the ISO slot and move values up / down

KEY_ACTION_SLOT_SET_ISO = 2,
KEY_ACTION_SLOT_NEXT_VALUE = 17,
KEY_ACTION_SLOT_PREVIOUS_VALUE = 18,
 
Thank you Mikael,
those actions seems to be best option for what I need.
And just to check, this is supposed to work even without side handle?
 
Thank you Mikael,
those actions seems to be best option for what I need.
And just to check, this is supposed to work even without side handle?

Yes !
 
I have a question about "FLENGTH" command, get command returns valid answer from camera, but get_list doest return answer at all.
Is there a mode in which it is expected to return list of available values?
Using REDLINK_SDK_v6.42.5.
 
I think simply because this parameter does not support lists.

It is a read only (G vs S) parameter as focal lenght cannot be set via RCP but just reported for display purposes if the lens / mount are able to communicate this info.

Having a list of focal lenght would not be very useful ... since the zoom part of a photo lens is never motorized anyway.
 
Ok, fair. But could focal length and focal distance be updated by rcp commands?
With AF mode on manual, neither set focus, nor key actions focus nea
r/far are modifying those values.

And thank you for your help.
 
Sorry to revive an old thread.

I have tried firing all of the following off at a few hundred menu positions and states - but can't seem to work out what they do:

KEY_ACTION_SLOT_SET_ISO
KEY_ACTION_SLOT_SET_COLOR_TEMP
KEY_ACTION_SLOT_SET_SHUTTER
KEY_ACTION_SLOT_SET_APERTURE
KEY_ACTION_SLOT_SET_FPS
KEY_ACTION_SLOT_SET_FORMAT
KEY_ACTION_SLOT_SET_REDCODE

KEY_ACTION_SLOT_PREVIOUS_VALUE
KEY_ACTION_SLOT_NEXT_VALUE


Q1) Are they depreciated?

Q2) Has their functionality been absorbed into :
KEY_ACTION_NAVIGATION_MENU,
KEY_ACTION_NAVIGATION_SELECT
KEY_ACTION_NAVIGATION_UP,
KEY_ACTION_NAVIGATION_DOWN,
KEY_ACTION_NAVIGATION_RIGHT
KEY_ACTION_NAVIGATION_LEFT
KEY_ACTION_NAVIGATION_CCW
KEY_ACTION_NAVIGATION_CW


Thanks,
AJ
 
Back
Top