Tange Cloud for Device
Rev.333 |
命令标注约定: 更多...
录像和回放 | |
#define | TCI_CMD_SETRECORD_REQ 0x0310 |
设置SD卡录像模式命令 Tcis_SetRecordReq. 能力 RecordConf | |
#define | TCI_CMD_SETRECORD_RESP 0x0311 |
设置SD卡录像模式应答命令 Tcis_SetRecordResp | |
#define | TCI_CMD_GETRECORD_REQ 0x0312 |
获取SD卡录像模式. 能力 RecordConf | |
#define | TCI_CMD_GETRECORD_RESP 0x0313 |
获取SD卡录像模式应答 Tcis_GetRecordResp | |
#define | TCI_CMD_SET_TIMELAPSE_RECORD 0x0314 |
设置延时摄像录像模式. | |
#define | TCI_CMD_GET_TIMELAPSE_RECORD 0x0316 |
获取延时摄像设置. | |
#define | TCI_CMD_LISTEVENT_REQ 0x8000 |
查询SD卡录像 Req: Tcis_ExListEventReq | |
#define | TCI_CMD_LISTEVENT_RESP 0x8001 |
SD卡录像查询应答命令 see Tcis_ExListEventResp | |
#define | TCI_CMD_LIST_RECORDDAYS 0x800A |
返回SD卡上有录像的日期. req: none; resp: Tcis_DaysList | |
#define | TCI_CMD_RECORD_PLAYCONTROL 0x031A |
回放控制命令 Tcis_PlayRecord | |
#define | TCI_CMD_RECORD_PLAYCONTROL_RESP 0x031B |
回放控制应答命令 Tcis_PlayRecordResp | |
typedef Tcis_SetRecord | Tcis_SetRecordReq |
typedef Tcis_SetRecord | Tcis_GetRecordResp |
time_t | TcuTimeDay2T (const STimeDay *pTd) |
void | TcuT2TimeDay (time_t t, STimeDay *pTd) |
移动侦测 | |
设置开关/区域/灵敏度... | |
#define | TCI_CMD_SETMOTIONDETECT_REQ 0x0324 |
设置移动侦测. see Tcis_SetMotionDetect. MD-Capabilities | |
#define | TCI_CMD_SETMOTIONDETECT_RESP 0x0325 |
设置移动侦测应答 Tcis_SetMotionDetectResp | |
#define | TCI_CMD_GETMOTIONDETECT_REQ 0x0326 |
获取移动侦测配置请求 Tcis_GetMotionDetectReq | |
#define | TCI_CMD_GETMOTIONDETECT_RESP 0x0327 |
获取移动侦测配置应答 Tcis_SetMotionDetect | |
#define | TCI_CMD_SET_MDAREA_STATE 0x033A |
设置侦测区域状态(显示|隐藏)Req: Tcis_MdAreaState, Resp: generic | |
#define | TCI_CMD_GET_MDAREA_STATE 0x033C |
获取侦测区域状态 Req: Tcis_GetMdAreaStateReq, Resp: Tcis_MdAreaState | |
布防 | |
#define | TCI_CMD_SET_DEFENCE_REQ 0x0328 |
布防设置 参数:Tcis_SetDefenceReq | |
#define | TCI_CMD_GET_DEFENCE_REQ 0x032A |
获取布防设置 请求: Tcis_GetDefenceReq, 应答:Tcis_SetDefence | |
#define | TCI_CMD_SET_EVENT_STATE 0x031C |
禁用或使能报警事件 请求: Tcis_SetEventStateReq, 应答: generic | |
#define | TCI_CMD_GET_EVENT_STATE 0x031E |
获取事件使能状态 请求: Tcis_GetEventStateReq, 应答: Tcis_GetEventStateResp | |
WiFi 相关操作 | |
#define | TCI_CMD_LISTWIFIAP_REQ 0x0340 |
WiFi列表请求 see Tcis_ListWifiApReq | |
#define | TCI_CMD_LISTWIFIAP_RESP 0x0341 |
WiFi 列表应答 see Tcis_ListWifiApResp | |
#define | TCI_CMD_SETWIFI_REQ 0x0342 |
设置WiFi. password 32bytes see Tcis_SetWifiReq | |
#define | TCI_CMD_SETWIFI_RESP 0x0343 |
设置WiFi应答. password 32bytes see Tcis_SetWifiResp | |
#define | TCI_CMD_GETWIFI_REQ 0x0344 |
获取WiFi配置 see Tcis_GetWifiReq. | |
#define | TCI_CMD_GETWIFI_RESP 0x0345 |
WiFi配置 see Tcis_GetWifiResp | |
#define | TCI_CMD_SETWIFI_REQ_2 0x0346 |
password 64字节. 未使用 see Tcis_SetWifiReq2 | |
#define | TCI_CMD_GETWIFI_RESP_2 0x0347 |
Not used | |
50/60Hz选择 | |
#define | TCI_CMD_SET_ENVIRONMENT_REQ 0x0360 |
设置电源频率 see Tcis_SetEnvironmentReq | |
#define | TCI_CMD_SET_ENVIRONMENT_RESP 0x0361 |
设置电源频率应答命令 see Tcis_SetEnvironmentReq | |
#define | TCI_CMD_GET_ENVIRONMENT_REQ 0x0362 |
获取电源频率 see Tcis_GetEnvironmentReq | |
#define | TCI_CMD_GET_ENVIRONMENT_RESP 0x0363 |
获取电源频率应答 see Tcis_GetEnvironmentResp | |
图像翻转 | |
#define | TCI_CMD_SET_VIDEOMODE_REQ 0x0370 |
Set Video Flip Mode see Tcis_SetVideoModeReq | |
#define | TCI_CMD_SET_VIDEOMODE_RESP 0x0371 |
设置图像翻转模式应答 see Tcis_SetVideoModeResp | |
#define | TCI_CMD_GET_VIDEOMODE_REQ 0x0372 |
Get Video Flip Mode see Tcis_GetVideoModeReq | |
#define | TCI_CMD_GET_VIDEOMODE_RESP 0x0373 |
获取图像翻转模式应答 see Tcis_GetVideoModeResp | |
OSD | |
#define | TCI_CMD_SET_OSD_REQ 0x0374 |
设置OSD。 参数: Tcis_SetOsdReq | |
#define | TCI_CMD_SET_OSD_RESP 0x0375 |
设置OSD 应答: generic | |
#define | TCI_CMD_GET_OSD_REQ 0x0376 |
获取OSD 设置. 参数: Tcis_GetOsdReq | |
#define | TCI_CMD_GET_OSD_RESP 0x0377 |
获取OSD 应答. 参数: Tcis_GetOsdResp | |
enum | OSDTYPE |
OSD内容 更多... | |
enum | OSDPOSITION |
OSD 位置 更多... | |
其它 | |
#define | TCI_CMD_SESSION_CLOSE 0x0386 |
关闭连接 | |
#define | TCI_CMD_GET_RUNTIME_STATE 0x0388 |
获取设备端运行状态. 参数: Tcis_GetRuntimeStateReq . 应答: Tcis_RuntimeStateResp | |
SD卡状态和格式化 | |
#define | TCI_CMD_FORMATEXTSTORAGE_REQ 0x0380 |
Format external storage see Tcis_FormatExtStorageReq | |
#define | TCI_CMD_FORMATEXTSTORAGE_RESP 0x0381 |
SD卡格式化应答 see Tcis_FormatExtStorageResp | |
#define | TCI_CMD_GET_EXTERNAL_STORAGE_REQ 0x8030 |
SD卡状态查询命令 | |
#define | TCI_CMD_GET_EXTERNAL_STORAGE_RESP 0x8031 |
SD卡状态应答命令 see Tcis_SDCapResp | |
带屏IPC | |
#define | TCI_CMD_SET_SCREEN_DISPLAY 0x0382 |
设置屏幕显示。 req: Tcis_ScreenDisplay; resp: generic | |
#define | TCI_CMD_GET_SCREEN_DISPLAY 0x0384 |
获取屏幕显示设置。 req: none; resp: Tcis_ScreenDisplay | |
设备开关 | |
#define | TCI_CMD_SET_DEVICE_STATUS 0x0414 |
设置设备开关 see Tcis_SetDeviceStatusReq | |
#define | TCI_CMD_GET_DEVICE_STATUS 0x0416 |
获取设备开关状态 see Tcis_GetDeviceStatusResp | |
报警音(Buzzer功能的扩展) | |
#define | TCI_CMD_SET_ALARM_BELL 0x0418 |
警铃开关 see Tcis_SetAlarmBell | |
#define | TCI_CMD_GET_ALARM_BELL 0x041A |
取警铃开关状态 see Tcis_SetAlarmBell | |
#define | TCI_CMD_GET_ALARMTONE_CAP 0x041C |
获取报警音频文件格式信息 see Tcis_GetAlarmToneCap_Resp | |
#define | TCI_CMD_SET_ALARMTONE 0x041E |
设置报警音频 see Tcis_SetAlarmTone_Req | |
#define | TCI_CMD_PLAY_ALARMTONE 0x0420 |
播放报警音 | |
状态灯和语音提示 | |
#define | TCI_CMD_SET_LED_STATUS 0x0422 |
设置状态灯的模式 req: Tcis_SetLedStatusReq; resp: generic. 能力: ExtInstructions包含status-led | |
#define | TCI_CMD_GET_LED_STATUS 0x0424 |
获取状态灯的模式 req: none; resp: Tcis_GetLedStatusResp | |
#define | TCI_CMD_SET_VOICE_PROMPT_STATUS 0x0358 |
设置提示音开关 req: Tcis_VoicePromptStatus; resp: generic. 能力: ExtInstructions包含voice-prompt | |
#define | TCI_CMD_GET_VOICE_PROMPT_STATUS 0x035A |
获取提示音开关 req: none; resp: Tcis_VoicePromptStatus | |
电池电量和信号强度 | |
#define | TCI_CMD_GET_BATTERY_STATUS 0x0426 |
获取电池电量 see Tcis_GetBatteryStatusResp | |
#define | TCI_CMD_GET_WIFI_SIGNALLEVEL 0x0428 |
获取WiFi/4G信号强度 see Tcis_GetWifiLevelResp | |
低功耗相关 | |
#define | TCI_CMD_SET_MAX_AWAKE_TIME 0x042A |
#define | TCI_CMD_GET_MAX_AWAKE_TIME 0x042C |
#define | TCI_CMD_SET_ENABLE_DORMANCY 0x044A |
设置允许或禁止休眠. 参数 Tcis_DormancyState | |
#define | TCI_CMD_GET_ENABLE_DORMANCY 0x044C |
获取当前休眠开关, 返回 Tcis_DormancyState | |
#define | TCI_CMD_SET_AWAKE_TIME 0x0470 |
设置主动唤醒时间。参数 Tcis_SetAwakeTimeReq, 应答: general | |
#define | TCI_CMD_GET_AWAKE_TIME 0x0472 |
获取设备的主动唤醒时间设置。参数 Tcis_GetAwakeTimeReq, 应答 Tcis_GetAwakeTimeResp | |
#define | TCI_CMD_SET_POWER_STRATEGY 0x048C |
设置电池电源策略, 本指令代替 TCI_CMD_SET_MAX_AWAKE_TIME. | |
#define | TCI_CMD_GET_POWER_STRATEGY 0x048E |
获取电池电源策略, 本指令代替 TCI_CMD_GET_MAX_AWAKE_TIME. | |
enum | POWERSTRATEGY |
电源策略. 更多... | |
typedef Tcis_GetMaxAwakeTimeResp | Tcis_SetMaxAwakeTimeReq |
设备关闭计划 | |
#define | TCI_CMD_SET_CLOSE_PLAN 0x042E |
设置设备关闭计划 see Tcis_SetClosePlanReq | |
#define | TCI_CMD_GET_CLOSE_PLAN 0x0430 |
获取设备关闭计划 see Tcis_GetClosePlanResp | |
typedef TIMEPLANS | Tcis_SetClosePlanReq |
设备关闭计划. | |
typedef TIMEPLANS | Tcis_GetClosePlanResp |
云台操作 | |
#define | TCI_CMD_SET_PTZ_POS 0x0408 |
设置云台位置 req: Tcis_SetPtzPosReq; | |
#define | TCI_CMD_GET_PTZ_POS 0x040A |
获取云台位置 req: Tcis_GetPtzPosReq; resp: Tcis_GetPtzPosResp | |
#define | TCI_CMD_PTZ_SHORT_COMMAND 0x1000 |
云台短按命令 see Tcis_PtzShortCmd | |
#define | TCI_CMD_PTZ_LONG_COMMAND 0x1001 |
云台长按命令 see Tcis_PtzCmd . | |
#define | TCI_CMD_LOCATE_IN_PIC 0x1002 |
图像内云台定位. req: Tcis_LocateInPic. resp: none | |
#define | TCI_CMD_GET_PSP 0x0452 |
获取设备端的预置点或预置点能力. 请求:Tcis_GetPresetPointsReq; 应答: Tcis_GetPresetPointsResp | |
#define | TCI_CMD_SET_PSP 0x0454 |
设置预置位。 请求: Tcis_SetPresetPointsReq; 应答: generic | |
#define | TCI_CMD_SET_WATCHPOS 0x0456 |
设置守望位. req: Tcis_SetWatchPosReq; resp: generic | |
#define | TCI_CMD_GET_WATCHPOS 0x0458 |
获取守望位. req: Tcis_GetWatchPosReq; resp: Tcis_GetWatchPosResp | |
#define | TCI_CMD_SET_PTZ_TRACK 0x0474 |
巡航设置. req: Tcis_SetPtzTrackReq; resp: generic | |
#define | TCI_CMD_GET_PTZ_TRACK 0x0476 |
获取巡航设置. req: Tcis_GetPtzTrackReq; resp: Tcis_GetPtzTrackResp | |
typedef Tcis_SetPtzPosReq | Tcis_GetPtzPosResp |
G-sensor | |
#define | TCI_CMD_SET_GSENSOR 0x0432 |
设置g-sensor配置. | |
#define | TCI_CMD_GET_GSENSOR 0x0434 |
获取g-sensor配置. | |
#define | TCI_CMD_SET_PARKING_DET 0x0364 |
停车监控设置. Req: Tcis_ParkingDet Resp: generic | |
#define | TCI_CMD_GET_PARKING_DET 0x0366 |
获取停车监控设置. Req: Tcis_GetParkingDetReq Resp: Tcis_ParkingDet | |
enum | GSENSORSCENE |
g-sensor检查场景. 更多... | |
音量 | |
#define | TCI_CMD_SET_VOLUME 0x0436 |
设置设备喇叭音量 see Tcis_SetVolume | |
#define | TCI_CMD_GET_VOLUME 0x0438 |
获取设备当前喇叭音量 see Tcis_SetVolume | |
#define | TCI_CMD_SET_MIC_LEVEL 0x043A |
设置拾音器灵敏度 param: Tcis_SetMicLevel | |
#define | TCI_CMD_GET_MIC_LEVEL 0x043C |
获取当前设置的拾音器灵敏度 return: Tcis_SetMicLevel | |
typedef Tcis_SetVolume | Tcis_SetVolumeReq |
typedef Tcis_SetVolume | Tcis_GetVolumeResp |
typedef Tcis_SetMicLevel | Tcis_SetMicLevelReq |
typedef Tcis_SetMicLevel | Tcis_GetMicLevelResp |
画中画 | |
#define | TCI_CMD_SET_PRIMARY_VIEW 0x043E |
设置画中画主面面通道 Tcis_SetPrimaryViewReq | |
#define | TCI_CMD_GET_PRIMARY_VIEW 0x0440 |
获取画中画主面面通道 Tcis_GetPrimaryViewReq, Tcis_GetPrimaryViewResp | |
typedef Tcis_PrimaryView | Tcis_SetPrimaryViewReq |
typedef Tcis_PrimaryView | Tcis_GetPrimaryViewResp |
typedef Tcis_PrimaryView | Tcis_GetPrimaryViewReq |
报警灯 | |
#define | TCI_CMD_SET_ALARMLIGHT 0x0442 |
设置报警灯状态. 请求Tcis_AlarmLightState | |
#define | TCI_CMD_GET_ALARMLIGHT 0x0444 |
获取报警灯状态. 应答Tcis_AlarmLightState | |
typedef Tcis_AlarmLightState | Tcis_GetAlarmLightStateResp |
typedef Tcis_GetAlarmLightStateResp | Tcis_SetAlarmLightStateReq |
PIR | |
#define | TCI_CMD_SET_PIR 0x0446 |
设置Pir灵敏度 Tcis_SetPirSensReq | |
#define | TCI_CMD_GET_PIR 0x0448 |
获取Pir灵敏度 Tcis_GetPirSensResp | |
typedef Tcis_PirSens | Tcis_SetPirSensReq |
typedef Tcis_PirSens | Tcis_GetPirSensResp |
门铃/门锁 | |
#define | TCI_CMD_ANSWERTOCALL 0x0450 |
呼叫应答 Tcis_AnswerToCall; resp: 见请求。应用层不用处理 | |
#define | TCI_CMD_UNLOCK 0x045A |
开门 Req: Tcis_UnlockReq; resp: Tcis_UnlockResp | |
#define | TCI_CMD_GET_LOCK_STATE 0x045C |
获取门(锁状态) req: empty. resp: Tcis_LockState; | |
网络IP配置 | |
#define | TCI_CMD_SET_IPCONFIG 0x0460 |
设置当前活动网络IP配置。 请求:IPCONFIG. 应答:空 | |
#define | TCI_CMD_GET_IPCONFIG 0x0462 |
获取当前活动网络IP配置。 请求:空。 应答:IPCONFIG | |
台灯 | |
#define | TCI_CMD_SET_LIGHT 0x0352 |
设置灯光 req: Tcis_LightState, resp: generic | |
#define | TCI_CMD_GET_LIGHT 0x0354 |
获取灯状态 req: Tcis_GetLightReq; resp: Tcis_LightState | |
#define | TCI_CMD_PLAY_AUDIO 0x0356 |
播放语音 req: Tcis_SetAlarmTone_Req, resp: generic | |
#define | TCI_CMD_SET_HINTTONE 0x0480 |
设置提示音 req: Tcis_SetHintToneReq; resp: generic. ExtInstructions | |
#define | TCI_CMD_GET_HINTTONE 0x0482 |
获取提示音 req: Tcis_GetHintToneReq; resp: Tcis_GetHintToneResp | |
行车记录仪 | |
#define | TCI_CMD_SET_PARKING_MONITOR 0x0484 |
设置停车监控总开关. req: Tcis_ParkingMonitorSwitch; resp: generic | |
#define | TCI_CMD_GET_PARKING_MONITOR 0x0486 |
获取停车监控总开关. req: none; resp: Tcis_ParkingMonitorSwitch | |
定时任务 | |
本处定义通用的定时任务配置机制。 | |
#define | TCI_CMD_SET_TIMER_TASK 0x0488 |
设置定时任务. req: Tcis_TimerTask; resp: generic | |
#define | TCI_CMD_GET_TIMER_TASK 0x048A |
获取定时任务. req: Tcis_GetTimerTask; resp: Tcis_TimerTask | |
enum | TgAction |
定时任务标准动作定义 更多... | |
enum | ETGTIMERTARGET |
定时任务对象 更多... | |
设备重启 | |
#define | TCI_CMD_DEV_REBOOT_REQ 0x8010 |
重启请求命令 see Tcis_DevRebootReq | |
#define | TCI_CMD_DEV_REBOOT_RESP 0x8011 |
重启应答 see Tcis_DevRebootResp | |
白光灯 | |
#define | TCI_CMD_GET_WHITELIGHT_REQ 0x8012 |
获取设备双光状态请求 see Tcis_GetWhiteLightReq | |
#define | TCI_CMD_GET_WHITELIGHT_RESP 0x8013 |
双光状态应答 see Tcis_GetWhiteLightResp | |
#define | TCI_CMD_SET_WHITELIGHT_REQ 0x8014 |
设置双光状态请求 see Tcis_SetWhiteLightReq | |
#define | TCI_CMD_SET_WHITELIGHT_RESP 0x8015 |
设置双光状态应答 see Tcis_SetWhiteLightResp | |
#define | TCI_CMD_GET_DOUBLELIGHT_REQ TCI_CMD_GET_WHITELIGHT_REQ |
重命名 | |
#define | TCI_CMD_GET_DOUBLELIGHT_RESP TCI_CMD_GET_WHITELIGHT_RESP |
重命名 | |
#define | TCI_CMD_SET_DOUBLELIGHT_REQ TCI_CMD_SET_WHITELIGHT_REQ |
重命名 | |
#define | TCI_CMD_SET_DOUBLELIGHT_RESP TCI_CMD_SET_WHITELIGHT_RESP |
重命名 | |
设备夜视 | |
#define | TCI_CMD_GET_DAYNIGHT_REQ 0x8016 |
查询夜视状态命令 see Tcis_GetDayNightReq | |
#define | TCI_CMD_GET_DAYNIGHT_RESP 0x8017 |
夜视状态应答命令 see Tcis_GetDayNightResp | |
#define | TCI_CMD_SET_DAYNIGHT_REQ 0x8018 |
设置夜视状态命令 see Tcis_SetDayNightReq | |
#define | TCI_CMD_SET_DAYNIGHT_RESP 0x8019 |
夜视状态设置应答命令 see Tcis_SetDayNightResp | |
设备移动追踪 | |
#define | TCI_CMD_GET_MOTION_TRACKER_REQ 0x8020 |
获取设备移动追踪开关状态请求 see Tcis_GetMotionTrackerReq | |
#define | TCI_CMD_GET_MOTION_TRACKER_RESP 0x8021 |
设备移动追踪开关状态应答 see Tcis_GetMotionTrackerResp | |
#define | TCI_CMD_SET_MOTION_TRACKER_REQ 0x8022 |
设置移动追踪开关状态请求 see Tcis_SetMotionTrackerReq | |
#define | TCI_CMD_SET_MOTION_TRACKER_RESP 0x8023 |
设置移动追踪开关状态应答 see Tcis_SetMotionTrackerResp | |
云录像视频清晰度 | |
#define | TCI_CMD_GET_CLOUD_VIDEO_QUALITY_REQ 0x8026 |
获取云录像清晰度请求 see Tcis_GetCloudVideoQualityReq | |
#define | TCI_CMD_GET_CLOUD_VIDEO_QUALITY_RESP 0x8027 |
获取云录像清晰度的应答 see Tcis_GetCloudVideoQualityResp | |
设置/查询麦克风开关 | |
#define | TCI_CMD_GET_MICROPHONE_REQ 0x8032 |
查询麦克风开关状态请求 see Tcis_GetMicroPhoneReq – sdk sdk内部处理此命令 | |
#define | TCI_CMD_GET_MICROPHONE_RESP 0x8033 |
设备麦克风开关状态的应答 see Tcis_GetMicroPhoneResp | |
#define | TCI_CMD_SET_MICROPHONE_REQ 0x8034 |
设置设备麦克风开关请求 see Tcis_SetMicroPhoneReq | |
#define | TCI_CMD_SET_MICROPHONE_RESP 0x8035 |
设置设备麦克风开关的应答 | |
设置/查询蜂鸣器开关 | |
#define | TCI_CMD_GET_BUZZER_REQ 0x8036 |
查询蜂鸣器状态请求 see Tcis_GetBuzzerReq | |
#define | TCI_CMD_GET_BUZZER_RESP 0x8037 |
查询蜂鸣器状态应答 see Tcis_GetBuzzerResp | |
#define | TCI_CMD_SET_BUZZER_REQ 0x8038 |
设置蜂鸣器状态请求 see Tcis_SetBuzzerReq | |
#define | TCI_CMD_SET_BUZZER_RESP 0x8039 |
设置蜂鸣器状态应答 see Tcis_SetBuzzerResp | |
温湿度控制 | |
#define | TCI_CMD_SET_TEMPERATURE_THRESHOLD 0x0464 |
设置温度报警阈值 req: Tcis_SetTemperatureThresholdReq; resp: generic | |
#define | TCI_CMD_GET_TEMPERATURE_SETTING 0x0466 |
获取温度设置. req: Tcis_GetTemperatureSettingReq; resp: Tcis_GetTemperatureSettingResp | |
#define | TCI_CMD_SET_HUMIDITY_THRESHOLD 0x0468 |
设置湿度报警阈值 req: Tcis_SetHumidityThresholdReq; resp: generic | |
#define | TCI_CMD_GET_HUMIDITY_SETTING 0x046A |
获取湿度设置 req: Tcis_GetHumiditySettingReq; resp: Tcis_GetHumiditySettingResp | |
命令标注约定:
Req: none
表示命令请求没有数据Resp: none
表示命令没有应答Resp: generic
命令响应为状态码 #define TCI_CMD_SETRECORD_REQ 0x0310 |
设置SD卡录像模式命令 Tcis_SetRecordReq.
能力 RecordConf
在文件 TgCloudCmd.h 第 22 行定义.
#define TCI_CMD_SETRECORD_RESP 0x0311 |
设置SD卡录像模式应答命令 Tcis_SetRecordResp
在文件 TgCloudCmd.h 第 23 行定义.
#define TCI_CMD_GETRECORD_REQ 0x0312 |
获取SD卡录像模式. 能力 RecordConf
在文件 TgCloudCmd.h 第 24 行定义.
#define TCI_CMD_GETRECORD_RESP 0x0313 |
获取SD卡录像模式应答 Tcis_GetRecordResp
在文件 TgCloudCmd.h 第 25 行定义.
#define TCI_CMD_SET_TIMELAPSE_RECORD 0x0314 |
设置延时摄像录像模式.
Req: Tcis_SetTimelapseRecordModeReq
Resp: generic.
Require: 能力 RecordConf 包含 time-lapse
在文件 TgCloudCmd.h 第 27 行定义.
#define TCI_CMD_GET_TIMELAPSE_RECORD 0x0316 |
获取延时摄像设置.
Req: Tcis_GetTimelapseRecordModeReq;
Resp: Tcis_GetTimelapseRecordModeResp.
Require: 能力 RecordConf 包含 time-lapse
在文件 TgCloudCmd.h 第 31 行定义.
#define TCI_CMD_LISTEVENT_REQ 0x8000 |
查询SD卡录像 Req: Tcis_ExListEventReq
在文件 TgCloudCmd.h 第 37 行定义.
#define TCI_CMD_LISTEVENT_RESP 0x8001 |
SD卡录像查询应答命令 see Tcis_ExListEventResp
在文件 TgCloudCmd.h 第 38 行定义.
#define TCI_CMD_LIST_RECORDDAYS 0x800A |
返回SD卡上有录像的日期. req: none; resp: Tcis_DaysList
在文件 TgCloudCmd.h 第 40 行定义.
#define TCI_CMD_RECORD_PLAYCONTROL 0x031A |
回放控制命令 Tcis_PlayRecord
在文件 TgCloudCmd.h 第 42 行定义.
#define TCI_CMD_RECORD_PLAYCONTROL_RESP 0x031B |
回放控制应答命令 Tcis_PlayRecordResp
在文件 TgCloudCmd.h 第 43 行定义.
#define TCI_CMD_SETMOTIONDETECT_REQ 0x0324 |
设置移动侦测. see Tcis_SetMotionDetect.
MD-Capabilities
在文件 TgCloudCmd.h 第 49 行定义.
#define TCI_CMD_SETMOTIONDETECT_RESP 0x0325 |
设置移动侦测应答 Tcis_SetMotionDetectResp
在文件 TgCloudCmd.h 第 50 行定义.
#define TCI_CMD_GETMOTIONDETECT_REQ 0x0326 |
获取移动侦测配置请求 Tcis_GetMotionDetectReq
在文件 TgCloudCmd.h 第 51 行定义.
#define TCI_CMD_GETMOTIONDETECT_RESP 0x0327 |
获取移动侦测配置应答 Tcis_SetMotionDetect
在文件 TgCloudCmd.h 第 52 行定义.
#define TCI_CMD_SET_MDAREA_STATE 0x033A |
设置侦测区域状态(显示|隐藏)Req: Tcis_MdAreaState, Resp: generic
在文件 TgCloudCmd.h 第 53 行定义.
#define TCI_CMD_GET_MDAREA_STATE 0x033C |
获取侦测区域状态 Req: Tcis_GetMdAreaStateReq, Resp: Tcis_MdAreaState
在文件 TgCloudCmd.h 第 54 行定义.
#define TCI_CMD_SET_DEFENCE_REQ 0x0328 |
布防设置 参数:Tcis_SetDefenceReq
在文件 TgCloudCmd.h 第 59 行定义.
#define TCI_CMD_GET_DEFENCE_REQ 0x032A |
获取布防设置 请求: Tcis_GetDefenceReq, 应答:Tcis_SetDefence
在文件 TgCloudCmd.h 第 60 行定义.
#define TCI_CMD_SET_EVENT_STATE 0x031C |
禁用或使能报警事件 请求: Tcis_SetEventStateReq, 应答: generic
在文件 TgCloudCmd.h 第 61 行定义.
#define TCI_CMD_GET_EVENT_STATE 0x031E |
获取事件使能状态 请求: Tcis_GetEventStateReq, 应答: Tcis_GetEventStateResp
在文件 TgCloudCmd.h 第 62 行定义.
#define TCI_CMD_LISTWIFIAP_REQ 0x0340 |
WiFi列表请求 see Tcis_ListWifiApReq
在文件 TgCloudCmd.h 第 67 行定义.
#define TCI_CMD_LISTWIFIAP_RESP 0x0341 |
WiFi 列表应答 see Tcis_ListWifiApResp
在文件 TgCloudCmd.h 第 68 行定义.
#define TCI_CMD_SETWIFI_REQ 0x0342 |
设置WiFi. password 32bytes see Tcis_SetWifiReq
在文件 TgCloudCmd.h 第 69 行定义.
#define TCI_CMD_SETWIFI_RESP 0x0343 |
设置WiFi应答. password 32bytes see Tcis_SetWifiResp
在文件 TgCloudCmd.h 第 70 行定义.
#define TCI_CMD_GETWIFI_REQ 0x0344 |
获取WiFi配置 see Tcis_GetWifiReq.
App 通过 0x8006 命令(token为空) 修改wifi,应用层收到的是 set_wifi() 回调,
所以没有给应用的设置命令
在文件 TgCloudCmd.h 第 75 行定义.
#define TCI_CMD_GETWIFI_RESP 0x0345 |
WiFi配置 see Tcis_GetWifiResp
在文件 TgCloudCmd.h 第 76 行定义.
#define TCI_CMD_SETWIFI_REQ_2 0x0346 |
password 64字节. 未使用 see Tcis_SetWifiReq2
在文件 TgCloudCmd.h 第 77 行定义.
#define TCI_CMD_GETWIFI_RESP_2 0x0347 |
Not used
在文件 TgCloudCmd.h 第 78 行定义.
#define TCI_CMD_SET_ENVIRONMENT_REQ 0x0360 |
设置电源频率 see Tcis_SetEnvironmentReq
在文件 TgCloudCmd.h 第 83 行定义.
#define TCI_CMD_SET_ENVIRONMENT_RESP 0x0361 |
设置电源频率应答命令 see Tcis_SetEnvironmentReq
在文件 TgCloudCmd.h 第 84 行定义.
#define TCI_CMD_GET_ENVIRONMENT_REQ 0x0362 |
获取电源频率 see Tcis_GetEnvironmentReq
在文件 TgCloudCmd.h 第 85 行定义.
#define TCI_CMD_GET_ENVIRONMENT_RESP 0x0363 |
获取电源频率应答 see Tcis_GetEnvironmentResp
在文件 TgCloudCmd.h 第 86 行定义.
#define TCI_CMD_SET_VIDEOMODE_REQ 0x0370 |
Set Video Flip Mode see Tcis_SetVideoModeReq
在文件 TgCloudCmd.h 第 91 行定义.
#define TCI_CMD_SET_VIDEOMODE_RESP 0x0371 |
设置图像翻转模式应答 see Tcis_SetVideoModeResp
在文件 TgCloudCmd.h 第 92 行定义.
#define TCI_CMD_GET_VIDEOMODE_REQ 0x0372 |
Get Video Flip Mode see Tcis_GetVideoModeReq
在文件 TgCloudCmd.h 第 93 行定义.
#define TCI_CMD_GET_VIDEOMODE_RESP 0x0373 |
获取图像翻转模式应答 see Tcis_GetVideoModeResp
在文件 TgCloudCmd.h 第 94 行定义.
#define TCI_CMD_SET_OSD_REQ 0x0374 |
设置OSD。 参数: Tcis_SetOsdReq
在文件 TgCloudCmd.h 第 99 行定义.
#define TCI_CMD_SET_OSD_RESP 0x0375 |
设置OSD 应答: generic
在文件 TgCloudCmd.h 第 100 行定义.
#define TCI_CMD_GET_OSD_REQ 0x0376 |
获取OSD 设置. 参数: Tcis_GetOsdReq
在文件 TgCloudCmd.h 第 101 行定义.
#define TCI_CMD_GET_OSD_RESP 0x0377 |
获取OSD 应答. 参数: Tcis_GetOsdResp
在文件 TgCloudCmd.h 第 102 行定义.
#define TCI_CMD_SESSION_CLOSE 0x0386 |
关闭连接
在文件 TgCloudCmd.h 第 107 行定义.
#define TCI_CMD_GET_RUNTIME_STATE 0x0388 |
获取设备端运行状态. 参数: Tcis_GetRuntimeStateReq . 应答: Tcis_RuntimeStateResp
在文件 TgCloudCmd.h 第 108 行定义.
#define TCI_CMD_FORMATEXTSTORAGE_REQ 0x0380 |
Format external storage see Tcis_FormatExtStorageReq
在文件 TgCloudCmd.h 第 113 行定义.
#define TCI_CMD_FORMATEXTSTORAGE_RESP 0x0381 |
SD卡格式化应答 see Tcis_FormatExtStorageResp
在文件 TgCloudCmd.h 第 114 行定义.
#define TCI_CMD_GET_EXTERNAL_STORAGE_REQ 0x8030 |
SD卡状态查询命令
在文件 TgCloudCmd.h 第 115 行定义.
#define TCI_CMD_GET_EXTERNAL_STORAGE_RESP 0x8031 |
SD卡状态应答命令 see Tcis_SDCapResp
在文件 TgCloudCmd.h 第 116 行定义.
#define TCI_CMD_SET_SCREEN_DISPLAY 0x0382 |
设置屏幕显示。 req: Tcis_ScreenDisplay; resp: generic
在文件 TgCloudCmd.h 第 121 行定义.
#define TCI_CMD_GET_SCREEN_DISPLAY 0x0384 |
获取屏幕显示设置。 req: none; resp: Tcis_ScreenDisplay
在文件 TgCloudCmd.h 第 122 行定义.
#define TCI_CMD_SET_AI 0x032C |
设置AI功能开关的通用命令。可代替 TCI_CMD_SET_ENABLE_BT. 参数 Tcis_AiStatus
在文件 TgCloudCmd.h 第 127 行定义.
#define TCI_CMD_GET_AI 0x032E |
获取AI功能开关状态的通用命令. 可代替 TCI_CMD_GET_ENABLE_BT. 返回 Tcis_AiStatus
在文件 TgCloudCmd.h 第 128 行定义.
#define TCI_CMD_SET_SHOW_BOX 0x0348 |
#define TCI_CMD_GET_SHOW_BOX 0x034A |
获取人形/人脸边框设置状态. req: Tcis_GetShowBoxReq; resp: Tcis_GetShowBoxResp.
在文件 TgCloudCmd.h 第 131 行定义.
#define TCI_CMD_SET_ENABLE_BT 0x0410 |
设置人形跟踪开关 see Tcis_SetEnableBtReq
在文件 TgCloudCmd.h 第 133 行定义.
#define TCI_CMD_GET_ENABLE_BT 0x0412 |
获取人形跟踪开关状态 see Tcis_GetEnableBtResp
在文件 TgCloudCmd.h 第 134 行定义.
#define TCI_CMD_SET_ENABLE_CLOSEUP 0x033E |
#define TCI_CMD_GET_ENABLE_CLOSEUP 0x034C |
#define TCI_CMD_SET_SITPOSE_SENS 0x0478 |
设置坐姿检测灵敏度 req: Tcis_SitPoseSens; resp: generic
在文件 TgCloudCmd.h 第 139 行定义.
#define TCI_CMD_GET_SITPOSE_SENS 0x047A |
获取从姿检测灵敏度 req: none; resp Tcis_SitPoseSens
在文件 TgCloudCmd.h 第 140 行定义.
#define TCI_CMD_SET_DEVICE_STATUS 0x0414 |
设置设备开关 see Tcis_SetDeviceStatusReq
在文件 TgCloudCmd.h 第 145 行定义.
#define TCI_CMD_GET_DEVICE_STATUS 0x0416 |
获取设备开关状态 see Tcis_GetDeviceStatusResp
在文件 TgCloudCmd.h 第 146 行定义.
#define TCI_CMD_SET_ALARM_BELL 0x0418 |
警铃开关 see Tcis_SetAlarmBell
在文件 TgCloudCmd.h 第 151 行定义.
#define TCI_CMD_GET_ALARM_BELL 0x041A |
取警铃开关状态 see Tcis_SetAlarmBell
在文件 TgCloudCmd.h 第 152 行定义.
#define TCI_CMD_GET_ALARMTONE_CAP 0x041C |
获取报警音频文件格式信息 see Tcis_GetAlarmToneCap_Resp
在文件 TgCloudCmd.h 第 154 行定义.
#define TCI_CMD_SET_ALARMTONE 0x041E |
设置报警音频 see Tcis_SetAlarmTone_Req
在文件 TgCloudCmd.h 第 155 行定义.
#define TCI_CMD_PLAY_ALARMTONE 0x0420 |
播放报警音
在文件 TgCloudCmd.h 第 156 行定义.
#define TCI_CMD_SET_LED_STATUS 0x0422 |
设置状态灯的模式 req: Tcis_SetLedStatusReq; resp: generic. 能力: ExtInstructions包含status-led
在文件 TgCloudCmd.h 第 161 行定义.
#define TCI_CMD_GET_LED_STATUS 0x0424 |
获取状态灯的模式 req: none; resp: Tcis_GetLedStatusResp
在文件 TgCloudCmd.h 第 162 行定义.
#define TCI_CMD_SET_VOICE_PROMPT_STATUS 0x0358 |
设置提示音开关 req: Tcis_VoicePromptStatus; resp: generic. 能力: ExtInstructions包含voice-prompt
在文件 TgCloudCmd.h 第 163 行定义.
#define TCI_CMD_GET_VOICE_PROMPT_STATUS 0x035A |
获取提示音开关 req: none; resp: Tcis_VoicePromptStatus
在文件 TgCloudCmd.h 第 164 行定义.
#define TCI_CMD_GET_BATTERY_STATUS 0x0426 |
获取电池电量 see Tcis_GetBatteryStatusResp
在文件 TgCloudCmd.h 第 169 行定义.
#define TCI_CMD_GET_WIFI_SIGNALLEVEL 0x0428 |
获取WiFi/4G信号强度 see Tcis_GetWifiLevelResp
在文件 TgCloudCmd.h 第 170 行定义.
#define TCI_CMD_SET_MAX_AWAKE_TIME 0x042A |
在文件 TgCloudCmd.h 第 179 行定义.
#define TCI_CMD_GET_MAX_AWAKE_TIME 0x042C |
在文件 TgCloudCmd.h 第 184 行定义.
#define TCI_CMD_SET_ENABLE_DORMANCY 0x044A |
设置允许或禁止休眠. 参数 Tcis_DormancyState
在文件 TgCloudCmd.h 第 185 行定义.
#define TCI_CMD_GET_ENABLE_DORMANCY 0x044C |
获取当前休眠开关, 返回 Tcis_DormancyState
在文件 TgCloudCmd.h 第 186 行定义.
#define TCI_CMD_SET_AWAKE_TIME 0x0470 |
设置主动唤醒时间。参数 Tcis_SetAwakeTimeReq, 应答: general
在文件 TgCloudCmd.h 第 187 行定义.
#define TCI_CMD_GET_AWAKE_TIME 0x0472 |
获取设备的主动唤醒时间设置。参数 Tcis_GetAwakeTimeReq, 应答 Tcis_GetAwakeTimeResp
在文件 TgCloudCmd.h 第 188 行定义.
#define TCI_CMD_SET_POWER_STRATEGY 0x048C |
设置电池电源策略, 本指令代替 TCI_CMD_SET_MAX_AWAKE_TIME.
req: Tcis_PowerStrategy. resp: generic
在文件 TgCloudCmd.h 第 191 行定义.
#define TCI_CMD_GET_POWER_STRATEGY 0x048E |
获取电池电源策略, 本指令代替 TCI_CMD_GET_MAX_AWAKE_TIME.
req: none. resp: Tcis_PowerStrategy
在文件 TgCloudCmd.h 第 193 行定义.
#define TCI_CMD_SET_CLOSE_PLAN 0x042E |
设置设备关闭计划 see Tcis_SetClosePlanReq
在文件 TgCloudCmd.h 第 198 行定义.
#define TCI_CMD_GET_CLOSE_PLAN 0x0430 |
获取设备关闭计划 see Tcis_GetClosePlanResp
在文件 TgCloudCmd.h 第 199 行定义.
#define TCI_CMD_SET_PTZ_POS 0x0408 |
设置云台位置 req: Tcis_SetPtzPosReq;
在文件 TgCloudCmd.h 第 204 行定义.
#define TCI_CMD_GET_PTZ_POS 0x040A |
获取云台位置 req: Tcis_GetPtzPosReq; resp: Tcis_GetPtzPosResp
在文件 TgCloudCmd.h 第 205 行定义.
#define TCI_CMD_PTZ_SHORT_COMMAND 0x1000 |
云台短按命令 see Tcis_PtzShortCmd
在文件 TgCloudCmd.h 第 206 行定义.
#define TCI_CMD_PTZ_LONG_COMMAND 0x1001 |
云台长按命令 see Tcis_PtzCmd .
本命令除control=TCIC_MORTOR_RESET_POSITION 外都无应答. WARNING: 这个命令为奇数,要特别处理
在文件 TgCloudCmd.h 第 207 行定义.
#define TCI_CMD_LOCATE_IN_PIC 0x1002 |
图像内云台定位. req: Tcis_LocateInPic. resp: none
在文件 TgCloudCmd.h 第 210 行定义.
#define TCI_CMD_GET_PSP 0x0452 |
获取设备端的预置点或预置点能力. 请求:Tcis_GetPresetPointsReq; 应答: Tcis_GetPresetPointsResp
在文件 TgCloudCmd.h 第 213 行定义.
#define TCI_CMD_SET_PSP 0x0454 |
设置预置位。 请求: Tcis_SetPresetPointsReq; 应答: generic
在文件 TgCloudCmd.h 第 214 行定义.
#define TCI_CMD_SET_WATCHPOS 0x0456 |
设置守望位. req: Tcis_SetWatchPosReq; resp: generic
在文件 TgCloudCmd.h 第 215 行定义.
#define TCI_CMD_GET_WATCHPOS 0x0458 |
获取守望位. req: Tcis_GetWatchPosReq; resp: Tcis_GetWatchPosResp
在文件 TgCloudCmd.h 第 216 行定义.
#define TCI_CMD_SET_PTZ_TRACK 0x0474 |
巡航设置. req: Tcis_SetPtzTrackReq; resp: generic
在文件 TgCloudCmd.h 第 217 行定义.
#define TCI_CMD_GET_PTZ_TRACK 0x0476 |
获取巡航设置. req: Tcis_GetPtzTrackReq; resp: Tcis_GetPtzTrackResp
在文件 TgCloudCmd.h 第 218 行定义.
#define TCI_CMD_SET_GSENSOR 0x0432 |
#define TCI_CMD_GET_GSENSOR 0x0434 |
获取g-sensor配置.
请求: Tcis_GetGsensorReq, 应答:Tcis_GetGsensorResp Require: G-Sensor
在文件 TgCloudCmd.h 第 226 行定义.
#define TCI_CMD_SET_PARKING_DET 0x0364 |
停车监控设置.
Req: Tcis_ParkingDet
Resp: generic
在文件 TgCloudCmd.h 第 230 行定义.
#define TCI_CMD_GET_PARKING_DET 0x0366 |
获取停车监控设置.
Req: Tcis_GetParkingDetReq
Resp: Tcis_ParkingDet
在文件 TgCloudCmd.h 第 231 行定义.
#define TCI_CMD_SET_VOLUME 0x0436 |
设置设备喇叭音量 see Tcis_SetVolume
在文件 TgCloudCmd.h 第 236 行定义.
#define TCI_CMD_GET_VOLUME 0x0438 |
获取设备当前喇叭音量 see Tcis_SetVolume
在文件 TgCloudCmd.h 第 237 行定义.
#define TCI_CMD_SET_MIC_LEVEL 0x043A |
设置拾音器灵敏度 param: Tcis_SetMicLevel
在文件 TgCloudCmd.h 第 238 行定义.
#define TCI_CMD_GET_MIC_LEVEL 0x043C |
获取当前设置的拾音器灵敏度 return: Tcis_SetMicLevel
在文件 TgCloudCmd.h 第 239 行定义.
#define TCI_CMD_SET_PRIMARY_VIEW 0x043E |
设置画中画主面面通道 Tcis_SetPrimaryViewReq
在文件 TgCloudCmd.h 第 244 行定义.
#define TCI_CMD_GET_PRIMARY_VIEW 0x0440 |
获取画中画主面面通道 Tcis_GetPrimaryViewReq, Tcis_GetPrimaryViewResp
在文件 TgCloudCmd.h 第 245 行定义.
#define TCI_CMD_SET_ALARMLIGHT 0x0442 |
设置报警灯状态. 请求Tcis_AlarmLightState
在文件 TgCloudCmd.h 第 250 行定义.
#define TCI_CMD_GET_ALARMLIGHT 0x0444 |
获取报警灯状态. 应答Tcis_AlarmLightState
在文件 TgCloudCmd.h 第 251 行定义.
#define TCI_CMD_SET_PIR 0x0446 |
设置Pir灵敏度 Tcis_SetPirSensReq
在文件 TgCloudCmd.h 第 256 行定义.
#define TCI_CMD_GET_PIR 0x0448 |
获取Pir灵敏度 Tcis_GetPirSensResp
在文件 TgCloudCmd.h 第 257 行定义.
#define TCI_CMD_ANSWERTOCALL 0x0450 |
呼叫应答 Tcis_AnswerToCall; resp: 见请求。应用层不用处理
在文件 TgCloudCmd.h 第 262 行定义.
#define TCI_CMD_UNLOCK 0x045A |
开门 Req: Tcis_UnlockReq; resp: Tcis_UnlockResp
在文件 TgCloudCmd.h 第 263 行定义.
#define TCI_CMD_GET_LOCK_STATE 0x045C |
获取门(锁状态) req: empty. resp: Tcis_LockState;
在文件 TgCloudCmd.h 第 264 行定义.
#define TCI_CMD_SET_IPCONFIG 0x0460 |
设置当前活动网络IP配置。 请求:IPCONFIG. 应答:空
在文件 TgCloudCmd.h 第 269 行定义.
#define TCI_CMD_GET_IPCONFIG 0x0462 |
获取当前活动网络IP配置。 请求:空。 应答:IPCONFIG
在文件 TgCloudCmd.h 第 270 行定义.
#define TCI_CMD_SET_LIGHT 0x0352 |
设置灯光 req: Tcis_LightState, resp: generic
在文件 TgCloudCmd.h 第 275 行定义.
#define TCI_CMD_GET_LIGHT 0x0354 |
获取灯状态 req: Tcis_GetLightReq; resp: Tcis_LightState
在文件 TgCloudCmd.h 第 276 行定义.
#define TCI_CMD_PLAY_AUDIO 0x0356 |
播放语音 req: Tcis_SetAlarmTone_Req, resp: generic
在文件 TgCloudCmd.h 第 277 行定义.
#define TCI_CMD_SET_HINTTONE 0x0480 |
设置提示音 req: Tcis_SetHintToneReq; resp: generic. ExtInstructions
在文件 TgCloudCmd.h 第 278 行定义.
#define TCI_CMD_GET_HINTTONE 0x0482 |
获取提示音 req: Tcis_GetHintToneReq; resp: Tcis_GetHintToneResp
在文件 TgCloudCmd.h 第 279 行定义.
#define TCI_CMD_SET_PARKING_MONITOR 0x0484 |
设置停车监控总开关. req: Tcis_ParkingMonitorSwitch; resp: generic
在文件 TgCloudCmd.h 第 284 行定义.
#define TCI_CMD_GET_PARKING_MONITOR 0x0486 |
获取停车监控总开关. req: none; resp: Tcis_ParkingMonitorSwitch
在文件 TgCloudCmd.h 第 285 行定义.
#define TCI_CMD_SET_TIMER_TASK 0x0488 |
设置定时任务. req: Tcis_TimerTask; resp: generic
在文件 TgCloudCmd.h 第 290 行定义.
#define TCI_CMD_GET_TIMER_TASK 0x048A |
获取定时任务. req: Tcis_GetTimerTask; resp: Tcis_TimerTask
在文件 TgCloudCmd.h 第 291 行定义.
#define TCI_CMD_DEV_REBOOT_REQ 0x8010 |
重启请求命令 see Tcis_DevRebootReq
在文件 TgCloudCmdEx.h 第 15 行定义.
#define TCI_CMD_DEV_REBOOT_RESP 0x8011 |
重启应答 see Tcis_DevRebootResp
在文件 TgCloudCmdEx.h 第 16 行定义.
#define TCI_CMD_GET_WHITELIGHT_REQ 0x8012 |
获取设备双光状态请求 see Tcis_GetWhiteLightReq
在文件 TgCloudCmdEx.h 第 21 行定义.
#define TCI_CMD_GET_WHITELIGHT_RESP 0x8013 |
双光状态应答 see Tcis_GetWhiteLightResp
在文件 TgCloudCmdEx.h 第 22 行定义.
#define TCI_CMD_SET_WHITELIGHT_REQ 0x8014 |
设置双光状态请求 see Tcis_SetWhiteLightReq
在文件 TgCloudCmdEx.h 第 23 行定义.
#define TCI_CMD_SET_WHITELIGHT_RESP 0x8015 |
设置双光状态应答 see Tcis_SetWhiteLightResp
在文件 TgCloudCmdEx.h 第 24 行定义.
#define TCI_CMD_GET_DOUBLELIGHT_REQ TCI_CMD_GET_WHITELIGHT_REQ |
重命名
在文件 TgCloudCmdEx.h 第 25 行定义.
#define TCI_CMD_GET_DOUBLELIGHT_RESP TCI_CMD_GET_WHITELIGHT_RESP |
重命名
在文件 TgCloudCmdEx.h 第 26 行定义.
#define TCI_CMD_SET_DOUBLELIGHT_REQ TCI_CMD_SET_WHITELIGHT_REQ |
重命名
在文件 TgCloudCmdEx.h 第 27 行定义.
#define TCI_CMD_SET_DOUBLELIGHT_RESP TCI_CMD_SET_WHITELIGHT_RESP |
重命名
在文件 TgCloudCmdEx.h 第 28 行定义.
#define TCI_CMD_GET_DAYNIGHT_REQ 0x8016 |
查询夜视状态命令 see Tcis_GetDayNightReq
在文件 TgCloudCmdEx.h 第 33 行定义.
#define TCI_CMD_GET_DAYNIGHT_RESP 0x8017 |
夜视状态应答命令 see Tcis_GetDayNightResp
在文件 TgCloudCmdEx.h 第 34 行定义.
#define TCI_CMD_SET_DAYNIGHT_REQ 0x8018 |
设置夜视状态命令 see Tcis_SetDayNightReq
在文件 TgCloudCmdEx.h 第 35 行定义.
#define TCI_CMD_SET_DAYNIGHT_RESP 0x8019 |
夜视状态设置应答命令 see Tcis_SetDayNightResp
在文件 TgCloudCmdEx.h 第 36 行定义.
#define TCI_CMD_GET_MOTION_TRACKER_REQ 0x8020 |
获取设备移动追踪开关状态请求 see Tcis_GetMotionTrackerReq
在文件 TgCloudCmdEx.h 第 41 行定义.
#define TCI_CMD_GET_MOTION_TRACKER_RESP 0x8021 |
设备移动追踪开关状态应答 see Tcis_GetMotionTrackerResp
在文件 TgCloudCmdEx.h 第 42 行定义.
#define TCI_CMD_SET_MOTION_TRACKER_REQ 0x8022 |
设置移动追踪开关状态请求 see Tcis_SetMotionTrackerReq
在文件 TgCloudCmdEx.h 第 43 行定义.
#define TCI_CMD_SET_MOTION_TRACKER_RESP 0x8023 |
设置移动追踪开关状态应答 see Tcis_SetMotionTrackerResp
在文件 TgCloudCmdEx.h 第 44 行定义.
#define TCI_CMD_GET_CLOUD_VIDEO_QUALITY_REQ 0x8026 |
获取云录像清晰度请求 see Tcis_GetCloudVideoQualityReq
在文件 TgCloudCmdEx.h 第 49 行定义.
#define TCI_CMD_GET_CLOUD_VIDEO_QUALITY_RESP 0x8027 |
获取云录像清晰度的应答 see Tcis_GetCloudVideoQualityResp
在文件 TgCloudCmdEx.h 第 50 行定义.
#define TCI_CMD_GET_MICROPHONE_REQ 0x8032 |
查询麦克风开关状态请求 see Tcis_GetMicroPhoneReq – sdk sdk内部处理此命令
在文件 TgCloudCmdEx.h 第 55 行定义.
#define TCI_CMD_GET_MICROPHONE_RESP 0x8033 |
设备麦克风开关状态的应答 see Tcis_GetMicroPhoneResp
在文件 TgCloudCmdEx.h 第 56 行定义.
#define TCI_CMD_SET_MICROPHONE_REQ 0x8034 |
设置设备麦克风开关请求 see Tcis_SetMicroPhoneReq
在文件 TgCloudCmdEx.h 第 57 行定义.
#define TCI_CMD_SET_MICROPHONE_RESP 0x8035 |
设置设备麦克风开关的应答
在文件 TgCloudCmdEx.h 第 58 行定义.
#define TCI_CMD_GET_BUZZER_REQ 0x8036 |
查询蜂鸣器状态请求 see Tcis_GetBuzzerReq
在文件 TgCloudCmdEx.h 第 63 行定义.
#define TCI_CMD_GET_BUZZER_RESP 0x8037 |
查询蜂鸣器状态应答 see Tcis_GetBuzzerResp
在文件 TgCloudCmdEx.h 第 64 行定义.
#define TCI_CMD_SET_BUZZER_REQ 0x8038 |
设置蜂鸣器状态请求 see Tcis_SetBuzzerReq
在文件 TgCloudCmdEx.h 第 65 行定义.
#define TCI_CMD_SET_BUZZER_RESP 0x8039 |
设置蜂鸣器状态应答 see Tcis_SetBuzzerResp
在文件 TgCloudCmdEx.h 第 66 行定义.
#define TCI_CMD_SET_TEMPERATURE_THRESHOLD 0x0464 |
设置温度报警阈值 req: Tcis_SetTemperatureThresholdReq; resp: generic
在文件 TgCloudCmdEx.h 第 71 行定义.
#define TCI_CMD_GET_TEMPERATURE_SETTING 0x0466 |
获取温度设置. req: Tcis_GetTemperatureSettingReq; resp: Tcis_GetTemperatureSettingResp
在文件 TgCloudCmdEx.h 第 72 行定义.
#define TCI_CMD_SET_HUMIDITY_THRESHOLD 0x0468 |
设置湿度报警阈值 req: Tcis_SetHumidityThresholdReq; resp: generic
在文件 TgCloudCmdEx.h 第 73 行定义.
#define TCI_CMD_GET_HUMIDITY_SETTING 0x046A |
获取湿度设置 req: Tcis_GetHumiditySettingReq; resp: Tcis_GetHumiditySettingResp
在文件 TgCloudCmdEx.h 第 74 行定义.
typedef Tcis_SetRecord Tcis_SetRecordReq |
在文件 TgCloudCmd.h 第 765 行定义.
typedef Tcis_SetRecord Tcis_GetRecordResp |
在文件 TgCloudCmd.h 第 767 行定义.
typedef Tcis_SetEnableBT Tcis_GetEnableBtResp |
在文件 TgCloudCmd.h 第 963 行定义.
typedef Tcis_SetEnableBT Tcis_SetEnableBtReq |
在文件 TgCloudCmd.h 第 965 行定义.
在文件 TgCloudCmd.h 第 1010 行定义.
typedef Tcis_SetPtzPosReq Tcis_GetPtzPosResp |
在文件 TgCloudCmd.h 第 1090 行定义.
在文件 TgCloudCmd.h 第 1831 行定义.
typedef TIMEPLANS Tcis_SetClosePlanReq |
设备关闭计划.
TCI_CMD_SET_CLOSE_PLAN = 0x042E
TCI_CMD_GET_CLOSE_PLAN = 0x0430
在文件 TgCloudCmd.h 第 1921 行定义.
typedef TIMEPLANS Tcis_GetClosePlanResp |
在文件 TgCloudCmd.h 第 1924 行定义.
typedef Tcis_SetVolume Tcis_SetVolumeReq |
在文件 TgCloudCmd.h 第 2016 行定义.
typedef Tcis_SetVolume Tcis_GetVolumeResp |
在文件 TgCloudCmd.h 第 2018 行定义.
typedef Tcis_SetMicLevel Tcis_SetMicLevelReq |
在文件 TgCloudCmd.h 第 2029 行定义.
typedef Tcis_SetMicLevel Tcis_GetMicLevelResp |
在文件 TgCloudCmd.h 第 2031 行定义.
在文件 TgCloudCmd.h 第 2046 行定义.
在文件 TgCloudCmd.h 第 2048 行定义.
在文件 TgCloudCmd.h 第 2050 行定义.
在文件 TgCloudCmd.h 第 2064 行定义.
在文件 TgCloudCmd.h 第 2066 行定义.
typedef Tcis_PirSens Tcis_SetPirSensReq |
在文件 TgCloudCmd.h 第 2080 行定义.
typedef Tcis_PirSens Tcis_GetPirSensResp |
在文件 TgCloudCmd.h 第 2082 行定义.
enum OSDTYPE |
OSD内容
枚举值 | ||
---|---|---|
OSDT_DATETIME | 日期时间 | |
OSDT_TEXT | 自定义文字 | |
OSDT_BMP1555 | 30 | rgb1555 |
OSDT_BMP32 | 31 | argb8888 |
在文件 TgCloudCmd.h 第 1503 行定义.
enum OSDPOSITION |
OSD 位置
枚举值 | |
---|---|
OSDP_LEFTTOP | 左上 |
OSDP_TOPCENTER | 上部居中 |
OSDP_RIGHTTOP | 右上 |
OSDP_LEFTCENTER | 左中 |
OSDP_MIDDLECENTER | 画面正中 |
OSDP_RIGHTCENTER | 右中 |
OSDP_LEFTBOTTOM | 左下 |
OSDP_BOTTOMCENTER | 底部居中 |
OSDP_RIGHTBOTTOM | 右下 |
在文件 TgCloudCmd.h 第 1511 行定义.
enum POWERSTRATEGY |
电源策略.
引入文档 https://tange-ai.feishu.cn/docx/M3DOddPWZoe8Mbxk1vpcf8avnqO
枚举值 | |
---|---|
PS_PERFORMANCE_FIRST | 性能优先 |
PS_POWERSAVING | 省电模式. 开启ai, 录像不超过10" |
PS_SUPER_POWERSAVING | 超级省电模式(关闭本地pir唤醒).
|
PS_USER_DEFINED | 用户定义录像时长 |
在文件 TgCloudCmd.h 第 1881 行定义.
enum GSENSORSCENE |
g-sensor检查场景.
枚举值 | ||
---|---|---|
GSENSOR_SCENE_DRIVING | 0 | 车辆运行中(行车记录仪); 或非行车记录仪的一般使用场景 |
GSENSOR_SCENE_PARKING | 1 | 停车状态(行车记录仪). 停用!被 TCI_CMD_SET_PARKING_DET 命令代替 |
在文件 TgCloudCmd.h 第 1932 行定义.
enum TgAction |
enum ETGTIMERTARGET |