- Source:
Methods
(static) messageCameraWideCloseCamera() → {Uint8Array}
- Description:
- 4.9.4 Turn off the camera Create Encoded Packet for the command CMD_CAMERA_WIDE_CLOSE_CAMERA
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideGetAllParams() → {Uint8Array}
- Description:
- 4.9.10 Get all parameters Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_ALL_PARAMS
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideGetExp() → {Uint8Array}
- Description:
- 4.9.14 Get exposure value Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideGetExpMode() → {Uint8Array}
- Description:
- 4.9.12 Acquire exposure mode Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_EXP_MODE
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideGetGain() → {Uint8Array}
- Description:
- 4.9.18 Get gain value Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideGetGainMode() → {Uint8Array}
- Description:
- 4.9.16 Acquisition gain mode Create Encoded Packet for the command CMD_CAMERA_WIDE_GET_GAIN_MODE
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideOpenCamera() → {Uint8Array}
- Description:
- 4.9.3 Turn on the camera Create Encoded Packet for the command CMD_CAMERA_WIDE_OPEN_CAMERA
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWidePhotograph() → {Uint8Array}
- Description:
- 4.9.5 Take photos Create Encoded Packet for the command CMD_CAMERA_WIDE_PHOTOGRAPH
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetAllParams(exp_mode, exp_index, gain_mode, gain_index, ircut_value, wb_mode, wb_index_type, wb_index, brightness, contrast, hue, saturation, sharpness, jpg_quality) → {Uint8Array}
- Description:
- 4.9.28 Set all camera parameters Not documented Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_ALL_PARAMS
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
exp_mode |
number | ; // 0: Auto 1: Manual |
exp_index |
number | ; |
gain_mode |
number | ; |
gain_index |
number | ; |
ircut_value |
number | ; //IRCUT value 0: CUT 1: PASS |
wb_mode |
number | ; //white balance mode 0: automatic 1: manual |
wb_index_type |
number | ; //White Balance Manual Mode Index Type: 0: Color Temperature Mode 1: Scene Mode |
wb_index |
number | ; |
brightness |
number | ; |
contrast |
number | ; |
hue |
number | ; |
saturation |
number | ; |
sharpness |
number | ; |
jpg_quality |
number | ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetBrightness(value) → {Uint8Array}
- Description:
- 4.9.21 Set brightness Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_BRIGHTNESS UI value (A) -100 100 0 (Default)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
value |
number | ; B = A * 64.0 / 10 |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetContrast(value) → {Uint8Array}
- Description:
- 4.9.22 Set contrast Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_CONTRAST UI value (A) -100 100 0 (Default)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
value |
number | ; B = (A + 100) * 95.0 / 200 |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetExp(index) → {Uint8Array}
- Description:
- 4.9.13 Set exposure value Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
index |
number | ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetExpMode(mode) → {Uint8Array}
- Description:
- 4.9.11 Set exposure mode Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_EXP_MODE
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
number | ; //0: Auto 1: Manual ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetGain(index) → {Uint8Array}
- Description:
- 4.9.17 Set gain value Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
index |
number | ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetGainMode(mode) → {Uint8Array}
- Description:
- 4.9.15 Set gain mode Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_GAIN_MODE
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
number | ; //0: Auto 1: Manual ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetHue(value) → {Uint8Array}
- Description:
- 4.9.24 Set tone Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_HUE UI value (A) -180 180 0 (Default)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
value |
number | ; B = A * 2000.0 / 180 |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetSaturation(value) → {Uint8Array}
- Description:
- 4.9.23 Set saturation Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SATURATION UI value (A) -100 100 60 (Default)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
value |
number | ; B =(A + 100) * 100.0 / 200 |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetSharpness(value) → {Uint8Array}
- Description:
- 4.9.25 Set sharpness Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_SHARPNESS UI value (A) 0 100 17 (Default)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
value |
number | ; B = A * 6.0 / 100 + 1 |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetWBColorTemp(index) → {Uint8Array}
- Description:
- 4.9.20 Set the white balance color temperature value Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_CT
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
index |
number | ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideSetWBMode(mode) → {Uint8Array}
- Description:
- 4.9.19 Set white balance mode Create Encoded Packet for the command CMD_CAMERA_WIDE_SET_WB_MODE
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
number | ; //0: Auto 1: Manual ; |
Returns:
- Type
- Uint8Array
(static) messageCameraWideStartBurst() → {Uint8Array}
- Description:
- 4.9.8 Start continuous shooting Create Encoded Packet for the command CMD_CAMERA_WIDE_BURST
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideStartRecord() → {Uint8Array}
- Description:
- 4.9.6 Start recording Create Encoded Packet for the command CMD_CAMERA_WIDE_START_RECORD
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideStartTimeLapsePhoto() → {Uint8Array}
- Description:
- 4.9.26 Start time-lapse photography Not documented Create Encoded Packet for the command CMD_CAMERA_WIDE_START_TIMELAPSE_PHOTO
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideStopBurst() → {Uint8Array}
- Description:
- 4.9.9 Stop continuous shooting Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_BURST
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideStopRecord() → {Uint8Array}
- Description:
- 4.9.7 Stop recording Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_RECORD
- Source:
Returns:
- Type
- Uint8Array
(static) messageCameraWideStopTimeLapsePhoto() → {Uint8Array}
- Description:
- 4.9.27 Stop time-lapse photography Not documented Create Encoded Packet for the command CMD_CAMERA_WIDE_STOP_TIMELAPSE_PHOTO
- Source:
Returns:
- Type
- Uint8Array