来源文档:维拍CGI协议 V1.16
以下内容按 PDF 中的 CGI 章节标题行整理,保留原文中的 CGI 文件名、参数占位、index、rmsp_cmd 与“行车”标记。文档中个别指令存在大小写、空格、问号缺失或拼写差异时,本页不做改名或纠错,便于和原始协议逐项核对。
| 功能 | CGI 指令 | index | rmsp_cmd |
|---|---|---|---|
| 获取设备状态 | `get_status.cgi?[vuid=&][userId=&]` | `0x1001` | `0x6001` |
| 获取设备参数 | `get_params.cgi?` | `0x1002` | `0x6002` |
| 获取摄像头参数 | `get_camera_params.cgi?` | `0x1003` | `0x6003` |
| 获取录像日期列表 | `get_record_file.cgi?GetType=date&` | `0x1007` | `0x6007` |
| 获取录像文件列表 | `get_record_file.cgi?GetType=file&dirname= &` | `0x1007` | `0x6007` |
| 获取时间轴录像索引 | `get_record_idx.cgi?dirname=&[offset=]` | `0x1017` | `0x6101` |
| 删除录像文件 | `del_file.cgi?name=&` | `0x1106` | `0x601E` |
| 获取录像信息 | `get_record.cgi?` | `0x1006` | `0x6006` |
| 获取wifi扫描结果 | `get_wifi_scan_result.cgi?` | `0x1008` | `0x6008` |
| 获取生产参数 | `get_factory_param.cgi?` | `0x1009` | `0x6009` |
| 获取硬件测试结果 | `get_test_hardware_result.cgi?function=&` | `0x1016` | `0x60D2` |
| 获取mini设备WIFI模式 | `get_wifi_mode.cgi?` | `0x1017` | `0x710A` |
| 获取白光灯亮度信息 | `get_whiteled_value.cgi?` | `0x1018` | `0x7116` |
| 获取产测订单参数表 | `get_param_config.cgi?` | `0x101B` | `0x7112` |
| 获取产测硬件配置表 | `get_hw_config.cgi?` | `0x101C` | `0x7114` |
| 重启设备 | `reboot.cgi?` | `0x1101` | `0x6027` |
| 摄像机控制 | `camera_control.cgi?param=&value=&[video=&x_percent=&y_percent& ]` | `0x1102` | `0x6012` |
| 电机控制 | `decoder_control.cgi?command=&[channel=& ]` | `0x1103` | `0x6019` |
| 恢复出厂 | `restore_factory.cgi?` | `0x1104` | `0x602B` |
| 文件下载 | `download.cgi?path=&offset=&` | `0x110B` | `0x60A1` |
| 用户检测 | `check_user.cgi?` | `0x110C` | `0x60A0` |
| 设置报警参数 | `set_alarm.cgi?[motion_armed=&motion_sensitivity=& ]` | `0x1202` | `0x600C` |
| 设置用户信息 | 敏感参数不提供 query 示例,由自有服务端安全下发 | `0x1204` | `0x600E` |
| 设置设备名称 | `set_alias.cgi?alias=&` | `0x1205` | `0x600F` |
| WIFI设置 | 敏感参数不提供 query 示例,由自有服务端安全下发 | `0x1207` | `0x6011` |
| 时间设置 | `set_datetime.cgi?[ntp_svr=&ntp_enable=&now=&tz=&dev_area=& ]` | `0x1208` | `0x6013` |
| OSD设置 | `set_misc.cgi?osdenable=&` | `0x120B` | `0x6017` |
| 固化出厂参数 | `set_default.cgi?` | `0x120C` | `0x601A` |
| 设置网络参数 | `set_network.cgi?ipaddr=&mask=&gateway=&dhcp=&[&port=&dns1=&dns2=& ]` | `0x120E` | `0x6021` |
| 设置工厂参数 | `set_factory_param.cgi?[wifimac=&mac=&deviceid=&deviceVuid=&customer_code=&cameraMode=&OEM_CODE= & ]` | `0x120F` | `0x6025` |
| 格式化TF卡 | `set_formatsd.cgi?` | `0x1211` | `0x6028` |
| 设置录像参数 | `set_recordsch.cgi?[record_cover=&record_timer=&record_audio=&time_schedule_enable= & ]` | `0x1212` | `0x6029` |
| 设置AP热点参数 | `set_apwifi.cgi?apwifi_encrypt=&apwifi_ssid=&apwifi_key=&apwifi_ipaddr=&apwifi_mask=&apwifi_startip=&apwifi_endip =` | `0x1215` | `0x6036` |
| 硬件测试 | `set_test_hardware.cgi?function=&[pir_test_type=&pir_test_num=& ]` | `0x121F` | `0x60D3` |
| 指示灯控制 | `set_led_status.cgi?[red=&blue=&]` | `0x1220` | `0x710B` |
| 生产硬件配置表和订单参数表配置 | `set_production_config.cgi?[hw_config=¶m_config=& ]` | `0x1223` | `0x7113` |
| 白光灯参数配置 | `set_whiteled_value.cgi?[light=&whiteled=&mode=&ledtimes=& ]` | `0x1224` | `0x7117` |
| 网页升级标记 | `upgrade_htmls.cgi?` | `0x1300` | `0x602F` |
| 固件升级标记 | `upgrade_firmware.cgi?` | `0x1301` | `0x6030` |
| 获取GB28181配置参数 | `get_gb28181_cfg.cgi?` | `0x1302` | `0x8003` |
| 获取第三方推送配置参数 | `get_alarm_push_cfg.cgi?` | `0x1303` | `0x8005` |
| 重新授权 | `set_update_push_user.cgi?` | `0x2001` | `0x60B2` |
| OTA升级 | `auto_download_file.cgi?server=&file=&[port=& ]` | `0x2002` | `0x60B3` |
| 测试喇叭音量 | `set_test_audio.cgi?audioType=&` | `0x2003` | `0x7104` |
| AT指令调试 | `set_debug_at.cgi?cmd=&` | `0x2005` | `0x7120` |
| 设备绑定 | `set_ipc_binding_info.cgi?binding_body=&` | `0x2006` | `0x710A` |
| 报警测试 | `set_debug_alarm.cgi?type=&` | `0x2007` | `0x7118` |
| AI授权码写入 | `set_ai_key.cgi?type=&key=&` | `0x2008` | `0x7119` |
| 设置GB28181参数 | `set_gb28181_cfg.cgi?` | `0x2018` | `0x8004` |
| 设置第三方推送配置参数 | `set_alarm_push_cfg.cgi?` | `0x2019` | `0x8006` |
| MIPI切换(变焦切换) | `mutil_sensor_mipi.cgi?ctrl=&` | `0x3000` | `0x7205` |
| 抓图 | `snapshot.cgi?sensor=&` | `0x3001` | `0x6015` |
| 直播视频和回放音视频流获取 | `livestream.cgi?streamid=&substream=&[filename=&download=&ntsamp=&framenum=&event=&recch=&key= & ]` | `0x3002` | `0x6037` |
| 直播音频流获取 | `audiostream.cgi?streamid=&` | `0x3003` | `0x6031` |
| WIFI扫描 | `wifi_scan.cgi?` | `0x3004` | `0x602A` |
| 获取看守位位置 | `get_sensor_preset.cgi?` | `0x4009` | `0x60B9` |
| 设置看守位位置 | `set_sensor_preset.cgi?` | `0x400A` | `0x60B7` |
| 红外灯PWM调光 | `irled_pwm_ctrl.cgi?common=&[value=&]` | `0x4021` | `0x7209` |
| 透传指令 | `trans_cmd_string.cgi?cmd=&command=&[... ]` | `0x5000` | `0x60D1` |
| 电机位置获取 | `moto_step_correct.cgi?status=&` | `0x5001` | `0x6104` |
| 时间轴录像下载 | `record_fastplay.cgi?status=&` | `0x5002` | `0x6105` |
| 产测模式 | `into_factory_mode.cgi?cmd=&value=&` | `0x5003` | `0x60C1` |
| PCBA测试 | `pcba_test.cgi?` | `0x5004` | `0x60C3` |
| 获取订单参数表 | `get_hw_param.cgi?` | `0x6001` | `0x8001` |
| 视频通话 | `callstatus.cgi?` | `0x6002` | `0x7200` |
| 仪表盘 | `get_dashboard.cgi?` | `0x6005` | `0x8002` |
| 功能 | CGI 指令 | index | rmsp_cmd |
|---|---|---|---|
| 获取GPS信息 | `get_gps_info.cgi?` | `0x1020` | `0x60D5` |
| 获取GSENSOR测试结果 | `get_gsensor_gravity_speed.cgi?` | `0x1021` | `0x60D6` |
| 获取ACC状态 | `get_acc_statua.cgi?` | `0x1023` | `0x60D8` |
| 获取开机键测试状态 | `get_check_powerkey.cgi?` | `0x1024` | `0x60D9` |
| 设置g-sensor等级 | `set_gsensor_level.cgi?move_status=&[gsensor_enable=&gsensor_level=&smart_mode=&time_lapse_enable= & ]` | `0x2006` | `0x711B` |
| 获取g-sensor等级 | `get_gsensor_level.cgi?` | `0x2008` | `0x711D` |
| 获取电子围栏配置 | `get_elect_fence_conf.cgi?index=&` | `0x2009` | `0x7123` |
| 设置电子围栏配置 | `set_elect_fence_conf.cgi?index=&` | `0x200A` | `0x7124` |
| 获取录像列表 | `get_record_file_new.cgi?channelId=&startTime=&endTime=&recordType= &` | `0x200B` | `0x711C` |
| 回放音视频流获取 | `livestream_new.cgi?channelId=&p2pChannel=&streamId=&startTime=&endTime=&recordType = &` | `0x200C` | `0x6038` |
| 获取报警图片列表 | `get_photo_file.cgi?` | `0x200D` | `0x7121` |
| 获取提示音开关 | `get_tip_sound_conf.cgi?` | `0x200F` | `0x711E` |
| 设置提示音开关 | `get_tip_sound_conf.cgi?tipSoundEnable=&` | `0x2010` | `0x711F` |
| 获取指示灯显示开关 | `get_led_conf.cgi` | `0x2011` | `0x7125` |
| 设置指示音开关 | `set_led_conf.cgi?ledEnable=&` | `0x2012` | `0x7126` |
| 获取缩略图(录像文件首个I帧) | `download_photo_i_frame_file.cgi?channelId=&photoTime= &` | `0x2013` | `0x7129` |
| 获取温度阈值 | `get_temperature_threshold.cgi` | `0x2015` | `0x7127` |
| 获取温度 | `get_temperature.cgi?` | `0x2016` | `0x7128` |
| 获取紧急事件列表 | `get_emergency_file.cgi?channelId=&startTime=&stopTime=&recordType= &` | `0x2017` | `0x7130` |
| 获取屏幕配置 | `get_screen_config.cgi?` | `0x2018` | `0x7131` |
| 设置屏幕配置 | `set_screen_config.cgi?[screen_power=&screen_timeou=&screensaver_enable=&osd_enable=&screen_direction= &i]` | `0x2019` | `0x7132` |