Data types 129 through 255 are available for device specific purposes.
Operation type (uint8)
0: assign value
1: offset / toggle value
Operation types 2 through 127 are reserved.
Operation types 128 through 255 are available for device specific purposes.
Data (void)
The category, parameter, data type and operation type partition a 24 bit operation space.
Group
ID
Parameter
0.0
Focus
0.1
Instantaneous autofocus
0.2
Aperture (f-stop)
0.3
Aperture (normalised)
0.4
Aperture (ordinal)
Instantaneous
0.5
Lens
auto aperture
0.6
Optical image stabilisation
0.7
Set absolute zoom (mm)
Set absolute zoom
0.8
(normalised)
Set continuous
0.9
zoom (speed)
The operation type specifies what action to perform on the specified
parameter. Currently defined values are:
The supplied values are assigned to the specified parameter. Each element
will be clamped according to its valid range. A void parameter may only be
'assigned' an empty list of boolean type. This operation will trigger the action
associated with that parameter. A boolean value may be assigned the value
zero for false, and any other value for true.
Each value specifies signed offsets of the same type to be added to the
current parameter values. The resulting parameter value will be clamped
according to their valid range. It is not valid to apply an offset to a void value.
Applying any offset other than zero to a boolean value will invert that value.
The data field is 0 or more bytes as determined by the data type and number
of elements.
Type
Index
fixed16
–
void
–
fixed16
–
fixed16
–
int16
–
void
–
boolean
–
int16
–
fixed16
–
fixed16
–
Minimum
Maximum
0
1
–
–
-1
16
0
1
0
n
–
–
–
–
0
max
0
1
-1
+1.0
Developer Information
Interpretation
0.0 = near, 1.0 = far
trigger
instantaneous autofocus
Aperture Value (where
fnumber = sqrt(2^AV))
0.0 = smallest, 1.0 = largest
Steps through available
aperture values from
minimum (0) to maximum (n)
trigger instantaneous
auto aperture
true = enabled, false
= disabled
Move to specified focal
length in mm, from minimum
(0) to maximum (max)
Move to specified focal
length: 0.0 = wide, 1.0 = tele
Start/stop zooming at
specified rate: -1.0 = zoom
wider fast, 0.0 = stop,
+1 = zoom tele fast
416