5#ifndef __TgCloudCmdExt_h__
6#define __TgCloudCmdExt_h__
15#define TCI_CMD_DEV_REBOOT_REQ 0x8010
16#define TCI_CMD_DEV_REBOOT_RESP 0x8011
21#define TCI_CMD_GET_WHITELIGHT_REQ 0x8012
22#define TCI_CMD_GET_WHITELIGHT_RESP 0x8013
23#define TCI_CMD_SET_WHITELIGHT_REQ 0x8014
24#define TCI_CMD_SET_WHITELIGHT_RESP 0x8015
25#define TCI_CMD_GET_DOUBLELIGHT_REQ TCI_CMD_GET_WHITELIGHT_REQ
26#define TCI_CMD_GET_DOUBLELIGHT_RESP TCI_CMD_GET_WHITELIGHT_RESP
27#define TCI_CMD_SET_DOUBLELIGHT_REQ TCI_CMD_SET_WHITELIGHT_REQ
28#define TCI_CMD_SET_DOUBLELIGHT_RESP TCI_CMD_SET_WHITELIGHT_RESP
33#define TCI_CMD_GET_DAYNIGHT_REQ 0x8016
34#define TCI_CMD_GET_DAYNIGHT_RESP 0x8017
35#define TCI_CMD_SET_DAYNIGHT_REQ 0x8018
36#define TCI_CMD_SET_DAYNIGHT_RESP 0x8019
41#define TCI_CMD_GET_MOTION_TRACKER_REQ 0x8020
42#define TCI_CMD_GET_MOTION_TRACKER_RESP 0x8021
43#define TCI_CMD_SET_MOTION_TRACKER_REQ 0x8022
44#define TCI_CMD_SET_MOTION_TRACKER_RESP 0x8023
49#define TCI_CMD_GET_CLOUD_VIDEO_QUALITY_REQ 0x8026
50#define TCI_CMD_GET_CLOUD_VIDEO_QUALITY_RESP 0x8027
55#define TCI_CMD_GET_MICROPHONE_REQ 0x8032
56#define TCI_CMD_GET_MICROPHONE_RESP 0x8033
57#define TCI_CMD_SET_MICROPHONE_REQ 0x8034
58#define TCI_CMD_SET_MICROPHONE_RESP 0x8035
63#define TCI_CMD_GET_BUZZER_REQ 0x8036
64#define TCI_CMD_GET_BUZZER_RESP 0x8037
65#define TCI_CMD_SET_BUZZER_REQ 0x8038
66#define TCI_CMD_SET_BUZZER_RESP 0x8039
71#define TCI_CMD_SET_TEMPERATURE_THRESHOLD 0x0464
72#define TCI_CMD_GET_TEMPERATURE_SETTING 0x0466
73#define TCI_CMD_SET_HUMIDITY_THRESHOLD 0x0468
74#define TCI_CMD_GET_HUMIDITY_SETTING 0x046A
98 unsigned char reserved[4];
109 unsigned char reserved[4];
111#define Tcis_GetDoubleLightReq Tcis_GetWhiteLightReq
129 unsigned char reserved[3];
131#define Tcis_GetDoubleLightResp Tcis_GetWhiteLightResp
140 unsigned char reserved[4];
142#define Tcis_SetDoubleLightReq Tcis_SetWhiteLightReq
150 unsigned char reserved[4];
152#define Tcis_SetDoubleLightResp Tcis_SetWhiteLightResp
161 unsigned char reserved[4];
172 unsigned char reserved[3];
182 unsigned char reserved[4];
191 unsigned char reserved[4];
200 unsigned char reserved[4];
211 unsigned char reserved[3];
230 unsigned char reserved[4];
239 unsigned char reserved[4];
259 unsigned char reserved[4];
269 unsigned char reserved[3];
290 unsigned char reserved[4];
300 unsigned char reserved[3];
310 unsigned char reserved[3];
319 unsigned char reserved[4];
399#define TCI_CMD_VIDEOSTART 0x01FF
400#define TCI_CMD_VIDEOSTOP 0x02FF
401#define TCI_CMD_AUDIOSTART 0x0300
402#define TCI_CMD_AUDIOSTOP 0x0301
unsigned int channel
Camera Index
unsigned int channel
Camera Index
unsigned int result
1 ok , !1 no ok
unsigned int status
设置麦克风状态,status: 0- 关, 1- 开
unsigned char reserved[3]
保留字段,未使用
int lo_en
湿度低值报警使能标志。1:enable; 0:disabled
int sensor_id
温度传感器标识 0~N-1
unsigned int support
0:不支持,2:支持两种模式,3:支持三种模式; — ???
unsigned int channel
Camera Index
unsigned int channel
Camera Index
unsigned int channel
Camera Index
unsigned int mode
当前模式,mode: 0- auto 1- day,2- night
unsigned int result
1 ok , !1 no ok
int sensor_id
湿度传感器标识 0~N-1
unsigned int mode
当前模式,0-关闭(白光不工作);1-打开(全彩色);2-智能模式(移动侦测触发自动白光)
int lo_en
低温报警使能标志. 1:enable; 0:disable
unsigned int support
0不支持,非0支持 — ??? not used in get_setting
unsigned int channel
Camera Index
unsigned int support
0不支持,2支持两种模式,3支持三种模式; — ???
int lo_en
湿度低值报警使能标志。1:enable; 0:disabled
unsigned int channel
Camera Index
unsigned int channel
Camera Index
unsigned int mode
需要设置的模式,1 - on, 0 - off
unsigned char status
当前蜂鸣器状态,status: 0- 关; 1- 开; 2- 按定时器设定
unsigned int channel
Camera Index: 0
unsigned char status
当前当前麦克风状态,status: 0- 关, 1- 开
unsigned int channel
Camera Index
int lo_en
低温报警使能标志. 1:enable; 0:disable
unsigned int channel
Camera Index
unsigned char quality
当前清晰度,mode: 0- 高清, 1- 标清
int sensor_id
温度传感器标识 0~N-1
unsigned int result
1 ok , !1 no ok
unsigned int channel
Camera Index
unsigned char reserved[4]
保留字段,未使用
unsigned int result
1 ok , !1 no ok
unsigned int channel
Camera Index
unsigned int channel
Camera Index
int sensor_id
湿度传感器标识 0~N-1
unsigned int channel
Camera Index
unsigned char mode
当前模式,mode: 0- auto 1- day,2- night
unsigned char mode
当前模式,mode: 1- on, 0- off
unsigned int channel
Camera Index
unsigned int result
0失败,1成功
unsigned char status
当前蜂鸣器状态,status: 0- 关; 1- 开; 2- 按定时器设定
unsigned int channel
Camera Index
unsigned char reserved[4]
0
int hi_en
湿度高值报警使能标志。1:enable; 0:disabled
int sensor_id
湿度传感器标识 0~N-1
int hi_en
湿度高值报警使能标志。1:enable; 0:disabled
unsigned int channel
Camera Index
int sensor_id
温度传感器标识 0~N-1
获取湿度传感器设置 TCI_CMD_GET_HUMIDITY_SETTING = 0x046A
传感值温度报警设置 温度单位为 0.001摄氏度。例如: