obsbot-mcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +170 -0
- package/dist/capture/ffmpeg-args.d.ts +17 -0
- package/dist/capture/ffmpeg-args.js +48 -0
- package/dist/capture/ffmpeg-args.js.map +1 -0
- package/dist/capture/manager.d.ts +60 -0
- package/dist/capture/manager.js +159 -0
- package/dist/capture/manager.js.map +1 -0
- package/dist/codec/commands.d.ts +63 -0
- package/dist/codec/commands.js +185 -0
- package/dist/codec/commands.js.map +1 -0
- package/dist/codec/crc.d.ts +2 -0
- package/dist/codec/crc.js +11 -0
- package/dist/codec/crc.js.map +1 -0
- package/dist/codec/encoding.d.ts +7 -0
- package/dist/codec/encoding.js +8 -0
- package/dist/codec/encoding.js.map +1 -0
- package/dist/codec/frame.d.ts +20 -0
- package/dist/codec/frame.js +73 -0
- package/dist/codec/frame.js.map +1 -0
- package/dist/codec/opcodes.d.ts +32 -0
- package/dist/codec/opcodes.js +509 -0
- package/dist/codec/opcodes.js.map +1 -0
- package/dist/codec/types.d.ts +13 -0
- package/dist/codec/types.js +2 -0
- package/dist/codec/types.js.map +1 -0
- package/dist/device/manager.d.ts +9 -0
- package/dist/device/manager.js +20 -0
- package/dist/device/manager.js.map +1 -0
- package/dist/device/session.d.ts +22 -0
- package/dist/device/session.js +37 -0
- package/dist/device/session.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/framing.d.ts +31 -0
- package/dist/mcp/framing.js +45 -0
- package/dist/mcp/framing.js.map +1 -0
- package/dist/mcp/ready.d.ts +31 -0
- package/dist/mcp/ready.js +71 -0
- package/dist/mcp/ready.js.map +1 -0
- package/dist/mcp/render.d.ts +3 -0
- package/dist/mcp/render.js +14 -0
- package/dist/mcp/render.js.map +1 -0
- package/dist/mcp/server.d.ts +3 -0
- package/dist/mcp/server.js +49 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools.d.ts +12 -0
- package/dist/mcp/tools.js +580 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/transport/helper-process.d.ts +39 -0
- package/dist/transport/helper-process.js +140 -0
- package/dist/transport/helper-process.js.map +1 -0
- package/dist/transport/transport.d.ts +62 -0
- package/dist/transport/transport.js +8 -0
- package/dist/transport/transport.js.map +1 -0
- package/dist/transport/windows.d.ts +34 -0
- package/dist/transport/windows.js +68 -0
- package/dist/transport/windows.js.map +1 -0
- package/native/prebuilt/win32-x64/obsbot-helper.exe +0 -0
- package/package.json +33 -0
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
// The OBSBOT Tiny 2 vendor command table: 444 commands across all subsystems,
|
|
2
|
+
// 437 resolvable to a V3 wire opcode. Protocol data only — no OS coupling — so
|
|
3
|
+
// every platform transport (Windows/Linux/macOS) shares it.
|
|
4
|
+
//
|
|
5
|
+
// Potentially DESTRUCTIVE commands (firmware flashing, factory reset, SD format,
|
|
6
|
+
// power control, raw syscalls) are cordoned into a clearly-marked block at the
|
|
7
|
+
// end of the OPCODES table and re-exported as DESTRUCTIVE / DESTRUCTIVE_NAMES /
|
|
8
|
+
// isDestructive(). Anything dispatching opcodes by name should gate on those.
|
|
9
|
+
export const OPCODES = [
|
|
10
|
+
{ name: "CAM_SET_DEV_STATUS", subsystem: "Camera", set: 0x01, cmdId: 0x02, wireCmd: 0xA0C2, receiver: 0x02 },
|
|
11
|
+
{ name: "CAM_SET_FACE_FOCUS", subsystem: "Camera", set: 0x01, cmdId: 0x03, wireCmd: 0x3602, receiver: 0x02 },
|
|
12
|
+
{ name: "CAM_GET_FACE_FOCUS", subsystem: "Camera", set: 0x01, cmdId: 0x04, wireCmd: 0x35C2, receiver: 0x02 },
|
|
13
|
+
{ name: "CAM_SET_EXPOSURE_TINY2", subsystem: "Camera", set: 0x01, cmdId: 0x05, wireCmd: 0x2982, receiver: 0x02 },
|
|
14
|
+
{ name: "CAM_GET_EXPOSURE_TINY2", subsystem: "Camera", set: 0x01, cmdId: 0x06, wireCmd: 0x2942, receiver: 0x02 },
|
|
15
|
+
{ name: "CAM_GET_EXPOSURE_RANGE_TINY2", subsystem: "Camera", set: 0x01, cmdId: 0x07, wireCmd: 0x29C2, receiver: 0x02 },
|
|
16
|
+
{ name: "CAM_GET_WHITEBALANCE_OFFSET", subsystem: "Camera", set: 0x01, cmdId: 0x08, wireCmd: 0x2A02, receiver: 0x02 },
|
|
17
|
+
{ name: "CAM_SET_WHITEBALANCE_OFFSET", subsystem: "Camera", set: 0x01, cmdId: 0x09, wireCmd: 0x2A42, receiver: 0x02 },
|
|
18
|
+
{ name: "CAM_GET_WHITEBALANCE_SETTING", subsystem: "Camera", set: 0x01, cmdId: 0x0A, wireCmd: 0x2A82, receiver: 0x02 },
|
|
19
|
+
{ name: "CAM_SET_WHITEBALANCE_SETTING", subsystem: "Camera", set: 0x01, cmdId: 0x0B, wireCmd: 0x2AC2, receiver: 0x02 },
|
|
20
|
+
{ name: "CAM_GET_WHITEBALANCE_RANGE", subsystem: "Camera", set: 0x01, cmdId: 0x0C, wireCmd: 0x2B02, receiver: 0x02 },
|
|
21
|
+
{ name: "CAM_SET_TAKE_PHOTOS", subsystem: "Camera", set: 0x01, cmdId: 0x0D, wireCmd: 0x0102, receiver: 0x02 },
|
|
22
|
+
{ name: "CAM_SET_VIDEO_RECORD", subsystem: "Camera", set: 0x01, cmdId: 0x0E, wireCmd: 0x0142, receiver: 0x02 },
|
|
23
|
+
{ name: "CAM_SET_LAPSE_DELAY_TIME", subsystem: "Camera", set: 0x01, cmdId: 0x0F, wireCmd: 0x0202, receiver: 0x02 },
|
|
24
|
+
{ name: "CAM_GET_LAPSE_DELAY_TIME", subsystem: "Camera", set: 0x01, cmdId: 0x10, wireCmd: 0x01C2, receiver: 0x02 },
|
|
25
|
+
{ name: "CAM_SET_LAPSE_DELAY_CANCEL", subsystem: "Camera", set: 0x01, cmdId: 0x11, wireCmd: 0x0282, receiver: 0x02 },
|
|
26
|
+
{ name: "CAM_NTY_NEW_MEDIA_FILE", subsystem: "Camera", set: 0x01, cmdId: 0x12, wireCmd: 0x0182, receiver: 0x02 },
|
|
27
|
+
{ name: "CAM_GET_WDR_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x13, wireCmd: 0x02C2, receiver: 0x02 },
|
|
28
|
+
{ name: "CAM_SET_WDR_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x14, wireCmd: 0x0302, receiver: 0x02 },
|
|
29
|
+
{ name: "CAM_GET_WDR_MODE_LIST", subsystem: "Camera", set: 0x01, cmdId: 0x15, wireCmd: 0x0342, receiver: 0x02 },
|
|
30
|
+
{ name: "CAM_SET_BOOT_STATE", subsystem: "Camera", set: 0x01, cmdId: 0x16, wireCmd: 0x03C2, receiver: 0x02 },
|
|
31
|
+
{ name: "CAM_GET_BOOT_STATE", subsystem: "Camera", set: 0x01, cmdId: 0x17, wireCmd: 0x0382, receiver: 0x02 },
|
|
32
|
+
{ name: "CAM_SET_PHOTO_QUALITY", subsystem: "Camera", set: 0x01, cmdId: 0x18, wireCmd: 0x05C2, receiver: 0x02 },
|
|
33
|
+
{ name: "CAM_SET_PHOTO_FORMAT", subsystem: "Camera", set: 0x01, cmdId: 0x19, wireCmd: 0x0642, receiver: 0x02 },
|
|
34
|
+
{ name: "CAM_SET_RECORD_RESOLUTION", subsystem: "Camera", set: 0x01, cmdId: 0x1A, wireCmd: 0x0842, receiver: 0x02 },
|
|
35
|
+
{ name: "CAM_GET_RECORD_SPLIT_SIZE", subsystem: "Camera", set: 0x01, cmdId: 0x1B, wireCmd: 0x0A02, receiver: 0x02 },
|
|
36
|
+
{ name: "CAM_SET_RECORD_SPLIT_SIZE", subsystem: "Camera", set: 0x01, cmdId: 0x1C, wireCmd: 0x0A42, receiver: 0x02 },
|
|
37
|
+
{ name: "CAM_GET_MAIN_VIDEO_FORMAT", subsystem: "Camera", set: 0x01, cmdId: 0x1D, wireCmd: 0x0B82, receiver: 0x02 },
|
|
38
|
+
{ name: "CAM_SET_MAIN_VIDEO_FORMAT", subsystem: "Camera", set: 0x01, cmdId: 0x1E, wireCmd: 0x0BC2, receiver: 0x02 },
|
|
39
|
+
{ name: "CAM_GET_MAIN_VIDEO_BIT_LEVEL", subsystem: "Camera", set: 0x01, cmdId: 0x1F, wireCmd: 0x0C42, receiver: 0x02 },
|
|
40
|
+
{ name: "CAM_SET_MAIN_VIDEO_BIT_LEVEL", subsystem: "Camera", set: 0x01, cmdId: 0x20, wireCmd: 0x0C82, receiver: 0x02 },
|
|
41
|
+
{ name: "CAM_GET_MODULE_ACTIVATE", subsystem: "Camera", set: 0x01, cmdId: 0x22, wireCmd: 0x0E42, receiver: 0x02 },
|
|
42
|
+
{ name: "CAM_SET_KCP_PREVIEW_RESOLUTION", subsystem: "Camera", set: 0x01, cmdId: 0x23, wireCmd: 0x1042, receiver: 0x02 },
|
|
43
|
+
{ name: "CAM_SET_NDI_RTSP_RESOLUTION", subsystem: "Camera", set: 0x01, cmdId: 0x24, wireCmd: 0x1102, receiver: 0x02 },
|
|
44
|
+
{ name: "CAM_GET_NDI_RTSP_BIT_LEVEL", subsystem: "Camera", set: 0x01, cmdId: 0x25, wireCmd: 0x1182, receiver: 0x02 },
|
|
45
|
+
{ name: "CAM_SET_NDI_RTSP_BIT_LEVEL", subsystem: "Camera", set: 0x01, cmdId: 0x26, wireCmd: 0x11C2, receiver: 0x02 },
|
|
46
|
+
{ name: "CAM_GET_NDI_RTSP_FORMAT", subsystem: "Camera", set: 0x01, cmdId: 0x27, wireCmd: 0x1242, receiver: 0x02 },
|
|
47
|
+
{ name: "CAM_SET_NDI_RTSP_FORMAT", subsystem: "Camera", set: 0x01, cmdId: 0x28, wireCmd: 0x1282, receiver: 0x02 },
|
|
48
|
+
{ name: "CAM_GET_NDI_ENABLE", subsystem: "Camera", set: 0x01, cmdId: 0x29, wireCmd: 0x1302, receiver: 0x02 },
|
|
49
|
+
{ name: "CAM_SET_NDI_ENABLE", subsystem: "Camera", set: 0x01, cmdId: 0x2A, wireCmd: 0x1342, receiver: 0x02 },
|
|
50
|
+
{ name: "CAM_SET_NDI_BOOT_ENABLE", subsystem: "Camera", set: 0x01, cmdId: 0x2B, wireCmd: 0x13C2, receiver: 0x02 },
|
|
51
|
+
{ name: "CAM_NTY_LIVE_STREAM_STATUS", subsystem: "Camera", set: 0x01, cmdId: 0x2C, wireCmd: 0x1402, receiver: 0x02 },
|
|
52
|
+
{ name: "CAM_GET_MIRROR_FLIP", subsystem: "Camera", set: 0x01, cmdId: 0x2D, wireCmd: 0x1802, receiver: 0x02 },
|
|
53
|
+
{ name: "CAM_SET_MIRROR_FLIP", subsystem: "Camera", set: 0x01, cmdId: 0x2E, wireCmd: 0x1842, receiver: 0x02 },
|
|
54
|
+
{ name: "CAM_GET_ROTATION_DEG", subsystem: "Camera", set: 0x01, cmdId: 0x2F, wireCmd: 0x1882, receiver: 0x02 },
|
|
55
|
+
{ name: "CAM_SET_ROTATION_DEG", subsystem: "Camera", set: 0x01, cmdId: 0x30, wireCmd: 0x18C2, receiver: 0x02 },
|
|
56
|
+
{ name: "CAM_GET_ZOOM_CTRL_INFO", subsystem: "Camera", set: 0x01, cmdId: 0x31, wireCmd: 0x1902, receiver: 0x02 },
|
|
57
|
+
{ name: "CAM_SET_ZOOM_ABSOLUTE", subsystem: "Camera", set: 0x01, cmdId: 0x32, wireCmd: 0x1942, receiver: 0x02 },
|
|
58
|
+
{ name: "CAM_SET_ZOOM_RELATIVE", subsystem: "Camera", set: 0x01, cmdId: 0x33, wireCmd: 0x1982, receiver: 0x02 },
|
|
59
|
+
{ name: "CAM_SET_ZOOM_STOP", subsystem: "Camera", set: 0x01, cmdId: 0x34, wireCmd: 0x19C2, receiver: 0x02 },
|
|
60
|
+
{ name: "CAM_SET_ROI_CTRL", subsystem: "Camera", set: 0x01, cmdId: 0x35, wireCmd: 0x1A02, receiver: 0x02 },
|
|
61
|
+
{ name: "CAM_GET_HDMI_INFO", subsystem: "Camera", set: 0x01, cmdId: 0x36, wireCmd: 0x1AC2, receiver: 0x02 },
|
|
62
|
+
{ name: "CAM_SET_HDMI_INFO", subsystem: "Camera", set: 0x01, cmdId: 0x37, wireCmd: 0x1B02, receiver: 0x02 },
|
|
63
|
+
{ name: "CAM_GET_WATER_MARK", subsystem: "Camera", set: 0x01, cmdId: 0x38, wireCmd: 0x1BC2, receiver: 0x02 },
|
|
64
|
+
{ name: "CAM_SET_WATER_MARK", subsystem: "Camera", set: 0x01, cmdId: 0x39, wireCmd: 0x1B82, receiver: 0x02 },
|
|
65
|
+
{ name: "CAM_SET_MEDIA_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x3A, wireCmd: 0x06C2, receiver: 0x02 },
|
|
66
|
+
{ name: "CAM_GET_MEDIA_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x3B, wireCmd: 0x0702, receiver: 0x02 },
|
|
67
|
+
{ name: "CAM_GET_RANGE_CONFIG", subsystem: "Camera", set: 0x01, cmdId: 0x3C, wireCmd: 0x0742, receiver: 0x02 },
|
|
68
|
+
{ name: "CAM_GET_WHITE_BALANCE", subsystem: "Camera", set: 0x01, cmdId: 0x3D, wireCmd: 0x2042, receiver: 0x02 },
|
|
69
|
+
{ name: "CAM_SET_WHITE_BALANCE", subsystem: "Camera", set: 0x01, cmdId: 0x3E, wireCmd: 0x2082, receiver: 0x02 },
|
|
70
|
+
{ name: "CAM_GET_WHITE_BALANCE_LIST", subsystem: "Camera", set: 0x01, cmdId: 0x3F, wireCmd: 0x20C2, receiver: 0x02 },
|
|
71
|
+
{ name: "CAM_GET_ISO_LIMIT", subsystem: "Camera", set: 0x01, cmdId: 0x40, wireCmd: 0x2142, receiver: 0x02 },
|
|
72
|
+
{ name: "CAM_SET_ISO_LIMIT", subsystem: "Camera", set: 0x01, cmdId: 0x41, wireCmd: 0x2182, receiver: 0x02 },
|
|
73
|
+
{ name: "CAM_GET_AE_LOCK", subsystem: "Camera", set: 0x01, cmdId: 0x42, wireCmd: 0x21C2, receiver: 0x02 },
|
|
74
|
+
{ name: "CAM_SET_AE_LOCK", subsystem: "Camera", set: 0x01, cmdId: 0x43, wireCmd: 0x2202, receiver: 0x02 },
|
|
75
|
+
{ name: "CAM_GET_FACE_AE", subsystem: "Camera", set: 0x01, cmdId: 0x44, wireCmd: 0x2242, receiver: 0x02 },
|
|
76
|
+
{ name: "CAM_SET_FACE_AE", subsystem: "Camera", set: 0x01, cmdId: 0x45, wireCmd: 0x2282, receiver: 0x02 },
|
|
77
|
+
{ name: "CAM_GET_EXPOSURE_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x46, wireCmd: 0x2402, receiver: 0x02 },
|
|
78
|
+
{ name: "CAM_SET_EXPOSURE_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x47, wireCmd: 0x2442, receiver: 0x02 },
|
|
79
|
+
{ name: "CAM_GET_GAMMA_USER_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x48, wireCmd: 0x3082, receiver: 0x02 },
|
|
80
|
+
{ name: "CAM_SET_GAMMA_USER_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x49, wireCmd: 0x30C2, receiver: 0x02 },
|
|
81
|
+
{ name: "CAM_GET_P_AE_EVBIAS", subsystem: "Camera", set: 0x01, cmdId: 0x4A, wireCmd: 0x24C2, receiver: 0x02 },
|
|
82
|
+
{ name: "CAM_SET_P_AE_EVBIAS", subsystem: "Camera", set: 0x01, cmdId: 0x4B, wireCmd: 0x2502, receiver: 0x02 },
|
|
83
|
+
{ name: "CAM_SET_S_AE_EVBIAS", subsystem: "Camera", set: 0x01, cmdId: 0x4C, wireCmd: 0x2582, receiver: 0x02 },
|
|
84
|
+
{ name: "CAM_GET_S_AE_SHUTTER", subsystem: "Camera", set: 0x01, cmdId: 0x4D, wireCmd: 0x25C2, receiver: 0x02 },
|
|
85
|
+
{ name: "CAM_SET_S_AE_SHUTTER", subsystem: "Camera", set: 0x01, cmdId: 0x4E, wireCmd: 0x2602, receiver: 0x02 },
|
|
86
|
+
{ name: "CAM_GET_A_AE_EVBIAS", subsystem: "Camera", set: 0x01, cmdId: 0x4F, wireCmd: 0x2642, receiver: 0x02 },
|
|
87
|
+
{ name: "CAM_SET_A_AE_EVBIAS", subsystem: "Camera", set: 0x01, cmdId: 0x50, wireCmd: 0x2682, receiver: 0x02 },
|
|
88
|
+
{ name: "CAM_SET_A_AE_APERTURE", subsystem: "Camera", set: 0x01, cmdId: 0x51, wireCmd: 0x2702, receiver: 0x02 },
|
|
89
|
+
{ name: "CAM_GET_M_AE_SHUTTER", subsystem: "Camera", set: 0x01, cmdId: 0x52, wireCmd: 0x2742, receiver: 0x02 },
|
|
90
|
+
{ name: "CAM_SET_M_AE_SHUTTER", subsystem: "Camera", set: 0x01, cmdId: 0x53, wireCmd: 0x2782, receiver: 0x02 },
|
|
91
|
+
{ name: "CAM_SET_M_AE_APERTURE", subsystem: "Camera", set: 0x01, cmdId: 0x54, wireCmd: 0x2802, receiver: 0x02 },
|
|
92
|
+
{ name: "CAM_GET_M_AE_ISO", subsystem: "Camera", set: 0x01, cmdId: 0x55, wireCmd: 0x2842, receiver: 0x02 },
|
|
93
|
+
{ name: "CAM_SET_M_AE_ISO", subsystem: "Camera", set: 0x01, cmdId: 0x56, wireCmd: 0x2882, receiver: 0x02 },
|
|
94
|
+
{ name: "CAM_SET_M_ANTI_FLICK", subsystem: "Camera", set: 0x01, cmdId: 0x57, wireCmd: 0x2902, receiver: 0x02 },
|
|
95
|
+
{ name: "CAM_SET_IMAGE_STYLE", subsystem: "Camera", set: 0x01, cmdId: 0x58, wireCmd: 0x2EC2, receiver: 0x02 },
|
|
96
|
+
{ name: "CAM_SET_BRIGHTNESS", subsystem: "Camera", set: 0x01, cmdId: 0x59, wireCmd: 0x2C42, receiver: 0x02 },
|
|
97
|
+
{ name: "CAM_SET_CONTRAST", subsystem: "Camera", set: 0x01, cmdId: 0x5A, wireCmd: 0x2CC2, receiver: 0x02 },
|
|
98
|
+
{ name: "CAM_SET_HUE", subsystem: "Camera", set: 0x01, cmdId: 0x5B, wireCmd: 0x2D42, receiver: 0x02 },
|
|
99
|
+
{ name: "CAM_SET_SATURATION", subsystem: "Camera", set: 0x01, cmdId: 0x5C, wireCmd: 0x2DC2, receiver: 0x02 },
|
|
100
|
+
{ name: "CAM_SET_SHARP", subsystem: "Camera", set: 0x01, cmdId: 0x5D, wireCmd: 0x2E42, receiver: 0x02 },
|
|
101
|
+
{ name: "CAM_GET_AUTO_FOCUS", subsystem: "Camera", set: 0x01, cmdId: 0x5E, wireCmd: 0x3402, receiver: 0x02 },
|
|
102
|
+
{ name: "CAM_SET_AUTO_FOCUS", subsystem: "Camera", set: 0x01, cmdId: 0x5F, wireCmd: 0x3442, receiver: 0x02 },
|
|
103
|
+
{ name: "CAM_GET_FOCUS_POS", subsystem: "Camera", set: 0x01, cmdId: 0x60, wireCmd: 0x34C2, receiver: 0x02 },
|
|
104
|
+
{ name: "CAM_SET_FOCUS_POS", subsystem: "Camera", set: 0x01, cmdId: 0x61, wireCmd: 0x3502, receiver: 0x02 },
|
|
105
|
+
{ name: "CAM_SET_USER_FOCUS_POS", subsystem: "Camera", set: 0x01, cmdId: 0x62, wireCmd: 0x3582, receiver: 0x02 },
|
|
106
|
+
{ name: "CAM_GET_AFC_TYPE", subsystem: "Camera", set: 0x01, cmdId: 0x63, wireCmd: 0x35C2, receiver: 0x02 },
|
|
107
|
+
{ name: "CAM_SET_AFC_TYPE", subsystem: "Camera", set: 0x01, cmdId: 0x64, wireCmd: 0x3602, receiver: 0x02 },
|
|
108
|
+
{ name: "CAM_GET_GAMMA_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x65, wireCmd: 0x2F42, receiver: 0x02 },
|
|
109
|
+
{ name: "CAM_SET_GAMMA_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x66, wireCmd: 0x2F82, receiver: 0x02 },
|
|
110
|
+
{ name: "CAM_GET_NIGHT_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x67, wireCmd: 0x3002, receiver: 0x02 },
|
|
111
|
+
{ name: "CAM_SET_NIGHT_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x68, wireCmd: 0x3042, receiver: 0x02 },
|
|
112
|
+
{ name: "CAM_GET_IQ_IMG_STYLE_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x69, wireCmd: 0x3802, receiver: 0x02 },
|
|
113
|
+
{ name: "CAM_SET_IQ_IMG_STYLE_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x6A, wireCmd: 0x3842, receiver: 0x02 },
|
|
114
|
+
{ name: "CAM_GET_IQ_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x6B, wireCmd: 0x3882, receiver: 0x02 },
|
|
115
|
+
{ name: "CAM_SET_IQ_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x6C, wireCmd: 0x38C2, receiver: 0x02 },
|
|
116
|
+
{ name: "CAM_GET_ISP_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x6D, wireCmd: 0x3D02, receiver: 0x02 },
|
|
117
|
+
{ name: "CAM_SET_ISP_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x6E, wireCmd: 0x3D42, receiver: 0x02 },
|
|
118
|
+
{ name: "CAM_GET_ISO_THRESHOLD", subsystem: "Camera", set: 0x01, cmdId: 0x6F, wireCmd: 0x3D82, receiver: 0x02 },
|
|
119
|
+
{ name: "CAM_SET_ISO_THRESHOLD", subsystem: "Camera", set: 0x01, cmdId: 0x70, wireCmd: 0x3DC2, receiver: 0x02 },
|
|
120
|
+
{ name: "CAM_GET_AUDIO_VOLUME", subsystem: "Camera", set: 0x01, cmdId: 0x71, wireCmd: 0x80C2, receiver: 0x02 },
|
|
121
|
+
{ name: "CAM_SET_AUDIO_VOLUME", subsystem: "Camera", set: 0x01, cmdId: 0x72, wireCmd: 0x8102, receiver: 0x02 },
|
|
122
|
+
{ name: "CAM_GET_AUDIO_VQE", subsystem: "Camera", set: 0x01, cmdId: 0x73, wireCmd: 0x8142, receiver: 0x02 },
|
|
123
|
+
{ name: "CAM_SET_AUDIO_VQE", subsystem: "Camera", set: 0x01, cmdId: 0x74, wireCmd: 0x8182, receiver: 0x02 },
|
|
124
|
+
{ name: "CAM_SET_AUDIO_AGC", subsystem: "Camera", set: 0x01, cmdId: 0x75, wireCmd: 0x8202, receiver: 0x02 },
|
|
125
|
+
{ name: "CAM_GET_AUDIO_AGC_INTEGRAL", subsystem: "Camera", set: 0x01, cmdId: 0x76, wireCmd: 0x8242, receiver: 0x02 },
|
|
126
|
+
{ name: "CAM_SET_AUDIO_AGC_INTEGRAL", subsystem: "Camera", set: 0x01, cmdId: 0x77, wireCmd: 0x8282, receiver: 0x02 },
|
|
127
|
+
{ name: "CAM_GET_AUDIO_NOISE_REDUCTION", subsystem: "Camera", set: 0x01, cmdId: 0x78, wireCmd: 0x82C2, receiver: 0x02 },
|
|
128
|
+
{ name: "CAM_SET_AUDIO_NOISE_REDUCTION", subsystem: "Camera", set: 0x01, cmdId: 0x79, wireCmd: 0x8302, receiver: 0x02 },
|
|
129
|
+
{ name: "CAM_GET_AUDIO_AUX_TYPE", subsystem: "Camera", set: 0x01, cmdId: 0x7A, wireCmd: 0x8802, receiver: 0x02 },
|
|
130
|
+
{ name: "CAM_SET_AUDIO_AUX_TYPE", subsystem: "Camera", set: 0x01, cmdId: 0x7B, wireCmd: 0x8842, receiver: 0x02 },
|
|
131
|
+
{ name: "CAM_GET_AUDIO_SOURCE_SELECT", subsystem: "Camera", set: 0x01, cmdId: 0x7C, wireCmd: 0x8982, receiver: 0x02 },
|
|
132
|
+
{ name: "CAM_SET_AUDIO_SOURCE_SELECT", subsystem: "Camera", set: 0x01, cmdId: 0x7D, wireCmd: 0x8942, receiver: 0x02 },
|
|
133
|
+
{ name: "CAM_GET_AUDIO_MUTE", subsystem: "Camera", set: 0x01, cmdId: 0x7E, wireCmd: 0x89C2, receiver: 0x02 },
|
|
134
|
+
{ name: "CAM_SET_AUDIO_MUTE", subsystem: "Camera", set: 0x01, cmdId: 0x7F, wireCmd: 0x8A02, receiver: 0x02 },
|
|
135
|
+
{ name: "CAM_GET_AUDIO_SOURCE", subsystem: "Camera", set: 0x01, cmdId: 0x80, wireCmd: 0x8A42, receiver: 0x02 },
|
|
136
|
+
{ name: "CAM_GET_AUDIO_SELECT", subsystem: "Camera", set: 0x01, cmdId: 0x81, wireCmd: 0x8A82, receiver: 0x02 },
|
|
137
|
+
{ name: "CAM_SET_AUDIO_SELECT", subsystem: "Camera", set: 0x01, cmdId: 0x82, wireCmd: 0x8AC2, receiver: 0x02 },
|
|
138
|
+
{ name: "CAM_GET_USB_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x83, wireCmd: 0x6042, receiver: 0x02 },
|
|
139
|
+
{ name: "CAM_SET_USB_MODE", subsystem: "Camera", set: 0x01, cmdId: 0x84, wireCmd: 0x6082, receiver: 0x02 },
|
|
140
|
+
{ name: "CAM_GET_SD_STATUS", subsystem: "Camera", set: 0x01, cmdId: 0x86, wireCmd: 0x6482, receiver: 0x02 },
|
|
141
|
+
{ name: "CAM_GET_RECORD_EXT_SETTING", subsystem: "Camera", set: 0x01, cmdId: 0x87, wireCmd: 0x6D02, receiver: 0x02 },
|
|
142
|
+
{ name: "CAM_SET_RECORD_EXT_SETTING", subsystem: "Camera", set: 0x01, cmdId: 0x88, wireCmd: 0x6D42, receiver: 0x02 },
|
|
143
|
+
{ name: "CAM_SET_SYS_TIME", subsystem: "Camera", set: 0x01, cmdId: 0x89, wireCmd: 0xA082, receiver: 0x02 },
|
|
144
|
+
{ name: "CAM_GET_SYS_TIME", subsystem: "Camera", set: 0x01, cmdId: 0x8A, wireCmd: 0xA042, receiver: 0x02 },
|
|
145
|
+
{ name: "CAM_GET_SUSPEND_TIME", subsystem: "Camera", set: 0x01, cmdId: 0x8C, wireCmd: 0xA182, receiver: 0x02 },
|
|
146
|
+
{ name: "CAM_SET_SUSPEND_TIME", subsystem: "Camera", set: 0x01, cmdId: 0x8D, wireCmd: 0xA1C2, receiver: 0x02 },
|
|
147
|
+
{ name: "CAM_GET_PLUG", subsystem: "Camera", set: 0x01, cmdId: 0x8E, wireCmd: 0xA302, receiver: 0x02 },
|
|
148
|
+
{ name: "CAM_SET_PLUG", subsystem: "Camera", set: 0x01, cmdId: 0x8F, wireCmd: 0xA342, receiver: 0x02 },
|
|
149
|
+
{ name: "CAM_SET_PREPARE_LOG", subsystem: "Camera", set: 0x01, cmdId: 0x90, wireCmd: 0xAA02, receiver: 0x02 },
|
|
150
|
+
{ name: "CAM_SET_SCHEDULED_SLEEP", subsystem: "Camera", set: 0x01, cmdId: 0x91, wireCmd: 0xA242, receiver: 0x02 },
|
|
151
|
+
{ name: "CAM_SET_SCHEDULED_RESUME", subsystem: "Camera", set: 0x01, cmdId: 0x92, wireCmd: 0xA2C2, receiver: 0x02 },
|
|
152
|
+
{ name: "CAM_GET_SCHEDULED_SLEEP_UVC", subsystem: "Camera", set: 0x01, cmdId: 0x93, wireCmd: 0xA382, receiver: 0x02 },
|
|
153
|
+
{ name: "CAM_SET_SCHEDULED_SLEEP_UVC", subsystem: "Camera", set: 0x01, cmdId: 0x94, wireCmd: 0xA3C2, receiver: 0x02 },
|
|
154
|
+
{ name: "CAM_GET_SCHEDULED_RESUME_UVC", subsystem: "Camera", set: 0x01, cmdId: 0x95, wireCmd: 0xA402, receiver: 0x02 },
|
|
155
|
+
{ name: "CAM_SET_SCHEDULED_RESUME_UVC", subsystem: "Camera", set: 0x01, cmdId: 0x96, wireCmd: 0xA442, receiver: 0x02 },
|
|
156
|
+
{ name: "CAM_GET_FIELD_VIEW", subsystem: "Camera", set: 0x01, cmdId: 0x97, wireCmd: 0xAB02, receiver: 0x02 },
|
|
157
|
+
{ name: "CAM_SET_VIRTUAL_TRACK_INFO", subsystem: "Camera", set: 0x01, cmdId: 0x98, wireCmd: 0xAC02, receiver: 0x02 },
|
|
158
|
+
{ name: "CAM_GET_VIRTUAL_TRACK_INFO", subsystem: "Camera", set: 0x01, cmdId: 0x99, wireCmd: 0xAC42, receiver: 0x02 },
|
|
159
|
+
{ name: "CAM_SET_VIRTUAL_TRACK_GESTURE", subsystem: "Camera", set: 0x01, cmdId: 0x9A, wireCmd: 0xAC82, receiver: 0x02 },
|
|
160
|
+
{ name: "CAM_GET_VIRTUAL_TRACK_GESTURE", subsystem: "Camera", set: 0x01, cmdId: 0x9B, wireCmd: 0xACC2, receiver: 0x02 },
|
|
161
|
+
{ name: "CAM_SET_MODULE_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x9C, wireCmd: 0x60C2, receiver: 0x02 },
|
|
162
|
+
{ name: "CAM_GET_MODULE_PARAMETER", subsystem: "Camera", set: 0x01, cmdId: 0x9D, wireCmd: 0x6102, receiver: 0x02 },
|
|
163
|
+
{ name: "CAM_SET_REMOTE_CUSTOM_KEY", subsystem: "Camera", set: 0x01, cmdId: 0x9E, wireCmd: 0x6842, receiver: 0x02 },
|
|
164
|
+
{ name: "CAM_GET_REMOTE_CUSTOM_KEY", subsystem: "Camera", set: 0x01, cmdId: 0x9F, wireCmd: 0x6882, receiver: 0x02 },
|
|
165
|
+
{ name: "CAM_GET_CDC_CAPABILITY", subsystem: "Camera", set: 0x01, cmdId: 0xA0, wireCmd: 0xAD02, receiver: 0x02 },
|
|
166
|
+
{ name: "CAM_GET_CDC_NOTIFY_STATUS", subsystem: "Camera", set: 0x01, cmdId: 0xA1, wireCmd: 0xAD82, receiver: 0x02 },
|
|
167
|
+
{ name: "CAM_SET_CDC_NOTIFY_STATUS", subsystem: "Camera", set: 0x01, cmdId: 0xA2, wireCmd: 0xADC2, receiver: 0x02 },
|
|
168
|
+
{ name: "CAM_SET_VIRTUAL_TRACK_ENABLE", subsystem: "Camera", set: 0x01, cmdId: 0xA3, wireCmd: 0xAE82, receiver: 0x02 },
|
|
169
|
+
{ name: "CAM_GET_VIRTUAL_TRACK_ENABLE", subsystem: "Camera", set: 0x01, cmdId: 0xA4, wireCmd: 0xAEC2, receiver: 0x02 },
|
|
170
|
+
{ name: "CAM_GET_TWS_INFO", subsystem: "Camera", set: 0x01, cmdId: 0xA5, wireCmd: 0xC002, receiver: 0x02 },
|
|
171
|
+
{ name: "CAM_SET_TWS_KEY", subsystem: "Camera", set: 0x01, cmdId: 0xA6, wireCmd: 0xC042, receiver: 0x02 },
|
|
172
|
+
{ name: "CAM_SET_TWS_UI_ENABLE", subsystem: "Camera", set: 0x01, cmdId: 0xA7, wireCmd: 0xC082, receiver: 0x02 },
|
|
173
|
+
{ name: "CAM_SET_TWS_SOUND_MODE", subsystem: "Camera", set: 0x01, cmdId: 0xA8, wireCmd: 0xC0C2, receiver: 0x02 },
|
|
174
|
+
{ name: "CAM_SET_ZOOM_PARAM", subsystem: "Camera", set: 0x01, cmdId: 0xA9, wireCmd: 0xC182, receiver: 0x02 },
|
|
175
|
+
{ name: "CAM_GET_ZOOM_PARAM", subsystem: "Camera", set: 0x01, cmdId: 0xAA, wireCmd: 0xC1C2, receiver: 0x02 },
|
|
176
|
+
{ name: "CAM_NTY_CAMERA_STATUS", subsystem: "Camera", set: 0x01, cmdId: 0xAB, wireCmd: 0x1C02, receiver: 0x02 },
|
|
177
|
+
{ name: "CAM_NTY_CAMERA_EVENT", subsystem: "Camera", set: 0x01, cmdId: 0xAC, wireCmd: 0x1C42, receiver: 0x02 },
|
|
178
|
+
{ name: "CAM_NTY_CAMERA_WARN", subsystem: "Camera", set: 0x01, cmdId: 0xAD, wireCmd: 0x1C82, receiver: 0x02 },
|
|
179
|
+
{ name: "CAM_NTY_CAMERA_ERROR", subsystem: "Camera", set: 0x01, cmdId: 0xAE, wireCmd: 0x1CC2, receiver: 0x02 },
|
|
180
|
+
{ name: "CAM_GET_CAMERA_EVENT", subsystem: "Camera", set: 0x01, cmdId: 0xAF, wireCmd: 0x1D02, receiver: 0x02 },
|
|
181
|
+
{ name: "CAM_SET_SRT_ATTRIBUTE", subsystem: "Camera", set: 0x01, cmdId: 0xB0, wireCmd: 0x1D42, receiver: 0x02 },
|
|
182
|
+
{ name: "CAM_SET_APP_ATTRIBUTE", subsystem: "Camera", set: 0x01, cmdId: 0xB1, wireCmd: 0x1DC2, receiver: 0x02 },
|
|
183
|
+
{ name: "CAM_GET_APP_ATTRIBUTE", subsystem: "Camera", set: 0x01, cmdId: 0xB2, wireCmd: 0x1E02, receiver: 0x02 },
|
|
184
|
+
{ name: "CAM_GET_IMAGE_RANGE", subsystem: "Camera", set: 0x01, cmdId: 0xB3, wireCmd: 0x2F02, receiver: 0x02 },
|
|
185
|
+
{ name: "CAM_SET_UVC_MODE", subsystem: "Camera", set: 0x01, cmdId: 0xB4, wireCmd: 0xC402, receiver: 0x02 },
|
|
186
|
+
{ name: "CAM_GET_UVC_MODE", subsystem: "Camera", set: 0x01, cmdId: 0xB5, wireCmd: 0xC442, receiver: 0x02 },
|
|
187
|
+
{ name: "CAM_GET_ACCESSORY_CAPABILITY", subsystem: "Camera", set: 0x01, cmdId: 0xB6, wireCmd: 0xC802, receiver: 0x02 },
|
|
188
|
+
{ name: "CAM_GET_ACCESSORY_VERSION", subsystem: "Camera", set: 0x01, cmdId: 0xB7, wireCmd: 0xC842, receiver: 0x02 },
|
|
189
|
+
{ name: "CAM_GET_ACCESSORY_UPGRADE_INFO", subsystem: "Camera", set: 0x01, cmdId: 0xB8, wireCmd: 0xC882, receiver: 0x02 },
|
|
190
|
+
{ name: "AI_SET_GIM_SPEED", subsystem: "Ai", set: 0x03, cmdId: 0x00, wireCmd: 0x6484, receiver: 0x04 },
|
|
191
|
+
{ name: "AI_SET_GIM_SPEED_TIME", subsystem: "Ai", set: 0x03, cmdId: 0x01, wireCmd: 0x64C4, receiver: 0x04 },
|
|
192
|
+
{ name: "AI_SET_GIM_SPEED_EULER", subsystem: "Ai", set: 0x03, cmdId: 0x02, wireCmd: 0x6504, receiver: 0x04 },
|
|
193
|
+
{ name: "AI_SET_GIM_SPEED_MOTOR", subsystem: "Ai", set: 0x03, cmdId: 0x03, wireCmd: 0x6544, receiver: 0x04 },
|
|
194
|
+
{ name: "AI_SET_GIM_EULER_DEG", subsystem: "Ai", set: 0x03, cmdId: 0x04, wireCmd: 0x6404, receiver: 0x04 },
|
|
195
|
+
{ name: "AI_SET_GIM_MOTOR_DEG", subsystem: "Ai", set: 0x03, cmdId: 0x05, wireCmd: 0x6444, receiver: 0x04 },
|
|
196
|
+
{ name: "AI_NTY_GIM_STATUS", subsystem: "Ai", set: 0x03, cmdId: 0x06, wireCmd: 0x6644, receiver: 0x04 },
|
|
197
|
+
{ name: "AI_SET_GIM_BOOT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x07, wireCmd: 0x3844, receiver: 0x04 },
|
|
198
|
+
{ name: "AI_GET_GIM_BOOT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x08, wireCmd: 0x3884, receiver: 0x04 },
|
|
199
|
+
{ name: "AI_RST_GIM_BOOT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x09, wireCmd: 0x38C4, receiver: 0x04 },
|
|
200
|
+
{ name: "AI_TRG_GIM_BOOT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x0A, wireCmd: 0x3904, receiver: 0x04 },
|
|
201
|
+
{ name: "AI_GET_GIM_STATE", subsystem: "Ai", set: 0x03, cmdId: 0x0B, wireCmd: 0x6604, receiver: 0x04 },
|
|
202
|
+
{ name: "AI_SET_GIM_STOP", subsystem: "Ai", set: 0x03, cmdId: 0x0C, wireCmd: 0x6704, receiver: 0x04 },
|
|
203
|
+
{ name: "AI_SET_APP_SDK_CFG", subsystem: "Ai", set: 0x03, cmdId: 0x0D, wireCmd: null, receiver: null },
|
|
204
|
+
{ name: "AI_SET_APP_TARGET_NONE", subsystem: "Ai", set: 0x03, cmdId: 0x0E, wireCmd: null, receiver: null },
|
|
205
|
+
{ name: "AI_SET_APP_TARGET_DEFAULT", subsystem: "Ai", set: 0x03, cmdId: 0x0F, wireCmd: null, receiver: null },
|
|
206
|
+
{ name: "AI_SET_GESTURE_SPECIFIED", subsystem: "Ai", set: 0x03, cmdId: 0x10, wireCmd: null, receiver: null },
|
|
207
|
+
{ name: "AI_SET_TRACK_MODE", subsystem: "Ai", set: 0x03, cmdId: 0x11, wireCmd: 0x0CC4, receiver: 0x04 },
|
|
208
|
+
{ name: "AI_NTY_STATUS", subsystem: "Ai", set: 0x03, cmdId: 0x12, wireCmd: 0x00C4, receiver: 0x04 },
|
|
209
|
+
{ name: "AI_GET_QUICK_STATUS", subsystem: "Ai", set: 0x03, cmdId: 0x13, wireCmd: 0x0104, receiver: 0x04 },
|
|
210
|
+
{ name: "AI_NTY_QUICK_STATUS", subsystem: "Ai", set: 0x03, cmdId: 0x14, wireCmd: 0x0144, receiver: 0x04 },
|
|
211
|
+
{ name: "AI_SET_BTN_MODE_FOR_ME", subsystem: "Ai", set: 0x03, cmdId: 0x15, wireCmd: null, receiver: null },
|
|
212
|
+
{ name: "AI_GET_ZONE_TRACK_PRESET_LIST", subsystem: "Ai", set: 0x03, cmdId: 0x16, wireCmd: 0x1344, receiver: 0x04 },
|
|
213
|
+
{ name: "AI_SET_ZONE_TRACK_PRESET_ADD", subsystem: "Ai", set: 0x03, cmdId: 0x17, wireCmd: 0x1384, receiver: 0x04 },
|
|
214
|
+
{ name: "AI_SET_ZONE_TRACK_PRESET_DELETE", subsystem: "Ai", set: 0x03, cmdId: 0x18, wireCmd: 0x13C4, receiver: 0x04 },
|
|
215
|
+
{ name: "AI_SET_ZONE_TRACK_PRESET_UPDATE", subsystem: "Ai", set: 0x03, cmdId: 0x19, wireCmd: 0x1404, receiver: 0x04 },
|
|
216
|
+
{ name: "AI_GET_ZONE_TRACK_PRESET_ID_VALUE", subsystem: "Ai", set: 0x03, cmdId: 0x1A, wireCmd: 0x1444, receiver: 0x04 },
|
|
217
|
+
{ name: "AI_GET_ZONE_TRACK_PRESET_ID_NAME", subsystem: "Ai", set: 0x03, cmdId: 0x1B, wireCmd: 0x1504, receiver: 0x04 },
|
|
218
|
+
{ name: "AI_SET_ZONE_TRACK_PRESET_ID_NAME", subsystem: "Ai", set: 0x03, cmdId: 0x1C, wireCmd: 0x1544, receiver: 0x04 },
|
|
219
|
+
{ name: "AI_SET_ZONE_TRACK_PRESET_TRIG", subsystem: "Ai", set: 0x03, cmdId: 0x1D, wireCmd: 0x1604, receiver: 0x04 },
|
|
220
|
+
{ name: "AI_SET_ZONE_TRACK_GIM_ENABLED", subsystem: "Ai", set: 0x03, cmdId: 0x1E, wireCmd: 0x0844, receiver: 0x04 },
|
|
221
|
+
{ name: "AI_SET_ZONE_TRACK_PAN_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x1F, wireCmd: 0x4C04, receiver: 0x04 },
|
|
222
|
+
{ name: "AI_GET_ZONE_TRACK_PAN_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x20, wireCmd: 0x4C44, receiver: 0x04 },
|
|
223
|
+
{ name: "AI_SET_ZONE_TRACK_PAN_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x21, wireCmd: 0x4C84, receiver: 0x04 },
|
|
224
|
+
{ name: "AI_GET_ZONE_TRACK_PAN_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x22, wireCmd: 0x4CC4, receiver: 0x04 },
|
|
225
|
+
{ name: "AI_SET_ZONE_TRACK_PITCH_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x23, wireCmd: 0x4D04, receiver: 0x04 },
|
|
226
|
+
{ name: "AI_GET_ZONE_TRACK_PITCH_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x24, wireCmd: 0x4D44, receiver: 0x04 },
|
|
227
|
+
{ name: "AI_SET_ZONE_TRACK_PITCH_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x25, wireCmd: 0x4D84, receiver: 0x04 },
|
|
228
|
+
{ name: "AI_GET_ZONE_TRACK_PITCH_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x26, wireCmd: 0x4DC4, receiver: 0x04 },
|
|
229
|
+
{ name: "AI_SET_ZONE_TRACK_AUTO_SELECT", subsystem: "Ai", set: 0x03, cmdId: 0x27, wireCmd: 0x4E04, receiver: 0x04 },
|
|
230
|
+
{ name: "AI_GET_ZONE_TRACK_AUTO_SELECT", subsystem: "Ai", set: 0x03, cmdId: 0x28, wireCmd: 0x4E44, receiver: 0x04 },
|
|
231
|
+
{ name: "AI_SET_ZONE_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x29, wireCmd: 0x4E84, receiver: 0x04 },
|
|
232
|
+
{ name: "AI_GET_ZONE_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x2A, wireCmd: 0x4EC4, receiver: 0x04 },
|
|
233
|
+
{ name: "AI_RST_ZONE_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x2B, wireCmd: 0x4F04, receiver: 0x04 },
|
|
234
|
+
{ name: "AI_TRG_ZONE_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x2C, wireCmd: 0x4F44, receiver: 0x04 },
|
|
235
|
+
{ name: "AI_RST_ZONE_TRACK_PAN_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x2D, wireCmd: 0x4F84, receiver: 0x04 },
|
|
236
|
+
{ name: "AI_RST_ZONE_TRACK_PAN_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x2E, wireCmd: 0x4FC4, receiver: 0x04 },
|
|
237
|
+
{ name: "AI_RST_ZONE_TRACK_PITCH_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x2F, wireCmd: 0x5004, receiver: 0x04 },
|
|
238
|
+
{ name: "AI_RST_ZONE_TRACK_PITCH_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x30, wireCmd: 0x5044, receiver: 0x04 },
|
|
239
|
+
{ name: "AI_SET_LIMITED_ZONE_TRACK_ENABLED", subsystem: "Ai", set: 0x03, cmdId: 0x31, wireCmd: 0x5084, receiver: 0x04 },
|
|
240
|
+
{ name: "AI_GET_LIMITED_ZONE_TRACK_ENABLED", subsystem: "Ai", set: 0x03, cmdId: 0x32, wireCmd: 0x50C4, receiver: 0x04 },
|
|
241
|
+
{ name: "AI_SET_CAMERA_ZOOM_RATIO", subsystem: "Ai", set: 0x03, cmdId: 0x33, wireCmd: 0x6884, receiver: 0x04 },
|
|
242
|
+
{ name: "AI_GET_GIMBAL_PRESET_LIST", subsystem: "Ai", set: 0x03, cmdId: 0x34, wireCmd: 0x3B44, receiver: 0x04 },
|
|
243
|
+
{ name: "AI_GET_GIMBAL_PRESET_LIST2", subsystem: "Ai", set: 0x03, cmdId: 0x35, wireCmd: 0x3D04, receiver: 0x04 },
|
|
244
|
+
{ name: "AI_SET_GIMBAL_PRESET_ADD", subsystem: "Ai", set: 0x03, cmdId: 0x36, wireCmd: 0x3944, receiver: 0x04 },
|
|
245
|
+
{ name: "AI_SET_GIMBAL_PRESET_DELETE", subsystem: "Ai", set: 0x03, cmdId: 0x37, wireCmd: 0x3984, receiver: 0x04 },
|
|
246
|
+
{ name: "AI_SET_GIMBAL_PRESET_UPDATE", subsystem: "Ai", set: 0x03, cmdId: 0x38, wireCmd: 0x3A04, receiver: 0x04 },
|
|
247
|
+
{ name: "AI_GET_GIMBAL_PRESET_ID_VALUE", subsystem: "Ai", set: 0x03, cmdId: 0x39, wireCmd: 0x3A44, receiver: 0x04 },
|
|
248
|
+
{ name: "AI_GET_GIMBAL_PRESET_ID_NAME", subsystem: "Ai", set: 0x03, cmdId: 0x3A, wireCmd: 0x3B04, receiver: 0x04 },
|
|
249
|
+
{ name: "AI_GET_GIMBAL_PRESET_ID_NAME2", subsystem: "Ai", set: 0x03, cmdId: 0x3B, wireCmd: 0x3CC4, receiver: 0x04 },
|
|
250
|
+
{ name: "AI_SET_GIMBAL_PRESET_ID_NAME", subsystem: "Ai", set: 0x03, cmdId: 0x3C, wireCmd: 0x3A84, receiver: 0x04 },
|
|
251
|
+
{ name: "AI_SET_GIMBAL_PRESET_TRIG", subsystem: "Ai", set: 0x03, cmdId: 0x3D, wireCmd: 0x39C4, receiver: 0x04 },
|
|
252
|
+
{ name: "AI_SET_PRESETS_ACTIONS", subsystem: "Ai", set: 0x03, cmdId: 0x3E, wireCmd: 0x3D84, receiver: 0x04 },
|
|
253
|
+
{ name: "AI_GET_PRESETS_ACTIONS", subsystem: "Ai", set: 0x03, cmdId: 0x3F, wireCmd: 0x3DC4, receiver: 0x04 },
|
|
254
|
+
{ name: "AI_SET_PRESET_UPDATE_ONLY", subsystem: "Ai", set: 0x03, cmdId: 0x40, wireCmd: 0x3E04, receiver: 0x04 },
|
|
255
|
+
{ name: "AI_SET_BOOT_PRESETS_ACTIONS", subsystem: "Ai", set: 0x03, cmdId: 0x41, wireCmd: 0x3E44, receiver: 0x04 },
|
|
256
|
+
{ name: "AI_GET_BOOT_PRESETS_ACTIONS", subsystem: "Ai", set: 0x03, cmdId: 0x42, wireCmd: 0x3E84, receiver: 0x04 },
|
|
257
|
+
{ name: "AI_SET_BOOT_PRESET_UPDATE_ONLY", subsystem: "Ai", set: 0x03, cmdId: 0x43, wireCmd: 0x3EC4, receiver: 0x04 },
|
|
258
|
+
{ name: "AI_SET_INITIAL_POSITION_OPA", subsystem: "Ai", set: 0x03, cmdId: 0x44, wireCmd: 0x1C84, receiver: 0x04 },
|
|
259
|
+
{ name: "AI_GET_INITIAL_POSITION_OPA", subsystem: "Ai", set: 0x03, cmdId: 0x45, wireCmd: 0x1C44, receiver: 0x04 },
|
|
260
|
+
{ name: "AI_GET_PRESET_OPA", subsystem: "Ai", set: 0x03, cmdId: 0x46, wireCmd: 0x1D04, receiver: 0x04 },
|
|
261
|
+
{ name: "AI_SET_PRESET_OPA", subsystem: "Ai", set: 0x03, cmdId: 0x47, wireCmd: 0x1D44, receiver: 0x04 },
|
|
262
|
+
{ name: "AI_SET_HAND_TRACK", subsystem: "Ai", set: 0x03, cmdId: 0x48, wireCmd: 0x2244, receiver: 0x04 },
|
|
263
|
+
{ name: "AI_GET_HAND_TRACK_STATE", subsystem: "Ai", set: 0x03, cmdId: 0x49, wireCmd: 0x2004, receiver: 0x04 },
|
|
264
|
+
{ name: "AI_SET_HAND_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x4A, wireCmd: 0x24C4, receiver: 0x04 },
|
|
265
|
+
{ name: "AI_GET_HAND_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x4B, wireCmd: 0x2504, receiver: 0x04 },
|
|
266
|
+
{ name: "AI_RST_HAND_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x4C, wireCmd: 0x2544, receiver: 0x04 },
|
|
267
|
+
{ name: "AI_TRG_HAND_TRACK_INIT_POS", subsystem: "Ai", set: 0x03, cmdId: 0x4D, wireCmd: 0x2584, receiver: 0x04 },
|
|
268
|
+
{ name: "AI_SET_HAND_ZONE_PAN_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x4E, wireCmd: 0x2044, receiver: 0x04 },
|
|
269
|
+
{ name: "AI_SET_HAND_ZONE_PAN_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x4F, wireCmd: 0x20C4, receiver: 0x04 },
|
|
270
|
+
{ name: "AI_SET_HAND_ZONE_PITCH_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x50, wireCmd: 0x2144, receiver: 0x04 },
|
|
271
|
+
{ name: "AI_SET_HAND_ZONE_PITCH_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x51, wireCmd: 0x21C4, receiver: 0x04 },
|
|
272
|
+
{ name: "AI_RST_HAND_ZONE_PAN_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x52, wireCmd: 0x25C4, receiver: 0x04 },
|
|
273
|
+
{ name: "AI_RST_HAND_ZONE_PAN_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x53, wireCmd: 0x2604, receiver: 0x04 },
|
|
274
|
+
{ name: "AI_RST_HAND_ZONE_PITCH_MIN", subsystem: "Ai", set: 0x03, cmdId: 0x54, wireCmd: 0x2644, receiver: 0x04 },
|
|
275
|
+
{ name: "AI_RST_HAND_ZONE_PITCH_MAX", subsystem: "Ai", set: 0x03, cmdId: 0x55, wireCmd: 0x2684, receiver: 0x04 },
|
|
276
|
+
{ name: "AI_SET_HAND_TRACK_GIM_ENABLED", subsystem: "Ai", set: 0x03, cmdId: 0x56, wireCmd: 0x26C4, receiver: 0x04 },
|
|
277
|
+
{ name: "AI_SET_GESTURE_TARGET", subsystem: "Ai", set: 0x03, cmdId: 0x57, wireCmd: 0x30C4, receiver: 0x04 },
|
|
278
|
+
{ name: "AI_SET_GESTURE_ZOOM", subsystem: "Ai", set: 0x03, cmdId: 0x58, wireCmd: 0x3144, receiver: 0x04 },
|
|
279
|
+
{ name: "AI_SET_GESTURE_RECORD", subsystem: "Ai", set: 0x03, cmdId: 0x59, wireCmd: 0x31C4, receiver: 0x04 },
|
|
280
|
+
{ name: "AI_SET_GESTURE_ZOOM_RATIO", subsystem: "Ai", set: 0x03, cmdId: 0x5A, wireCmd: 0x3244, receiver: 0x04 },
|
|
281
|
+
{ name: "AI_SET_GESTURE_DYNAMIC_ZOOM", subsystem: "Ai", set: 0x03, cmdId: 0x5B, wireCmd: 0x3344, receiver: 0x04 },
|
|
282
|
+
{ name: "AI_SET_GESTURE_DIR_MIRROR", subsystem: "Ai", set: 0x03, cmdId: 0x5C, wireCmd: 0x33C4, receiver: 0x04 },
|
|
283
|
+
{ name: "AI_SET_ZONE_TRACK_ENABLE", subsystem: "Ai", set: 0x03, cmdId: 0x5D, wireCmd: 0x08C4, receiver: 0x04 },
|
|
284
|
+
{ name: "AI_SET_AI_AUTO_ZOOM_ENABLE", subsystem: "Ai", set: 0x03, cmdId: 0x5E, wireCmd: 0x0A44, receiver: 0x04 },
|
|
285
|
+
{ name: "AI_SET_AI_ZOOM_SCALE", subsystem: "Ai", set: 0x03, cmdId: 0x5F, wireCmd: 0x0AC4, receiver: 0x04 },
|
|
286
|
+
{ name: "AI_SET_AI_PART_TRACK", subsystem: "Ai", set: 0x03, cmdId: 0x60, wireCmd: 0x1584, receiver: 0x04 },
|
|
287
|
+
{ name: "AI_SET_AI_ENABLE", subsystem: "Ai", set: 0x03, cmdId: 0x61, wireCmd: 0x0244, receiver: 0x04 },
|
|
288
|
+
{ name: "AI_SET_AI_WORK_MODE", subsystem: "Ai", set: 0x03, cmdId: 0x62, wireCmd: 0x0284, receiver: 0x04 },
|
|
289
|
+
{ name: "AI_NTY_UPDATE_POS", subsystem: "Ai", set: 0x03, cmdId: 0x63, wireCmd: 0x3B84, receiver: 0x04 },
|
|
290
|
+
{ name: "AI_SET_YAW_REVERSE", subsystem: "Ai", set: 0x03, cmdId: 0x64, wireCmd: 0x3B84, receiver: 0x04 },
|
|
291
|
+
{ name: "AI_SET_YAW_REVERSE2", subsystem: "Ai", set: 0x03, cmdId: 0x65, wireCmd: 0x3C04, receiver: 0x04 },
|
|
292
|
+
{ name: "AI_SET_TRACK_SPEED", subsystem: "Ai", set: 0x03, cmdId: 0x66, wireCmd: 0x0944, receiver: 0x04 },
|
|
293
|
+
{ name: "AI_NTY_ALL_CTRL_PARAM", subsystem: "Ai", set: 0x03, cmdId: 0x67, wireCmd: 0x0404, receiver: 0x04 },
|
|
294
|
+
{ name: "AI_SET_TARGET_BY_POS", subsystem: "Ai", set: 0x03, cmdId: 0x68, wireCmd: 0x0404, receiver: 0x04 },
|
|
295
|
+
{ name: "AI_SET_TARGET_BY_BOX", subsystem: "Ai", set: 0x03, cmdId: 0x69, wireCmd: 0x0444, receiver: 0x04 },
|
|
296
|
+
{ name: "AI_SET_NO_TRACK", subsystem: "Ai", set: 0x03, cmdId: 0x6A, wireCmd: 0x0444, receiver: 0x04 },
|
|
297
|
+
{ name: "AI_SET_BIGGEST_TARGET", subsystem: "Ai", set: 0x03, cmdId: 0x6B, wireCmd: 0x0484, receiver: 0x04 },
|
|
298
|
+
{ name: "AI_SET_CENTER_TARGET", subsystem: "Ai", set: 0x03, cmdId: 0x6C, wireCmd: 0x04C4, receiver: 0x04 },
|
|
299
|
+
{ name: "AI_SET_CENTER_POS", subsystem: "Ai", set: 0x03, cmdId: 0x6D, wireCmd: 0x0544, receiver: 0x04 },
|
|
300
|
+
{ name: "AI_SET_CANCEL_TARGET", subsystem: "Ai", set: 0x03, cmdId: 0x6E, wireCmd: 0x0504, receiver: 0x04 },
|
|
301
|
+
{ name: "AI_SET_AI_TRACK_MODE", subsystem: "Ai", set: 0x03, cmdId: 0x6F, wireCmd: 0x0584, receiver: 0x04 },
|
|
302
|
+
{ name: "AI_SET_AUTO_GROUP", subsystem: "Ai", set: 0x03, cmdId: 0x70, wireCmd: 0x0604, receiver: 0x04 },
|
|
303
|
+
{ name: "AI_CANCEL_AUTO_GROUP", subsystem: "Ai", set: 0x03, cmdId: 0x71, wireCmd: 0x0644, receiver: 0x04 },
|
|
304
|
+
{ name: "AI_NTY_DELETE_POS", subsystem: "Ai", set: 0x03, cmdId: 0x72, wireCmd: 0x3BC4, receiver: 0x04 },
|
|
305
|
+
{ name: "AI_NTY_ATTITUDE_CHANGED", subsystem: "Ai", set: 0x03, cmdId: 0x73, wireCmd: 0x3F04, receiver: 0x04 },
|
|
306
|
+
{ name: "AI_SET_AUTO_OFFSET", subsystem: "Ai", set: 0x03, cmdId: 0x74, wireCmd: 0x5204, receiver: 0x04 },
|
|
307
|
+
{ name: "AI_GET_AUTO_OFFSET_ENABLE", subsystem: "Ai", set: 0x03, cmdId: 0x75, wireCmd: 0x5244, receiver: 0x04 },
|
|
308
|
+
{ name: "AI_GET_HORIZONTAL_OFFSET", subsystem: "Ai", set: 0x03, cmdId: 0x76, wireCmd: 0x0C04, receiver: 0x04 },
|
|
309
|
+
{ name: "AI_SET_HORIZONTAL_OFFSET", subsystem: "Ai", set: 0x03, cmdId: 0x77, wireCmd: 0x0BC4, receiver: 0x04 },
|
|
310
|
+
{ name: "AI_GET_VERTICAL_OFFSET", subsystem: "Ai", set: 0x03, cmdId: 0x78, wireCmd: 0x0C84, receiver: 0x04 },
|
|
311
|
+
{ name: "AI_SET_VERTICAL_OFFSET", subsystem: "Ai", set: 0x03, cmdId: 0x79, wireCmd: 0x0C44, receiver: 0x04 },
|
|
312
|
+
{ name: "AI_SET_GESTURE_TRACK_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x7A, wireCmd: 0x2044, receiver: 0x04 },
|
|
313
|
+
{ name: "AI_GET_GESTURE_TRACK_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x7B, wireCmd: 0x2084, receiver: 0x04 },
|
|
314
|
+
{ name: "AI_SET_GESTURE_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x7C, wireCmd: 0x3444, receiver: 0x04 },
|
|
315
|
+
{ name: "AI_GET_GESTURE_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x7D, wireCmd: 0x3484, receiver: 0x04 },
|
|
316
|
+
{ name: "AI_SET_GIMBAL_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x7E, wireCmd: 0x3F44, receiver: 0x04 },
|
|
317
|
+
{ name: "AI_GET_GIMBAL_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x7F, wireCmd: 0x3F84, receiver: 0x04 },
|
|
318
|
+
{ name: "AI_SELECT_TARGET", subsystem: "Ai", set: 0x03, cmdId: 0x80, wireCmd: 0x0684, receiver: 0x04 },
|
|
319
|
+
{ name: "AI_SET_TARGET_ZOOM_TYPE", subsystem: "Ai", set: 0x03, cmdId: 0x81, wireCmd: 0x06C4, receiver: 0x04 },
|
|
320
|
+
{ name: "AI_SET_TARGET_VIEW_TYPE", subsystem: "Ai", set: 0x03, cmdId: 0x82, wireCmd: 0x0704, receiver: 0x04 },
|
|
321
|
+
{ name: "AI_SET_CONTROL_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x83, wireCmd: 0x5444, receiver: 0x04 },
|
|
322
|
+
{ name: "AI_GET_CONTROL_PARAMETER", subsystem: "Ai", set: 0x03, cmdId: 0x84, wireCmd: 0x5484, receiver: 0x04 },
|
|
323
|
+
{ name: "GIM_GET_STATE", subsystem: "Gimbal", set: 0x02, cmdId: 0x00, wireCmd: 0x0043, receiver: 0x03 },
|
|
324
|
+
{ name: "GIM_SET_MOTOR", subsystem: "Gimbal", set: 0x02, cmdId: 0x01, wireCmd: 0x00C3, receiver: 0x03 },
|
|
325
|
+
{ name: "GIM_SET_SPEED", subsystem: "Gimbal", set: 0x02, cmdId: 0x02, wireCmd: 0x0103, receiver: 0x03 },
|
|
326
|
+
{ name: "GIM_SET_SPEED_ANGLE", subsystem: "Gimbal", set: 0x02, cmdId: 0x03, wireCmd: 0x0183, receiver: 0x03 },
|
|
327
|
+
{ name: "GIM_SET_ANGULAR_VELOCITY_POSITION", subsystem: "Gimbal", set: 0x02, cmdId: 0x04, wireCmd: 0x0283, receiver: 0x03 },
|
|
328
|
+
{ name: "GIM_SET_LOCK", subsystem: "Gimbal", set: 0x02, cmdId: 0x05, wireCmd: null, receiver: null },
|
|
329
|
+
{ name: "GIM_SET_RESET", subsystem: "Gimbal", set: 0x02, cmdId: 0x06, wireCmd: null, receiver: null },
|
|
330
|
+
{ name: "GIM_SET_SMOOTH", subsystem: "Gimbal", set: 0x02, cmdId: 0x07, wireCmd: 0x0503, receiver: 0x03 },
|
|
331
|
+
{ name: "GIM_GET_INFO", subsystem: "Gimbal", set: 0x02, cmdId: 0x08, wireCmd: 0x1303, receiver: 0x03 },
|
|
332
|
+
{ name: "SYS_MG_SET_WIFI_MODE", subsystem: "SysMg", set: 0x0D, cmdId: 0x00, wireCmd: 0x104D, receiver: 0x12 },
|
|
333
|
+
{ name: "SYS_MG_GET_WIFI_MODE", subsystem: "SysMg", set: 0x0D, cmdId: 0x01, wireCmd: 0x108D, receiver: 0x12 },
|
|
334
|
+
{ name: "SYS_MG_SET_WIFI_COUNTRY_CODE", subsystem: "SysMg", set: 0x0D, cmdId: 0x02, wireCmd: 0x10CD, receiver: 0x12 },
|
|
335
|
+
{ name: "SYS_MG_TRG_WIFI_SCAN", subsystem: "SysMg", set: 0x0D, cmdId: 0x03, wireCmd: 0x114D, receiver: 0x12 },
|
|
336
|
+
{ name: "SYS_MG_GET_WIFI_SCAN", subsystem: "SysMg", set: 0x0D, cmdId: 0x04, wireCmd: 0x118D, receiver: 0x12 },
|
|
337
|
+
{ name: "SYS_MG_NTY_STA_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x05, wireCmd: 0x140D, receiver: 0x12 },
|
|
338
|
+
{ name: "SYS_MG_GET_STA_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x06, wireCmd: 0x144D, receiver: 0x12 },
|
|
339
|
+
{ name: "SYS_MG_GET_WIFI_STA_CFG", subsystem: "SysMg", set: 0x0D, cmdId: 0x07, wireCmd: 0x154D, receiver: 0x12 },
|
|
340
|
+
{ name: "SYS_MG_REMOVE_STA_BSS", subsystem: "SysMg", set: 0x0D, cmdId: 0x08, wireCmd: 0x15CD, receiver: 0x12 },
|
|
341
|
+
{ name: "SYS_MG_SET_WIFI_CONN", subsystem: "SysMg", set: 0x0D, cmdId: 0x09, wireCmd: 0x160D, receiver: 0x12 },
|
|
342
|
+
{ name: "SYS_MG_SET_WIFI_STA_ARQ", subsystem: "SysMg", set: 0x0D, cmdId: 0x0A, wireCmd: 0x16CD, receiver: 0x12 },
|
|
343
|
+
{ name: "SYS_MG_NTY_WIFI_AP_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x0B, wireCmd: 0x180D, receiver: 0x12 },
|
|
344
|
+
{ name: "SYS_MG_GET_WIFI_AP_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x0C, wireCmd: 0x184D, receiver: 0x12 },
|
|
345
|
+
{ name: "SYS_MG_GET_NETWORK_NIC_MAC", subsystem: "SysMg", set: 0x0D, cmdId: 0x0D, wireCmd: 0x610D, receiver: 0x12 },
|
|
346
|
+
{ name: "SYS_MG_SET_WIFI_IFACE", subsystem: "SysMg", set: 0x0D, cmdId: 0x0E, wireCmd: 0x170D, receiver: 0x12 },
|
|
347
|
+
{ name: "SYS_MG_GET_WIFI_STA_CFG_NEW", subsystem: "SysMg", set: 0x0D, cmdId: 0x0F, wireCmd: 0x174D, receiver: 0x12 },
|
|
348
|
+
{ name: "SYS_MG_RESTART_WIFI_STA", subsystem: "SysMg", set: 0x0D, cmdId: 0x10, wireCmd: 0x150D, receiver: 0x12 },
|
|
349
|
+
{ name: "SYS_MG_SET_INDICATOR_STATE", subsystem: "SysMg", set: 0x0D, cmdId: 0x11, wireCmd: 0x700D, receiver: 0x12 },
|
|
350
|
+
{ name: "SYS_MG_CLEAR_INDICATOR_STATE", subsystem: "SysMg", set: 0x0D, cmdId: 0x12, wireCmd: 0x704D, receiver: 0x12 },
|
|
351
|
+
{ name: "SYS_MG_SET_BUZZER_ENABLED", subsystem: "SysMg", set: 0x0D, cmdId: 0x13, wireCmd: 0x728D, receiver: 0x12 },
|
|
352
|
+
{ name: "SYS_MG_SET_BUZZER_DISABLED", subsystem: "SysMg", set: 0x0D, cmdId: 0x14, wireCmd: 0x72CD, receiver: 0x12 },
|
|
353
|
+
{ name: "SYS_MG_GET_BUZZER_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x15, wireCmd: 0x730D, receiver: 0x12 },
|
|
354
|
+
{ name: "SYS_MG_SET_LED_BRIGHTNESS", subsystem: "SysMg", set: 0x0D, cmdId: 0x16, wireCmd: 0x750D, receiver: 0x12 },
|
|
355
|
+
{ name: "SYS_MG_GET_LED_BRIGHTNESS", subsystem: "SysMg", set: 0x0D, cmdId: 0x17, wireCmd: 0x754D, receiver: 0x12 },
|
|
356
|
+
{ name: "SYS_MG_GET_LED_ENABLE", subsystem: "SysMg", set: 0x0D, cmdId: 0x18, wireCmd: 0x758D, receiver: 0x12 },
|
|
357
|
+
{ name: "SYS_MG_SET_LED_ENABLE", subsystem: "SysMg", set: 0x0D, cmdId: 0x19, wireCmd: 0x75CD, receiver: 0x12 },
|
|
358
|
+
{ name: "SYS_MG_SET_MDNS_HOST_NAME", subsystem: "SysMg", set: 0x0D, cmdId: 0x1A, wireCmd: 0x040D, receiver: 0x12 },
|
|
359
|
+
{ name: "SYS_MG_SET_DEVICE_NAME", subsystem: "SysMg", set: 0x0D, cmdId: 0x1B, wireCmd: 0x044D, receiver: 0x12 },
|
|
360
|
+
{ name: "SYS_MG_GET_DEVICE_NAME", subsystem: "SysMg", set: 0x0D, cmdId: 0x1C, wireCmd: 0x048D, receiver: 0x12 },
|
|
361
|
+
{ name: "SYS_MG_RESET_CONNECTION", subsystem: "SysMg", set: 0x0D, cmdId: 0x1D, wireCmd: 0x018D, receiver: 0x12 },
|
|
362
|
+
{ name: "SYS_MG_GET_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x1E, wireCmd: 0x014D, receiver: 0x12 },
|
|
363
|
+
{ name: "SYS_MG_GET_ETHERNET_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x1F, wireCmd: 0x308D, receiver: 0x12 },
|
|
364
|
+
{ name: "SYS_MG_SET_ETHERNET_CONFIG", subsystem: "SysMg", set: 0x0D, cmdId: 0x20, wireCmd: 0x314D, receiver: 0x12 },
|
|
365
|
+
{ name: "SYS_MG_GET_ETHERNET_CONFIG", subsystem: "SysMg", set: 0x0D, cmdId: 0x21, wireCmd: 0x318D, receiver: 0x12 },
|
|
366
|
+
{ name: "SYS_MG_RESTART_ETHERNET", subsystem: "SysMg", set: 0x0D, cmdId: 0x22, wireCmd: 0x31CD, receiver: 0x12 },
|
|
367
|
+
{ name: "SYS_MG_TRG_WIFI_SCAN_ASYNC", subsystem: "SysMg", set: 0x0D, cmdId: 0x23, wireCmd: 0x11CD, receiver: 0x12 },
|
|
368
|
+
{ name: "SYS_MG_GET_WIFI_SCAN_STATUS", subsystem: "SysMg", set: 0x0D, cmdId: 0x24, wireCmd: 0x120D, receiver: 0x12 },
|
|
369
|
+
{ name: "PRI_BLE_TX_GET_DEV_MAC", subsystem: "TXBle", set: 0x0F, cmdId: 0x00, wireCmd: 0x0053, receiver: 0x18 },
|
|
370
|
+
{ name: "PRI_BLE_TX_GET_VERSION", subsystem: "TXBle", set: 0x0F, cmdId: 0x01, wireCmd: 0x0153, receiver: 0x18 },
|
|
371
|
+
{ name: "PRI_BLE_TX_SET_PAIR_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x02, wireCmd: 0x0C13, receiver: 0x18 },
|
|
372
|
+
{ name: "PRI_BLE_TX_SET_PAIR_DISABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x03, wireCmd: 0x0C53, receiver: 0x18 },
|
|
373
|
+
{ name: "PRI_BLE_TX_SET_DEV_NAME", subsystem: "TXBle", set: 0x0F, cmdId: 0x04, wireCmd: 0x0DD3, receiver: 0x18 },
|
|
374
|
+
{ name: "PRI_BLE_TX_GET_DEV_NAME", subsystem: "TXBle", set: 0x0F, cmdId: 0x05, wireCmd: 0x0E13, receiver: 0x18 },
|
|
375
|
+
{ name: "PRI_BLE_TX_CLEAR_PAIR_INFO", subsystem: "TXBle", set: 0x0F, cmdId: 0x06, wireCmd: 0x0E93, receiver: 0x18 },
|
|
376
|
+
{ name: "PRI_BLE_TX_GET_UPGRADE", subsystem: "TXBle", set: 0x0F, cmdId: 0x07, wireCmd: 0x1413, receiver: 0x18 },
|
|
377
|
+
{ name: "PRI_BLE_TX_SET_VIB_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x08, wireCmd: 0x2153, receiver: 0x18 },
|
|
378
|
+
{ name: "PRI_BLE_TX_SET_KEY_MODE", subsystem: "TXBle", set: 0x0F, cmdId: 0x09, wireCmd: 0x2413, receiver: 0x18 },
|
|
379
|
+
{ name: "PRI_BLE_TX_GET_KEY_MODE", subsystem: "TXBle", set: 0x0F, cmdId: 0x0A, wireCmd: 0x2453, receiver: 0x18 },
|
|
380
|
+
{ name: "PRI_BLE_TX_SET_LED_MODE", subsystem: "TXBle", set: 0x0F, cmdId: 0x0B, wireCmd: 0x2493, receiver: 0x18 },
|
|
381
|
+
{ name: "PRI_BLE_TX_GET_LED_MODE", subsystem: "TXBle", set: 0x0F, cmdId: 0x0C, wireCmd: 0x24D3, receiver: 0x18 },
|
|
382
|
+
{ name: "PRI_BLE_TX_SET_KEY_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x0D, wireCmd: 0x2513, receiver: 0x18 },
|
|
383
|
+
{ name: "PRI_BLE_TX_SET_LED_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x0E, wireCmd: 0x2553, receiver: 0x18 },
|
|
384
|
+
{ name: "PRI_BLE_TX_GET_KEY_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x0F, wireCmd: 0x2593, receiver: 0x18 },
|
|
385
|
+
{ name: "PRI_BLE_TX_GET_LED_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x10, wireCmd: 0x25D3, receiver: 0x18 },
|
|
386
|
+
{ name: "PRI_BLE_TX_SET_AUDIO_EQ_MODE", subsystem: "TXBle", set: 0x0F, cmdId: 0x11, wireCmd: 0x2C13, receiver: 0x18 },
|
|
387
|
+
{ name: "PRI_BLE_TX_GET_AUDIO_EQ_MODE", subsystem: "TXBle", set: 0x0F, cmdId: 0x12, wireCmd: 0x2C53, receiver: 0x18 },
|
|
388
|
+
{ name: "PRI_BLE_TX_SET_AUDIO_NR_LEVEL", subsystem: "TXBle", set: 0x0F, cmdId: 0x13, wireCmd: 0x2C93, receiver: 0x18 },
|
|
389
|
+
{ name: "PRI_BLE_TX_GET_AUDIO_NR_LEVEL", subsystem: "TXBle", set: 0x0F, cmdId: 0x14, wireCmd: 0x2CD3, receiver: 0x18 },
|
|
390
|
+
{ name: "PRI_BLE_TX_SET_AUDIO_NR_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x15, wireCmd: 0x2D13, receiver: 0x18 },
|
|
391
|
+
{ name: "PRI_BLE_TX_SET_AUDIO_GAIN", subsystem: "TXBle", set: 0x0F, cmdId: 0x16, wireCmd: 0x2D53, receiver: 0x18 },
|
|
392
|
+
{ name: "PRI_BLE_TX_GET_AUDIO_GAIN", subsystem: "TXBle", set: 0x0F, cmdId: 0x17, wireCmd: 0x2D93, receiver: 0x18 },
|
|
393
|
+
{ name: "PRI_BLE_TX_SET_AUDIO_MUTE_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x18, wireCmd: 0x2DD3, receiver: 0x18 },
|
|
394
|
+
{ name: "PRI_BLE_TX_GET_AUDIO_MUTE_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x19, wireCmd: 0x2E13, receiver: 0x18 },
|
|
395
|
+
{ name: "PRI_BLE_TX_GET_AUDIO_NR_ENABLE", subsystem: "TXBle", set: 0x0F, cmdId: 0x1A, wireCmd: 0x2E53, receiver: 0x18 },
|
|
396
|
+
{ name: "PRI_BLE_TX_GET_BATT_LEVEL", subsystem: "TXBle", set: 0x0F, cmdId: 0x1B, wireCmd: 0x3013, receiver: 0x18 },
|
|
397
|
+
{ name: "PRI_BLE_TX_GET_BATT_CHARGING_STATUS", subsystem: "TXBle", set: 0x0F, cmdId: 0x1C, wireCmd: 0x3053, receiver: 0x18 },
|
|
398
|
+
{ name: "PRI_BLE_TX_SET_AUTO_SHUTDOWN", subsystem: "TXBle", set: 0x0F, cmdId: 0x1D, wireCmd: 0x3113, receiver: 0x18 },
|
|
399
|
+
{ name: "PRI_BLE_GET_MAC", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x00, wireCmd: 0x004E, receiver: 0x13 },
|
|
400
|
+
{ name: "PRI_BLE_GET_VER", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x01, wireCmd: 0x014E, receiver: 0x13 },
|
|
401
|
+
{ name: "PRI_BLE_WAKE_HOST_UP", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x02, wireCmd: 0x01CE, receiver: 0x13 },
|
|
402
|
+
{ name: "PRI_BLE_GET_ADV_DATA", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x03, wireCmd: 0x040E, receiver: 0x13 },
|
|
403
|
+
{ name: "PRI_BLE_GET_SCAN_RSP_DATA", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x04, wireCmd: 0x044E, receiver: 0x13 },
|
|
404
|
+
{ name: "PRI_BLE_GET_STATUS", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x05, wireCmd: 0x048E, receiver: 0x13 },
|
|
405
|
+
{ name: "PRI_BLE_SET_DISCONN_NOTIFY", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x06, wireCmd: 0x080E, receiver: 0x13 },
|
|
406
|
+
{ name: "PRI_BLE_GET_UG_STATUS", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x07, wireCmd: 0x140E, receiver: 0x13 },
|
|
407
|
+
{ name: "PRI_BLE_PAIRING_ENABLED", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x08, wireCmd: 0x0C0E, receiver: 0x13 },
|
|
408
|
+
{ name: "PRI_BLE_PAIRING_DISABLED", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x09, wireCmd: 0x0C4E, receiver: 0x13 },
|
|
409
|
+
{ name: "PRI_BLE_PAIRING_EXIT", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x0A, wireCmd: 0x0DCE, receiver: 0x13 },
|
|
410
|
+
{ name: "PRI_BLE_SWITCH_APP_MODE", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x0B, wireCmd: 0x204E, receiver: 0x13 },
|
|
411
|
+
{ name: "PRI_BLE_SET_START_INQUIRY", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x0C, wireCmd: 0x288E, receiver: 0x13 },
|
|
412
|
+
{ name: "PRI_BLE_STOP_INQUIRY", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x0D, wireCmd: 0x28CE, receiver: 0x13 },
|
|
413
|
+
{ name: "PRI_BLE_GET_INQUIRED_DEVICE_LIST", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x0E, wireCmd: 0x290E, receiver: 0x13 },
|
|
414
|
+
{ name: "PRI_BLE_CONNECT_DEVICE", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x0F, wireCmd: 0x294E, receiver: 0x13 },
|
|
415
|
+
{ name: "PRI_BLE_DISCONNECT_DEVICE", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x10, wireCmd: 0x298E, receiver: 0x13 },
|
|
416
|
+
{ name: "PRI_BLE_GET_LAST_CONNECTED_DEVICE", subsystem: "PrimaryBle", set: 0x0C, cmdId: 0x11, wireCmd: 0x2B0E, receiver: 0x13 },
|
|
417
|
+
{ name: "UG_GET_RESULT", subsystem: "Upgrade", set: 0x05, cmdId: 0x01, wireCmd: 0x0088, receiver: 0x0D },
|
|
418
|
+
{ name: "UG_GET_STATE", subsystem: "Upgrade", set: 0x05, cmdId: 0x02, wireCmd: 0x00C8, receiver: 0x0D },
|
|
419
|
+
{ name: "UG_GET_PKG_VER", subsystem: "Upgrade", set: 0x05, cmdId: 0x03, wireCmd: 0x0408, receiver: 0x0D },
|
|
420
|
+
{ name: "UG_GET_UUID", subsystem: "Upgrade", set: 0x05, cmdId: 0x04, wireCmd: 0x1808, receiver: 0x0D },
|
|
421
|
+
{ name: "UG_GET_DEV_INFO", subsystem: "Upgrade", set: 0x05, cmdId: 0x07, wireCmd: 0x1948, receiver: 0x0D },
|
|
422
|
+
{ name: "UG_GET_SN", subsystem: "Upgrade", set: 0x05, cmdId: 0x08, wireCmd: 0x18C8, receiver: 0x0D },
|
|
423
|
+
{ name: "UG_GET_UG_RESULT", subsystem: "Upgrade", set: 0x05, cmdId: 0x0A, wireCmd: 0x0088, receiver: 0x0D },
|
|
424
|
+
{ name: "UG_GET_UG_VER", subsystem: "Upgrade", set: 0x05, cmdId: 0x0B, wireCmd: 0x1A48, receiver: 0x0D },
|
|
425
|
+
{ name: "UG_SET_PACK_LOG", subsystem: "Upgrade", set: 0x05, cmdId: 0x0C, wireCmd: 0x1A88, receiver: 0x0D },
|
|
426
|
+
{ name: "UG_WAKE_HOST_UP", subsystem: "Upgrade", set: 0x05, cmdId: 0x0F, wireCmd: 0x1B48, receiver: 0x0D },
|
|
427
|
+
{ name: "UG_SET_HDMI_TIMING", subsystem: "Upgrade", set: 0x05, cmdId: 0x11, wireCmd: 0x1E08, receiver: 0x0D },
|
|
428
|
+
{ name: "UG_GET_HDMI_TIMING", subsystem: "Upgrade", set: 0x05, cmdId: 0x12, wireCmd: 0x1E48, receiver: 0x0D },
|
|
429
|
+
{ name: "ROUTE_SET_REGISTER", subsystem: "Route", set: 0x06, cmdId: 0x00, wireCmd: 0x0801, receiver: 0x01 },
|
|
430
|
+
{ name: "ROUTE_NTY_DISCONNECT", subsystem: "Route", set: 0x06, cmdId: 0x01, wireCmd: 0x0841, receiver: 0x01 },
|
|
431
|
+
{ name: "ROUTE_SET_CLIENT_ALIVE", subsystem: "Route", set: 0x06, cmdId: 0x02, wireCmd: 0x0881, receiver: 0x01 },
|
|
432
|
+
{ name: "ROUTE_NTY_SERVER_ALIVE", subsystem: "Route", set: 0x06, cmdId: 0x03, wireCmd: 0x08C1, receiver: 0x01 },
|
|
433
|
+
{ name: "ROUTE_SET_TOKEN", subsystem: "Route", set: 0x06, cmdId: 0x04, wireCmd: 0x0901, receiver: 0x01 },
|
|
434
|
+
{ name: "ROUTE_GET_TOKEN", subsystem: "Route", set: 0x06, cmdId: 0x05, wireCmd: 0x0941, receiver: 0x01 },
|
|
435
|
+
{ name: "ROUTE_NTY_CONN_EVENT", subsystem: "Route", set: 0x06, cmdId: 0x06, wireCmd: 0x09C1, receiver: 0x01 },
|
|
436
|
+
{ name: "ROUTE_UN_REGISTER", subsystem: "Route", set: 0x06, cmdId: 0x07, wireCmd: 0x0B01, receiver: 0x01 },
|
|
437
|
+
{ name: "PRI_BLE_REMOTE_GET_STATUS", subsystem: "RemoteBle", set: 0x0E, cmdId: 0x00, wireCmd: 0x0C8F, receiver: 0x14 },
|
|
438
|
+
// ==========================================================================
|
|
439
|
+
// !! POTENTIALLY DESTRUCTIVE COMMANDS — HANDLE WITH EXTREME CAUTION !!
|
|
440
|
+
// --------------------------------------------------------------------------
|
|
441
|
+
// The 16 commands below can BRICK THE DEVICE, erase user data, flash
|
|
442
|
+
// firmware, reset to factory state, cut power, or run arbitrary system code.
|
|
443
|
+
// They are grouped here (not interspersed above) so the hazard is obvious at
|
|
444
|
+
// a glance. Do NOT invoke any of these unless a human has explicitly asked
|
|
445
|
+
// for that specific operation and understands the consequences. Automated
|
|
446
|
+
// callers: gate on isDestructive(name) / DESTRUCTIVE_NAMES (exported below).
|
|
447
|
+
// - Firmware / bootloader ...... UG_SET_* (flashing, upgrade mode, run-cmd)
|
|
448
|
+
// - Factory service ............ FTY_* (protected-storage file transfer)
|
|
449
|
+
// - Wipe / data loss ........... CAM_SET_FACTORY_RESET, CAM_SET_SD_FORMAT
|
|
450
|
+
// - Power / raw syscall ........ CAM_SET_POWER_CTRL, CAM_SET_SYSCALL
|
|
451
|
+
// - Feature activation ......... CAM_SET_MODULE_ACTIVATE
|
|
452
|
+
// ==========================================================================
|
|
453
|
+
{ name: "CAM_SET_SYSCALL", subsystem: "Camera", set: 0x01, cmdId: 0x00, wireCmd: 0xAA42, receiver: 0x02 },
|
|
454
|
+
{ name: "CAM_SET_FACTORY_RESET", subsystem: "Camera", set: 0x01, cmdId: 0x01, wireCmd: 0xA802, receiver: 0x02 },
|
|
455
|
+
{ name: "CAM_SET_MODULE_ACTIVATE", subsystem: "Camera", set: 0x01, cmdId: 0x21, wireCmd: 0x0E02, receiver: 0x02 },
|
|
456
|
+
{ name: "CAM_SET_SD_FORMAT", subsystem: "Camera", set: 0x01, cmdId: 0x85, wireCmd: 0x6442, receiver: 0x02 },
|
|
457
|
+
{ name: "CAM_SET_POWER_CTRL", subsystem: "Camera", set: 0x01, cmdId: 0x8B, wireCmd: 0xA0C2, receiver: 0x02 },
|
|
458
|
+
{ name: "UG_SET_EVENT", subsystem: "Upgrade", set: 0x05, cmdId: 0x00, wireCmd: 0x0048, receiver: 0x0D },
|
|
459
|
+
{ name: "UG_SET_UPGRADE", subsystem: "Upgrade", set: 0x05, cmdId: 0x05, wireCmd: 0x1848, receiver: 0x0D },
|
|
460
|
+
{ name: "UG_SET_IP", subsystem: "Upgrade", set: 0x05, cmdId: 0x06, wireCmd: 0x1908, receiver: 0x0D },
|
|
461
|
+
{ name: "UG_SET_UG_MODE", subsystem: "Upgrade", set: 0x05, cmdId: 0x09, wireCmd: 0x1988, receiver: 0x0D },
|
|
462
|
+
{ name: "UG_SET_RUN_CMD", subsystem: "Upgrade", set: 0x05, cmdId: 0x0D, wireCmd: 0x1AC8, receiver: 0x0D },
|
|
463
|
+
{ name: "UG_SET_MTP_STORAGE", subsystem: "Upgrade", set: 0x05, cmdId: 0x0E, wireCmd: 0x1B08, receiver: 0x0D },
|
|
464
|
+
{ name: "UG_SWITCH_USB_MODE", subsystem: "Upgrade", set: 0x05, cmdId: 0x10, wireCmd: 0x1B88, receiver: 0x0D },
|
|
465
|
+
{ name: "UG_SET_ACCESSORY_UPGRADE", subsystem: "Upgrade", set: 0x05, cmdId: 0x13, wireCmd: 0x2008, receiver: 0x0D },
|
|
466
|
+
{ name: "FTY_SET_FTP", subsystem: "Factory", set: 0x0B, cmdId: 0x00, wireCmd: 0x1989, receiver: 0x0E },
|
|
467
|
+
{ name: "FTY_SET_COPY_FILE", subsystem: "Factory", set: 0x0B, cmdId: 0x01, wireCmd: 0x19C9, receiver: 0x0E },
|
|
468
|
+
{ name: "FTY_FILE_TRANSFER", subsystem: "Factory", set: 0x0B, cmdId: 0x02, wireCmd: 0x3009, receiver: 0x0E },
|
|
469
|
+
// ==========================================================================
|
|
470
|
+
// !! END OF POTENTIALLY DESTRUCTIVE COMMANDS !!
|
|
471
|
+
// ==========================================================================
|
|
472
|
+
];
|
|
473
|
+
/** Lookup by enum-member name (e.g. OP_BY_NAME.get("AI_SET_GIM_SPEED")). */
|
|
474
|
+
export const OP_BY_NAME = new Map(OPCODES.map((o) => [o.name, o]));
|
|
475
|
+
/** Commands sendable over the V3 wire protocol (have a concrete wireCmd). */
|
|
476
|
+
export const SENDABLE = OPCODES.filter((o) => o.wireCmd !== null);
|
|
477
|
+
// ---------------------------------------------------------------------------
|
|
478
|
+
// DESTRUCTIVE-COMMAND GUARD RAIL
|
|
479
|
+
// ---------------------------------------------------------------------------
|
|
480
|
+
/**
|
|
481
|
+
* Names of commands that can brick the device, erase user data, flash firmware,
|
|
482
|
+
* reset to factory state, cut power, or run arbitrary code. Any code path that
|
|
483
|
+
* dispatches an opcode by name (e.g. a future vendorOp/raw-command tool) MUST
|
|
484
|
+
* refuse — or require explicit human confirmation — when the name is in here.
|
|
485
|
+
* These are the same commands cordoned off at the end of OPCODES above.
|
|
486
|
+
*/
|
|
487
|
+
export const DESTRUCTIVE_NAMES = new Set([
|
|
488
|
+
"CAM_SET_SYSCALL",
|
|
489
|
+
"CAM_SET_FACTORY_RESET",
|
|
490
|
+
"CAM_SET_MODULE_ACTIVATE",
|
|
491
|
+
"CAM_SET_SD_FORMAT",
|
|
492
|
+
"CAM_SET_POWER_CTRL",
|
|
493
|
+
"UG_SET_EVENT",
|
|
494
|
+
"UG_SET_UPGRADE",
|
|
495
|
+
"UG_SET_IP",
|
|
496
|
+
"UG_SET_UG_MODE",
|
|
497
|
+
"UG_SET_RUN_CMD",
|
|
498
|
+
"UG_SET_MTP_STORAGE",
|
|
499
|
+
"UG_SWITCH_USB_MODE",
|
|
500
|
+
"UG_SET_ACCESSORY_UPGRADE",
|
|
501
|
+
"FTY_SET_FTP",
|
|
502
|
+
"FTY_SET_COPY_FILE",
|
|
503
|
+
"FTY_FILE_TRANSFER",
|
|
504
|
+
]);
|
|
505
|
+
/** True when the named command is potentially destructive (see DESTRUCTIVE_NAMES). */
|
|
506
|
+
export const isDestructive = (name) => DESTRUCTIVE_NAMES.has(name);
|
|
507
|
+
/** The potentially-destructive opcodes, cordoned off from the rest of the table. */
|
|
508
|
+
export const DESTRUCTIVE = OPCODES.filter((o) => DESTRUCTIVE_NAMES.has(o.name));
|
|
509
|
+
//# sourceMappingURL=opcodes.js.map
|