|
Tange Cloud for Device
Rev.360 |
P2p Commands and Structures 更多...
#include "basedef.h"P2p Commands and Structures
在文件 TgCloudCmdEx.h 中定义.
| struct Tcis_GetWhiteLightResp |
| 成员变量 | ||
|---|---|---|
| unsigned int | channel | Camera Index |
| unsigned int | support | 0:不支持,2:支持两种模式,3:支持三种模式; — ??? |
| unsigned char | mode |
当前模式:
|
| unsigned char | reserved[3] | |
| struct Tcis_SetWhiteLightReq |
| struct Tcis_GetDayNightResp |
| struct Tcis_SetDayNightReq |
| struct Tcis_GetMotionTrackerResp |
| struct Tcis_SetMotionTrackerReq |
| struct Tcis_GetCloudVideoQualityReq |
| struct Tcis_GetCloudVideoQualityResp |
| struct Tcis_GetMicroPhoneResp |
| struct Tcis_SetMicroPhoneReq |
| struct Tcis_GetBuzzerResp |
| struct Tcis_SetBuzzerReq |
| struct Tcis_GetTemperatureSettingResp |
传感值温度报警设置 温度单位为 0.001摄氏度。例如:
在文件 TgCloudCmdEx.h 第 337 行定义.
| 成员变量 | ||
|---|---|---|
| int | sensor_id | 温度传感器标识 0~N-1 |
| int | lo_limit | 感温能力下限。 |
| int | hi_limit | 感温能力上限。 |
| int | lo_en | 低温报警使能标志. 1:enable; 0:disable |
| int | hi_en | 高温报警使能标志 |
| int | lo_threshold | 低温报警阈值 |
| int | hi_threshold | 高温报警阈值 |
| struct Tcis_SetTemperatureThresholdReq |
设置温度传感器的报警阈值.
TCI_CMD_SET_TEMPERATURE_THRESHOLD = 0x0464
温度单位为 0.001摄氏度。例如:
在文件 TgCloudCmdEx.h 第 354 行定义.
| 成员变量 | ||
|---|---|---|
| int | sensor_id | 温度传感器标识 0~N-1 |
| int | lo_en | 低温报警使能标志. 1:enable; 0:disable |
| int | hi_en | 高温报警使能标志 |
| int | lo_threshold | 低温报警阈值 |
| int | hi_threshold | 高温报警阈值 |
| struct Tcis_GetHumiditySettingReq |
获取湿度传感器设置 TCI_CMD_GET_HUMIDITY_SETTING = 0x046A
在文件 TgCloudCmdEx.h 第 365 行定义.
| 成员变量 | ||
|---|---|---|
| int | sensor_id | 湿度传感器标识 0~N-1 |
| struct Tcis_GetHumiditySettingResp |
| struct Tcis_SetHumidityThresholdReq |
设置湿度传感器报警阈值.
TCI_CMD_SET_HUMIDITY_THRESHOLD = 0x0468
湿度单位为 0.1%. 即 281 示湿度为 28.1%
在文件 TgCloudCmdEx.h 第 386 行定义.
| 成员变量 | ||
|---|---|---|
| int | sensor_id | 湿度传感器标识 0~N-1 |
| int | lo_en | 湿度低值报警使能标志。1:enable; 0:disabled |
| int | hi_en | 湿度高值报警使能标志。1:enable; 0:disabled |
| int | lo_threshold | 低湿度报警阈值 |
| int | hi_threshold | 高湿度报警阈值 |
| #define Tcis_GetDoubleLightReq Tcis_GetWhiteLightReq |
在文件 TgCloudCmdEx.h 第 111 行定义.
| #define Tcis_GetDoubleLightResp Tcis_GetWhiteLightResp |
在文件 TgCloudCmdEx.h 第 131 行定义.
| #define Tcis_SetDoubleLightReq Tcis_SetWhiteLightReq |
在文件 TgCloudCmdEx.h 第 142 行定义.
| #define Tcis_SetDoubleLightResp Tcis_SetWhiteLightResp |
在文件 TgCloudCmdEx.h 第 152 行定义.
| #define TCI_CMD_VIDEOSTART 0x01FF |
在文件 TgCloudCmdEx.h 第 399 行定义.
| #define TCI_CMD_VIDEOSTOP 0x02FF |
在文件 TgCloudCmdEx.h 第 400 行定义.
| #define TCI_CMD_AUDIOSTART 0x0300 |
在文件 TgCloudCmdEx.h 第 401 行定义.
| #define TCI_CMD_AUDIOSTOP 0x0301 |
在文件 TgCloudCmdEx.h 第 402 行定义.