hksdk/HCISUPSDKV2.5.0.35_build202.../incCn/HCISUPAlarm.h

634 lines
36 KiB
C
Raw Normal View History

2023-03-23 17:39:59 +08:00
#ifndef _HC_EHOME_ALARM_H_
#define _HC_EHOME_ALARM_H_
#include "HCISUPPublic.h"
//<2F><><EFBFBD><EFBFBD>
#define EHOME_ALARM_UNKNOWN 0 //δ֪<CEB4><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define EHOME_ALARM 1 //Ehome<6D><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define EHOME_ALARM_HEATMAP_REPORT 2 //<2F>ȶ<EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD>
#define EHOME_ALARM_FACESNAP_REPORT 3 //<2F><><EFBFBD><EFBFBD>ץ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>
#define EHOME_ALARM_GPS 4 //GPS<50><53>Ϣ<EFBFBD>ϴ<EFBFBD>
#define EHOME_ALARM_CID_REPORT 5 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CID<49><EFBFBD>ϴ<EFBFBD>
#define EHOME_ALARM_NOTICE_PICURL 6 //ͼƬURL<52>ϱ<EFBFBD>
#define EHOME_ALARM_NOTIFY_FAIL 7 //<2F>첽ʧ<ECB2BD><CAA7>֪ͨ
#define EHOME_ALARM_SELFDEFINE 9 //<2F>Զ<EFBFBD><D4B6><EFBFBD><E5B1A8><EFBFBD>ϴ<EFBFBD>
#define EHOME_ALARM_DEVICE_NETSWITCH_REPORT 10 //<2F><EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB>ϴ<EFBFBD>
#define EHOME_ALARM_ACS 11 //<2F>Ž<EFBFBD><C5BD>¼<EFBFBD><C2BC>ϱ<EFBFBD>
#define EHOME_ALARM_WIRELESS_INFO 12 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>ϴ<EFBFBD>
#define EHOME_ISAPI_ALARM 13 //ISAPI<50><49><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>
#define EHOME_INFO_RELEASE_PRIVATE 14 //Ϊ<>˼<EFBFBD><CBBC><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>˽<EFBFBD><CBBD>EHomeЭ<65><EFBFBD><E9B1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ά<EFBFBD><CEAC><EFBFBD><EFBFBD>
#define EHOME_ALARM_MPDCDATA 15 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define EHOME_ALARM_QRCODE 20 //<2F><>ά<EFBFBD><EFBFBD><EBB1A8><EFBFBD>ϴ<EFBFBD>
#define EHOME_ALARM_FACETEMP 21 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ϴ<EFBFBD>
#define MAX_TIME_LEN 32 //ʱ<><CAB1><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define MAX_REMARK_LEN 64 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>
#define MAX_URL_LEN 512 //URL<52><4C><EFBFBD><EFBFBD>
#define CID_DES_LEN 32 //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define MAX_FILE_PATH_LEN 256
#define MAX_UUID_LEN 64 //<2F><><EFBFBD><EFBFBD>UUID<49><44><EFBFBD><EFBFBD>
#define CID_DES_LEN_EX 256 //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ
#define MAX_PICTURE_NUM 5 //<2F><><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>
#define MAX_VIDEO_TYPE_LEN 16
#define MAX_SUBSYSTEM_LEN 64 //<2F><>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
typedef enum
{
ALARM_TYPE_DISK_FULL = 0, //0-Ӳ<><D3B2><EFBFBD><EFBFBD>
ALARM_TYPE_DISK_WRERROR, //1-<2D><>дӲ<D0B4>̳<EFBFBD><CCB3><EFBFBD>
ALARM_TYPE_VIDEO_LOST = 5, //5-<2D><>Ƶ(<28>ź<EFBFBD>)<29><>ʧ*/
ALARM_TYPE_EXTERNAL, //6-<2D>ⲿ(<28>ź<EFBFBD><C5BA><EFBFBD>)<29><><EFBFBD><EFBFBD>
ALARM_TYPE_VIDEO_COVERED, //7-<2D><>Ƶ<EFBFBD>ڸ<EFBFBD>
ALARM_TYPE_MOTION, //8-<2D>ƶ<EFBFBD><C6B6><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_STANDARD_NOTMATCH, //9-<2D><>ʽ<EFBFBD><CABD>ƥ<EFBFBD><C6A5>
ALARM_TYPE_SPEEDLIMIT_EXCEED, //10-<2D><><EFBFBD><EFBFBD>
ALARM_TYPE_PIR, //11-PIR<49><52><EFBFBD><EFBFBD>
ALARM_TYPE_WIRELESS, //12-<2D><><EFBFBD>߱<EFBFBD><DFB1><EFBFBD>
ALARM_TYPE_CALL_HELP, //13-<2D><><EFBFBD>ȱ<EFBFBD><C8B1><EFBFBD>
ALARM_TYPE_DISARM, //14-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_STREAM_PRIVATE, //15-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽״̬<D7B4>ı<EFBFBD>֪ͨ
ALARM_TYPE_PIC_UPLOAD_FAIL, //16-<2D><EFBFBD>ϴ<EFBFBD>ͼƬʧ<C6AC><CAA7>
ALARM_TYPE_LOCAL_REC_EXCEPTION, //17-<2D><EFBFBD><E8B1B8><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>ץͼ<D7A5><CDBC><EFBFBD>
ALARM_TYPE_UPGRADE_FAIL, //18-<2D><EFBFBD><EFBFBD><E6B1BE><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
ALARM_TYPE_ILLEGAL_ACCESS, //19-<2D>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_SOUNDLIMIT_EXCEED = 80, //80-<2D><><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_TRIFFIC_VIOLATION = 90, //90-Υ<>±<EFBFBD><C2B1><EFBFBD>
ALARM_TYPE_ALARM_CONTROL, //91-<2D><><EFBFBD>ر<EFBFBD><D8B1><EFBFBD>
ALARM_TYPE_FACE_DETECTION = 97, //97-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_DEFOUSE_DETECTION, //98-<2D><EFBFBD><E9BDB9><EFBFBD><EFBFBD>
ALARM_TYPE_AUDIO_EXCEPTION, //99-<2D><>Ƶ<EFBFBD><EFBFBD><ECB3A3><EFBFBD><EFBFBD>
ALARM_TYPE_SCENE_CHANGE, //100-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_TRAVERSE_PLANE, //101-<2D><>Խ<EFBFBD><D4BD><EFBFBD><EFBFBD><EFBFBD>棨Խ<E6A3A8><D4BD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_ENTER_AREA, //102-Ŀ<><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_LEAVE_AREA, //103-Ŀ<><C4BF><EFBFBD><EFBFBD><EBBFAA><EFBFBD><EFBFBD>
ALARM_TYPE_INTRUSION, //104-<2D>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD>֣<EFBFBD><D6A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֣<EFBFBD>
ALARM_TYPE_LOITER, //105-<2D>ǻ<EFBFBD>
ALARM_TYPE_LEFT_TAKE, //106-<2D><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ
ALARM_TYPE_CAR_STOP, //107-ͣ<><CDA3>
ALARM_TYPE_MOVE_FAST, //108-<2D><><EFBFBD><EFBFBD><EFBFBD>˶<EFBFBD>
ALARM_TYPE_HIGH_DENSITY, //109-<2D><>Ա<EFBFBD>ۼ<EFBFBD>
ALARM_TYPE_PDC_BY_TIME, //110-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ͳ<EFBFBD><CDB3><EFBFBD>ϱ<EFBFBD>
ALARM_TYPE_PDC_BY_FRAME, //111-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֡ͳ<D6A1><CDB3><EFBFBD>ϱ<EFBFBD>
ALARM_TYPE_LEFT, //112-<2D><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>
ALARM_TYPE_TAKE, //113-<2D><>Ʒ<EFBFBD><C6B7>ȡ
ALARM_TYPE_ROLLOVER, //114-<2D>
ALARM_TYPE_COLLISION, //115-<2D><>ײ
ALARM_TYPE_FLOW_OVERRUN =256, //256-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD>
ALARM_TYPE_WARN_FLOW_OVERRUN, //257-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_DEV_CHANGED_STATUS = 700, //700-<2D>豸״̬<D7B4>ı<C4B1><E4B1A8><EFBFBD>ϴ<EFBFBD>
ALARM_TYPE_CHAN_CHANGED_STATUS, //701-ͨ<><CDA8>״̬<D7B4>ı<C4B1><E4B1A8><EFBFBD>ϱ<EFBFBD>
ALARM_TYPE_HD_CHANGED_STATUS, //702-<2D><><EFBFBD><EFBFBD>״̬<D7B4>ı<C4B1><E4B1A8><EFBFBD>ϱ<EFBFBD>
ALARM_TYPE_DEV_TIMING_STATUS, //703-<2D><>ʱ<EFBFBD>ϱ<EFBFBD><CFB1>豸״̬<D7B4><CCAC>Ϣ
ALARM_TYPE_CHAN_TIMING_STATUS, //704-<2D><>ʱ<EFBFBD>ϱ<EFBFBD>ͨ<EFBFBD><CDA8>״̬<D7B4><CCAC>Ϣ
ALARM_TYPE_HD_TIMING_STATUS, //705-<2D><>ʱ<EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>Ϣ
ALARM_TYPE_RECORD_ABNORMAL, //706-¼<><C2BC><EFBFBD><EFBFBD><ECB3A3><EFBFBD><EFBFBD>ǰʱ<C7B0><CAB1><EFBFBD><EFBFBD><E3B1BE>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>¼<EFBFBD><C2BC><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD>쳣ԭ<ECB3A3><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޷<EFBFBD><DEB7><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>
ALARM_TYPE_ENV_LIMIT = 8800, //8800-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD>
ALARM_TYPE_ENV_REAL_TIME, //8801-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD>
ALARM_TYPE_ENV_EXCEPTION, //8802-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD>
ALARM_TYPE_HIGH_TEMP = 40961, //40961-<2D><EFBFBD>¶ȹ<C2B6><C8B9>߱<EFBFBD><DFB1><EFBFBD>
ALARM_TYPE_ACC_EXCEPTION, //40962-<2D><EFBFBD><E8B1B8><EFBFBD>ٶ<EFBFBD><D9B6><EFBFBD><ECB3A3><EFBFBD><EFBFBD>
ALARM_TYPE_RAPID_ACCELERATION = 40963, //40963-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_RAPID_DECELERATION = 40964, //40964-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ALARM_TYPE_COLLISION_V40 = 40965, //40965-<2D><>ײ
ALARM_TYPE_ROLLOVER_V40 = 40966, //40966-<2D>
ALARM_TYPE_RAPID_TURN_LEFT = 40967, //40967-<2D><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
ALARM_TYPE_RAPID_TURN_RIGHT = 40968, //40968-<2D><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
ALARM_TYPE_ABNORMAL_DRIVING_BEHAVIOR = 40969, //40969-<2D><EFBFBD><ECB3A3>ʻ<EFBFBD><CABB>Ϊ
ALARM_TYPE_OVERLOAD = 40970, //40970-<2D><><EFBFBD><EFBFBD>
ALARM_TYPE_LEFT_CROSS_LINE = 40971, //40971-<2D><>ѹ<EFBFBD><D1B9>
ALARM_TYPE_RIGHT_CROSS_LINE = 40972, //40972-<2D><>ѹ<EFBFBD><D1B9>
ALARM_TYPE_OPEN_DOOR_WITH_SPEED = 40973, //40973-<2D><><EFBFBD>ٿ<EFBFBD><D9BF><EFBFBD>
ALARM_TYPE_ADAS = 40974, //40974-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ(ADAS)<29>
ALARM_TYPE_RADAR = 41009 //41009-<2D>״<EFBFBD><D7B4>
}EN_ALARM_TYPE;
/*
dwAlarmType dwAlarmAction dwVideoChannel dwAlarmInChannel dwDiskNumber byRemark
ALARM_TYPE_DISK_FULL 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A Ӳ<EFBFBD>̺<EFBFBD> N/A
ALARM_TYPE_DISK_WRERROR 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A Ӳ<EFBFBD>̺<EFBFBD> N/A
ALARM_TYPE_VIDEO_LOST 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_EXTERNAL 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A
ALARM_TYPE_VIDEO_COVERED 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_MOTION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_STANDARD_NOTMATCH 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A N/A
ALARM_TYPE_SPEEDLIMIT_EXCEED 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ <EFBFBD><EFBFBD>ǰ<EFBFBD>ٶ<EFBFBD> N/A N/A
ALARM_TYPE_PIR 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_WIRELESS 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>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YPE_LOCAL_REC_EXCEPTION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򱨾<EFBFBD> N/A N/A N/A N/A
ALARM_TYPE_UPGRADE_FAIL 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򱨾<EFBFBD> N/A N/A N/A <EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD>ţ<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>Vx.y.z buildYYMMDD
ALARM_TYPE_ILLEGAL_ACCESS 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򱨾<EFBFBD> N/A N/A N/A N/A
ALARM_TYPE_SOUNDLIMIT_EXCEED 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򱨾<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD>ֱ<EFBFBD>*10 <EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD>ֱ<EFBFBD>*10 N/A N/A
ALARM_TYPE_TRIFFIC_VIOLATION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򱨾<EFBFBD> N/A N/A N/A N/A
ALARM_TYPE_ALARM_CONTROL 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򱨾<EFBFBD> N/A N/A N/A N/A
ALARM_TYPE_FACE_DETECTION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_DEFOUSE_DETECTION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_AUDIO_EXCEPTION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_SCENE_CHANGE 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_TRAVERSE_PLANE 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_ENTER_AREA 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_LEAVE_AREA 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_INTRUSION 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_LOITER 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_LEFT_TAKE 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_CAR_STOP 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_MOVE_FAST 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_HIGH_DENSITY 0-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ 1-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> N/A N/A N/A
ALARM_TYPE_PDC_BY_TIME 0-<EFBFBD><EFBFBD><EFBFBD><E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̬<D7B4><CCAC>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31>CPUռ<55><D5BC><EFBFBD><EFBFBD>̫<EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>85%,2<><32>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4AE><EFBFBD>
BYTE byRes[11]; //<2F><><EFBFBD><EFBFBD>
}NET_EHOME_DEV_STATUS_CHANGED, *LPNET_EHOME_DEV_STATUS_CHANGED;
//ͨ<><CDA8>״̬<D7B4>ı<EFBFBD><C4B1>ϱ<EFBFBD>
typedef struct tagNET_EHOME_CHAN_STATUS_CHANGED
{
WORD wChanNO; //ͨ<><CDA8><EFBFBD><EFBFBD>
BYTE byChanStatus; //ͨ<><CDA8>״̬<D7B4><CCAC><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>ʾ
//bit0<74><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>0-<2D><><EFBFBD><EFBFBD><><C9BE><EFBFBD><EFBFBD>1-<2D><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>
//ģ<><C4A3>ͨ<EFBFBD><CDA8><EFBFBD>ɽ<EFBFBD><C9BD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD>ã<EFBFBD><C3A3>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD>ֶ<EFBFBD>
//<2F><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD><D3A3>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD>ֶ<EFBFBD>
//bit1<74><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>0-<2D><><EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD>1-<2D><><EFBFBD><EFBFBD>
//bit2<74><32><EFBFBD>ź<EFBFBD>״̬<D7B4><CCAC>0-<2D><><EFBFBD>źţ<C5BA>1-<2D><><EFBFBD>ź<EFBFBD>
//bit3<74><33>¼<EFBFBD><C2BC>״̬<D7B4><CCAC>0-<2D><><EFBFBD><EFBFBD>¼<EFBFBD><C2BC> 1-<2D><>¼<EFBFBD><C2BC>
//bit4<74><34>IPͨ<50><CDA8><EFBFBD><EFBFBD>Ϣ<EFBFBD>ı<EFBFBD>״̬<D7B4><CCAC>0-δ<>ı<EFBFBD> 1-<2D>иı<C4B1><E4A3AC>λ<EFBFBD><CEBB>ʾ<EFBFBD><CABE>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//<2F><><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD>˸ı<C4B1><E4A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>IPC<50>й<EFBFBD><D0B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֪ͨ<CDA8>ϲ<EFBFBD><CFB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byRes[9];
}NET_EHOME_CHAN_STATUS_CHANGED, *LPNET_EHOME_CHAN_STATUS_CHANGED;
//<2F><><EFBFBD><EFBFBD>״̬<D7B4>ı<EFBFBD>
typedef struct tagNET_EHOME_HD_STATUS_CHANGED
{
DWORD dwVolume; //Ӳ<><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>MB
WORD wHDNo; //Ӳ<>̺<EFBFBD>
BYTE byHDStatus; //Ӳ<>̵<EFBFBD>״̬, 0-<2D>1-<2D><><EFBFBD><EFBFBD>,2-<2D>쳣,3-<2D><><EFBFBD><EFBFBD>Ӳ<EFBFBD>̳<EFBFBD><CCB3><EFBFBD>,
//4-δ<><CEB4>ʽ<EFBFBD><CABD>, 5-δ<><CEB4><EFBFBD><EFBFBD>״̬(<28><><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2>),6-Ӳ<><D3B2><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD>ʽ<EFBFBD><CABD>
BYTE byRes[5]; //<2F><><EFBFBD><EFBFBD>
}NET_EHOME_HD_STATUS_CHANGED, *LPNET_EHOME_HD_STATUS_CHANGED;
//<2F><>ʱ<EFBFBD>ϱ<EFBFBD><CFB1>豸״̬<D7B4><CCAC>
typedef struct tagNET_EHOME_DEV_TIMING_STATUS
{
DWORD dwMemoryTotal; //<2F>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λKbyte
DWORD dwMemoryUsage; //<2F>ڴ<EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λKbyte
BYTE byCPUUsage; //CPUʹ<55><CAB9><EFBFBD>ʣ<EFBFBD>0-100
BYTE byMainFrameTemp; //<2F><><EFBFBD><EFBFBD><EFBFBD>ȣ<C2B6><C8A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>϶<EFBFBD>
BYTE byBackPanelTemp; //<2F><><EFBFBD><EFBFBD><EFBFBD>ȣ<C2B6><C8A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>϶<EFBFBD>
BYTE byRes;
}NET_EHOME_DEV_TIMING_STATUS, *LPNET_EHOME_DEV_TIMING_STATUS;
//<2F><>ʱ<EFBFBD>ϱ<EFBFBD>ͨ<EFBFBD><CDA8>״̬<D7B4><CCAC>-<2D><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>
typedef struct tagNET_EHOME_CHAN_TIMING_STATUS_SINGLE
{
DWORD dwBitRate; //ʵ<><CAB5><EFBFBD><EFBFBD><EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD>λkbps
WORD wChanNO; //ͨ<><CDA8><EFBFBD><EFBFBD>
BYTE byLinkNum; //<2F>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵĸ<D3B5><C4B8><EFBFBD>
BYTE byRes[5];
}NET_EHOME_CHAN_TIMING_STATUS_SINGLE, *LPNET_EHOME_CHAN_TIMING_STATUS_SINGLE;
//<2F><>ʱ<EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>
typedef struct tagNET_EHOME_HD_TIMING_STATUS_SINGLE
{
DWORD dwHDFreeSpace; //Ӳ<><D3B2>ʣ<EFBFBD><CAA3><EFBFBD>ռ<D5BC><E4A3AC>λ<EFBFBD><CEBB>MB
WORD wHDNo; //<2F><><EFBFBD>̺<EFBFBD>
BYTE byRes[6];
}NET_EHOME_HD_TIMING_STATUS_SINGLE, *LPNET_EHOME_HD_TIMING_STATUS_SINGLE;
typedef union tagNET_EHOME_ALARM_STATUS_UNION
{
BYTE byRes[12]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С
NET_EHOME_DEV_STATUS_CHANGED struDevStatusChanged;
NET_EHOME_CHAN_STATUS_CHANGED struChanStatusChanged;
NET_EHOME_HD_STATUS_CHANGED struHdStatusChanged;
NET_EHOME_DEV_TIMING_STATUS struDevTimeStatus;
NET_EHOME_CHAN_TIMING_STATUS_SINGLE struChanTimeStatus;
NET_EHOME_HD_TIMING_STATUS_SINGLE struHdTimeStatus;
}NET_EHOME_ALARM_STATUS_UNION, *LPNET_EHOME_ALARM_STATUS_UNION;
typedef struct tagNET_EHOME_ALARM_INFO
{
DWORD dwSize;
char szAlarmTime[MAX_TIME_LEN]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
char szDeviceID[MAX_DEVICE_ID_LEN];//<2F>豸ע<E8B1B8><D7A2>ID
DWORD dwAlarmType; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD>EN_ALARM_TYPEö<45>ٱ<EFBFBD><D9B1><EFBFBD>
DWORD dwAlarmAction; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0:<3A><>ʼ 1:ֹͣ
DWORD dwVideoChannel; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>
DWORD dwAlarmInChannel; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>
DWORD dwDiskNumber; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>
BYTE byRemark[MAX_REMARK_LEN]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>
BYTE byRetransFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ǣ<EFBFBD>0-ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>1-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byTimeDiffH; //szAlarmTime<6D><65>szAlarmUploadTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD>Сʱ<D0A1><CAB1><EFBFBD><EFBFBD>-12 ... +14,0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byTimeDiffM; //szAlarmTime<6D><65>szAlarmUploadTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EEA3A8><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>-30,0, 30, 45, 0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byRes1;
char szAlarmUploadTime[MAX_TIME_LEN]; //<2F><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
NET_EHOME_ALARM_STATUS_UNION uStatusUnion;
BYTE byRes2[16];
}NET_EHOME_ALARM_INFO, *LPNET_EHOME_ALARM_INFO;
typedef struct tagNET_EHOME_GPS_INFO
{
DWORD dwSize;
char bySampleTime[MAX_TIME_LEN]; //GPS<50><53><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3AC>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
char byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ע<E8B1B8><D7A2>ID
char byDivision[2]; //division[0]:'E'or'W'(<28><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>), division[1]:'N'or'S'(<28><>γ/<2F><>γ)
BYTE bySatelites; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byPrecision; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD>ԭʼֵ*100
DWORD dwLongitude; //<2F><><EFBFBD>ȣ<EFBFBD>ȡֵ<C8A1><D6B5>ΧΪ<CEA7><CEAA>0<EFBFBD><30>180*3600*100<30><30><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>ʽΪ<CABD><CEAA>longitude= ʵ<>ʶ<EFBFBD>*3600*100+ʵ<>ʷ<EFBFBD>*60*100+ʵ<><CAB5><EFBFBD><EFBFBD>*100
DWORD dwLatitude; //γ<>ȣ<EFBFBD>ȡֵ<C8A1><D6B5>ΧΪ<CEA7><CEAA>0<EFBFBD><30>90*3600*100<30><30><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>ʽΪ<CABD><CEAA>latitude = ʵ<>ʶ<EFBFBD>*3600*100+ʵ<>ʷ<EFBFBD>*60*100+ʵ<><CAB5><EFBFBD><EFBFBD>*100
DWORD dwDirection; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡֵ<C8A1><D6B5>ΧΪ<CEA7><CEAA>0<EFBFBD><30>359.9*100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ0<CEAA><30>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>ʽΪ<CABD><CEAA>direction= ʵ<>ʷ<EFBFBD><CAB7><EFBFBD>*100
DWORD dwSpeed; //<2F>ٶȣ<D9B6>ȡֵ<C8A1><D6B5>ΧΪ<CEA7><CEAA>0<EFBFBD><30>999.9*100000<30><30><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>ʽΪ<CABD><CEAA>speed =ʵ<><CAB5><EFBFBD>ٶ<EFBFBD>*100000<30><30><EFBFBD><EFBFBD><E0B5B1>cm/h
DWORD dwHeight; //<2F>߶ȣ<DFB6><C8A3><EFBFBD>λ<EFBFBD><CEBB>cm
BYTE byRetransFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ǣ<EFBFBD>0-ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>1-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byLocateMode; //<2F><>λģʽ(<28><>ֵ0)<29><><EFBFBD><EFBFBD>NMEA0183 3.00<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>0-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>1- <20><><EFBFBD>֣<EFBFBD>2- <20><><EFBFBD>㣬3- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч
BYTE byTimeDiffH; //bySampleTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD>Сʱ<D0A1><CAB1><EFBFBD><EFBFBD>-12 ... +14,0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byTimeDiffM; //bySampleTimee<65><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EEA3A8><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>-30,0, 30, 45, 0xff<66><66>ʾ<EFBFBD><CABE>Ч
DWORD dwMileage; //<2F><EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͳ<EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD>λΪ<CEBB>ף<EFBFBD><D7A3><EFBFBD><EFBFBD>ͣ<EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD>һ<EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>00:00:00ʱ<30><CAB1><EFBFBD><EFBFBD><E3A3AC><EFBFBD><EFBFBD><EFBFBD>ۼӵ<DBBC><D3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byRes[56];
}NET_EHOME_GPS_INFO, *LPNET_EHOME_GPS_INFO;
typedef struct tagNET_EHOME_ALARMWIRELESSINFO
{
BYTE byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ID
DWORD dwDataTraffic; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><>λ<EFBFBD><CEBB>MB,ʵ<><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*100
BYTE bySignalIntensity; //<2F>ź<EFBFBD>ǿ<EFBFBD>ȣ<EFBFBD>0~100/
BYTE byRes[127];
} NET_EHOME_ALARMWIRELESSINFO, *LPNET_EHOME_ALARMWIRELESSINFO;
typedef struct tagNET_EHOME_HEATMAP_VALUE
{
DWORD dwMaxHeatMapValue; //<2F><><EFBFBD><EFBFBD><EFBFBD>ȶ<EFBFBD>ֵ
DWORD dwMinHeatMapValue; //<2F><>С<EFBFBD>ȶ<EFBFBD>ֵ
DWORD dwTimeHeatMapValue; //ƽ<><C6BD><EFBFBD>ȶ<EFBFBD>ֵ
}NET_EHOME_HEATMAP_VALUE, *LPNET_EHOME_HEATMAP_VALUE;
typedef struct tagNET_EHOME_PIXEL_ARRAY_SIZE
{
DWORD dwLineValue; //<2F><><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>ֵ
DWORD dwColumnValue; //<2F><><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>ֵ
}NET_EHOME_PIXEL_ARRAY_SIZE, *LPNET_EHOME_PIXEL_ARRAY_SIZE;
typedef struct tagNET_EHOME_HEATMAP_REPORT
{
DWORD dwSize;
char byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ע<E8B1B8><D7A2>ID
DWORD dwVideoChannel; //ͨ<><CDA8><EFBFBD><EFBFBD>
char byStartTime[MAX_TIME_LEN]; //<2F><>ʼʱ<CABC><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
char byStopTime[MAX_TIME_LEN]; //<2F><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
NET_EHOME_HEATMAP_VALUE struHeatmapValue;//<2F>ȶ<EFBFBD>ֵ
NET_EHOME_PIXEL_ARRAY_SIZE struPixelArraySize; //<2F>ȶ<EFBFBD>ͼ<EFBFBD><CDBC>С
char byPixelArrayData[MAX_URL_LEN]; //<2F>ȶ<EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byRetransFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ǣ<EFBFBD>0-ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>1-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byTimeDiffH; //byStartTime<6D><65>byStopTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD>Сʱ<D0A1><CAB1><EFBFBD><EFBFBD>-12 ... +14,0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byTimeDiffM; //byStartTime<6D><65>byStopTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EEA3A8><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>-30,0, 30, 45, 0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byRes[61];
}NET_EHOME_HEATMAP_REPORT, *LPNET_EHOME_HEATMAP_REPORT;
typedef struct tagNET_EHOME_HUMAN_FEATURE
{
BYTE byAgeGroup; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԣ<EFBFBD>1-Ӥ<>׶<EFBFBD><D7B6><EFBFBD>2-<2D><>ͯ<EFBFBD><CDAF>3-<2D><><EFBFBD>꣬4-<2D><><EFBFBD><EFBFBD><EFBFBD>꣬5-<2D><><EFBFBD>꣬6-׳<>꣬7-<2D><><EFBFBD>꣬8-<2D><><EFBFBD><EFBFBD><EFBFBD>꣬9-<2D><><EFBFBD><EFBFBD>
BYTE bySex; //<2F>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>ԣ<EFBFBD>1-<2D>У<EFBFBD>2-Ů
BYTE byEyeGlass; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>۾<EFBFBD><DBBE><EFBFBD>1-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2-<2D><>
BYTE byMask; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֣<EFBFBD>1-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2-<2D><>
BYTE byRes[12];
}NET_EHOME_HUMAN_FEATURE, *LPNET_EHOME_HUMAN_FEATURE;
typedef struct tagNET_EHOME_FACESNAP_REPORT
{
DWORD dwSize;
char byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ע<E8B1B8><D7A2>ID
DWORD dwVideoChannel; //ͨ<><CDA8><EFBFBD><EFBFBD>
char byAlarmTime[MAX_TIME_LEN]; //<2F><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
DWORD dwFacePicID; //<2F><><EFBFBD><EFBFBD>ͼID
DWORD dwFaceScore; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֣<EFBFBD>0-100
DWORD dwTargetID; //Ŀ<><C4BF>ID
NET_EHOME_ZONE struTarketZone; //Ŀ<><C4BF><EFBFBD><EFBFBD><EFBFBD>򣬹<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA3BA>ֵΪ<D6B5><CEAA>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>İٷֱȴ<D6B1>С*1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪС<CEAA><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
NET_EHOME_ZONE struFacePicZone; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD>򣬹<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA3BA>ֵΪ<D6B5><CEAA>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>İٷֱȴ<D6B1>С*1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪС<CEAA><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
NET_EHOME_HUMAN_FEATURE struHumanFeature;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwStayDuration; //ͣ<><CDA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
DWORD dwFacePicLen; //<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD>ֽ<EFBFBD>
char byFacePicUrl[MAX_URL_LEN]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwBackgroudPicLen; //<2F><><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD>ֽ<EFBFBD>
char byBackgroudPicUrl[MAX_URL_LEN]; //<2F><><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byRetransFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ǣ<EFBFBD>0-ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>1-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byTimeDiffH; //byAlamTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD>Сʱ<D0A1><CAB1><EFBFBD><EFBFBD>-12 ... +14,0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byTimeDiffM; //byAlamTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EEA3A8><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>-30,0, 30, 45, 0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byRes[61];
}NET_EHOME_FACESNAP_REPORT, *LPNET_EHOME_FACESNAP_REPORT;
typedef struct tagNET_EHOME_CID_PARAM
{
DWORD dwUserType; //<2F>û<EFBFBD><C3BB><EFBFBD><EFBFBD>ͣ<EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD> 2<><32><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>ʾ<EFBFBD><CABE>Ч
LONG lUserNo; //<2F>û<EFBFBD><C3BB><EFBFBD><EFBFBD>ͣ<EFBFBD>-1<><31>ʾ<EFBFBD><CABE>Ч
LONG lZoneNo; //<2F><><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>-1<><31>ʾ<EFBFBD><CABE>Ч
LONG lKeyboardNo; //<2F><><EFBFBD>̺<EFBFBD>
LONG lVideoChanNo; //<2F><>Ƶͨ<C6B5><CDA8><EFBFBD><EFBFBD>
LONG lDiskNo; //Ӳ<>̺<EFBFBD>
LONG lModuleAddr; //ģ<><C4A3><EFBFBD><EFBFBD>ַ
char byUserName[NAME_LEN]; //<2F>û<EFBFBD><C3BB><EFBFBD>
BYTE byRes[32];
}NET_EHOME_CID_PARAM, *LPNET_EHOME_CID_PARAM;
typedef struct tagNET_EHOME_CID_INFO
{
DWORD dwSize;
char byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ע<E8B1B8><D7A2>ID
DWORD dwCIDCode; //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwCIDType; //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwSubSysNo; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<CFB5>ţ<EFBFBD>0Ϊȫ<CEAA>ֱ<EFBFBD><D6B1><EFBFBD><E6A3AC>ϵͳ<CFB5><CDB3>Χ0~32
char byCIDDescribe[CID_DES_LEN]; //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
char byTriggerTime[MAX_TIME_LEN]; //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
char byUploadTime[MAX_TIME_LEN]; //CID<49><44><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
NET_EHOME_CID_PARAM struCIDParam; //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byTimeDiffH; //byTriggerTime<6D><65>byUploadTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD>Сʱ<D0A1><CAB1><EFBFBD><EFBFBD>-12 ... +14,0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byTimeDiffM; //byTriggerTime<6D><65>byUploadTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EEA3A8><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>-30,0, 30, 45, 0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byExtend; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD>ֶ<EFBFBD>
BYTE byRes1[5];
void* pCidInfoEx; //byExtendΪ1<CEAA><31><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>ָ<EFBFBD><D6B8>NET_EHOME_CID_INFO_INTERNAL_EX<45><EFBFBD><E1B9B9>
#if (defined(OS_WINDOWS64) || defined(OS_POSIX64))//win64<36><34>linux64<36><34>ָ<EFBFBD><D6B8>Ϊ8<CEAA>ֽ<EFBFBD>
void* pPicInfoEx;
#else
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣָ<CFA2><D6B8><><D6B8>NET_EHOME_CID_INFO_PICTUREINFO_EX<45><EFBFBD><E1B9B9>*/
void* pPicInfoEx;
BYTE byRes2[4];
#endif
BYTE byRes[44];
}NET_EHOME_CID_INFO, *LPNET_EHOME_CID_INFO;
typedef struct tagNET_EHOME_CID_INFO_PICTUREINFO_EX
{
char byPictureURL[MAX_PICTURE_NUM][MAX_URL_LEN];//ͼƬURL
BYTE byRes1[512];
} NET_EHOME_CID_INFO_PICTUREINFO_EX, *LPNET_EHOME_CID_INFO_PICTUREINFO_EX;
typedef struct tagNET_EHOME_CID_INFO_INTERNAL_EX
{
BYTE byRecheck; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD>˱<EFBFBD><CBB1><EFBFBD> 1-<2D><><EFBFBD>˱<EFBFBD><CBB1><EFBFBD><EFBFBD><EFBFBD>0-<2D><>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>
BYTE byRes[3];
char byUUID[MAX_UUID_LEN]; //<2F><><EFBFBD><EFBFBD>ΨһID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>ͬһ<CDAC><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD>˱<EFBFBD><CBB1><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD>Ϊ0<CEAA><30>
char byVideoURL[MAX_URL_LEN]; // byRecheckΪ1ʱ<31><CAB1>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD>˱<EFBFBD><CBB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>URL<52><4C>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>ڴӴ洢<D3B4><E6B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˱<EFBFBD><CBB1><EFBFBD><EFBFBD>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD>URL<52><4C>
char byCIDDescribeEx[CID_DES_LEN_EX]; //CID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ
char byVideoType[MAX_VIDEO_TYPE_LEN];
BYTE byLinkageSubSystem[MAX_SUBSYSTEM_LEN]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ
BYTE byRes1[176];
}NET_EHOME_CID_INFO_INTERNAL_EX, *LPNET_EHOME_CID_INFO_INTERNAL_EX;
typedef struct tagNET_EHOME_NOTICE_PICURL
{
DWORD dwSize;
char byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ע<E8B1B8><D7A2>ID
WORD wPicType; //ͼƬҵ<C6AC><D2B5><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD>0-P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BFBD><EFBFBD>
char byAlarmTime[MAX_TIME_LEN]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
DWORD dwCaptureChan; //ͼƬץ<C6AC><D7A5>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
char byPicTime[MAX_TIME_LEN]; //ͼƬʱ<C6AC><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3A9><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
char byPicUrl[MAX_URL_LEN]; //ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwManualSnapSeq; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˮ<EFBFBD>ţ<EFBFBD><C5A3>ֽ<EFBFBD><D6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PicTypeֵΪ2<CEAA><32><33><CAB1>Ч
BYTE byRetransFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ǣ<EFBFBD>0-ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byTimeDiffH; //byAlarmTime<6D><65>byPicTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD>Сʱ<D0A1><CAB1><EFBFBD><EFBFBD>-12 ... +14,0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byTimeDiffM; //byAlarmTime<6D><65>byPicTime<6D><65><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>׼ʱ<D7BC>䣨UTC<54><43><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EEA3A8><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD>-30,0, 30, 45, 0xff<66><66>ʾ<EFBFBD><CABE>Ч
BYTE byRes[29];
}NET_EHOME_NOTICE_PICURL, *LPNET_EHOME_NOTICE_PICURL;
//<2F><><EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD>ͳ<EFBFBD>Ƶ<EFBFBD>GPS<50><53>λ<EFBFBD><CEBB>Ϣ
typedef struct tagNET_EHOME_MPGPS
{
LONG iLongitude;
LONG iLatitude;
LONG iSpeed;
LONG iDirection;
}NET_EHOME_MPGPS, *LPNET_EHOME_MPGPS;
//<2F><><EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD>ͳ<EFBFBD>Ƶ<EFBFBD>GPS<50><53>λ<EFBFBD><CEBB>Ϣ
typedef struct tagNET_EHOME_MPDATA
{
BYTE byIndex; //<2F><>ǰ<EFBFBD><C7B0><EFBFBD>ű<EFBFBD><C5B1>ţ<EFBFBD><C5A3><EFBFBD>1<EFBFBD><31>ʼ
BYTE byVideoChannel; //<2F><>ǰ<EFBFBD><C7B0>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD>ţ<EFBFBD><C5A3><EFBFBD>1<EFBFBD><31>ʼ
BYTE byRes;
BYTE byLevel; //<2F><><EFBFBD><EFBFBD>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽǣ<C7BC>0-<2D>գ<EFBFBD>count<20<32><30>,1-һ<>㣨20<=count<=30<33><30>,2-<2D>϶ࣨ30<=count<=50<35><30>,3-ӵ<><D3B5><EFBFBD><EFBFBD>count>=50<35><30>
char byStarttime[MAX_TIME_LEN]; //<2F><>ʼͳ<CABC><CDB3>ʱ<EFBFBD><CAB1>/<2F><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3AC>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
char byStoptime[MAX_TIME_LEN]; //<2F><><EFBFBD><EFBFBD>ͳ<EFBFBD><CDB3>ʱ<EFBFBD><CAB1>/<2F><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3AC>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
DWORD dwEnterNum; //<2F><>¼ʱ<C2BC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwLeaveNum; //<2F><>¼ʱ<C2BC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBBFAA><EFBFBD><EFBFBD>
DWORD dwCount; // <20><>ǰʱ<C7B0>̳<EFBFBD><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}NET_EHOME_MPDATA, *LPNET_EHOME_MPDATA;
//<2F><><EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD>ͳ<EFBFBD>ƵĶ<C6B5>λ<EFBFBD><CEBB>Ϣ
typedef struct tagNET_EHOME_ALARM_MPDCDATA
{
BYTE byDeviceID[MAX_DEVICE_ID_LEN];//<2F>豸ID
char bySampleTime[MAX_TIME_LEN]; //GPS<50><53><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4A3AC>ʽ<EFBFBD><CABD>YYYY-MM-DD HH:MM:SS
BYTE byTimeZoneIdx; //ʱ<><CAB1>
BYTE byRetranseFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD>, 0-ʵʱ<CAB5><CAB1>, 1-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byRes[2];
NET_EHOME_MPGPS struGpsInfo; //GPS<50><53>Ϣ
NET_EHOME_MPDATA struMPData;
}NET_EHOME_ALARM_MPDCDATA, *LPNET_EHOME_ALARM_MPDCDATA;
typedef struct tagNET_EHOME_NOTIFY_FAIL_INFO
{
DWORD dwSize;
char byDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ע<E8B1B8><D7A2>ID
WORD wFailedCommand; //ʧ<>ܵ<EFBFBD><DCB5><EFBFBD><EFBFBD>1-ץͼʧ<CDBC><CAA7>
WORD wPicType; //ͼƬҵ<C6AC><D2B5><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD>ʧ<EFBFBD><CAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊץͼʧ<CDBC><CAA7>ʱ<EFBFBD><CAB1>Ч<EFBFBD><D0A7>0-PU<50><55>ʱץͼ<D7A5>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD>ģ<EFBFBD>1-PU<50><55><EFBFBD><EFBFBD>ץͼ<D7A5>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD>ģ<EFBFBD>2-CU<43>ֶ<EFBFBD>ץͼ<D7A5>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD>ģ<EFBFBD>
//3-CU<43><55><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC>4-<2D>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD>PUץͼ<D7A5>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD>
DWORD dwManualSnapSeq; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˮ<EFBFBD>ţ<EFBFBD><C5A3>ֽ<EFBFBD><D6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PicTypeֵΪ2<CEAA><32><33><CAB1>Ч
BYTE byRetransFlag; //<2F>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ǣ<EFBFBD>0-ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>1-<2D>ش<EFBFBD><D8B4><EFBFBD>
BYTE byRes[31];
}NET_EHOME_NOTIFY_FAIL_INFO, *LPNET_EHOME_NOTIFY_FAIL_INFO;
typedef struct tagNET_EHOME_ALARM_MSG
{
DWORD dwAlarmType; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void* pAlarmInfo; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD>
DWORD dwAlarmInfoLen; //<2F><EFBFBD><EFBFBD><E5B1A8><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
void* pXmlBuf; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD>XML<4D><4C>
DWORD dwXmlBufLen; //xml<6D><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
char sSerialNumber[NET_EHOME_SERIAL_LEN]; //<2F><EFBFBD><E8B1B8><EFBFBD>кţ<D0BA><C5A3><EFBFBD><EFBFBD>ڽ<EFBFBD><DABD><EFBFBD>Token<65><6E>֤
void* pHttpUrl;
DWORD dwHttpUrlLen;
BYTE byRes[12];
}NET_EHOME_ALARM_MSG, *LPNET_EHOME_ALARM_MSG;
typedef BOOL (CALLBACK *EHomeMsgCallBack)(LONG iHandle, NET_EHOME_ALARM_MSG *pAlarmMsg, void* pUser);
typedef struct tagNET_EHOME_ALARM_LISTEN_PARAM
{
NET_EHOME_IPADDRESS struAddress; //<2F><><EFBFBD>ؼ<EFBFBD><D8BC><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>IPΪ0.0.0.0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>Ĭ<EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBF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BD>ʹ<EFBFBD><CAB9><EFBFBD>̳߳أ<CCB3>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD>̳߳<DFB3>
BYTE byRes1;
DWORD dwKeepAliveSec; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>,0:Ĭ<><C4AC>Ϊ30S<30><53>
DWORD dwTimeOutCount; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30>Ĭ<EFBFBD><C4AC>Ϊ3<CEAA><33>
BYTE byRes[20];
}NET_EHOME_ALARM_LISTEN_PARAM, *LPNET_EHOME_ALARM_LISTEN_PARAM;
typedef struct tagNET_EHOME_ALARM_ISAPI_INFO
{
char* pAlarmData; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwAlarmDataLen; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
BYTE byDataType; // 0-invalid,1-xml,2-json
BYTE byPicturesNumber; // ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>
BYTE byRes[2];
void* pPicPackData; // ͼƬ<CDBC><EFBFBD><E4B3A4><EFBFBD><EFBFBD>,byPicturesNumber<65><72>NET_EHOME_ALARM_ISAPI_PICDATA
BYTE byRes1[32];
}NET_EHOME_ALARM_ISAPI_INFO, *LPNET_EHOME_ALARM_ISAPI_INFO;
//<2F><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>ISAPI<50>ϴ<EFBFBD><CFB4>ı<EFBFBD><C4B1><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD>ݽṹ<DDBD><E1B9B9>
typedef struct tagNET_EHOME_ALARM_ISAPI_PICDATA
{
DWORD dwPicLen; //<2F><><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>
BYTE byRes[4];
char szFilename[MAX_FILE_PATH_LEN];//<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>
BYTE* pPicData; //<2F><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>
}NET_EHOME_ALARM_ISAPI_PICDATA, *LPNET_EHOME_ALARM_ISAPI_PICDATA;
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>˽<EFBFBD><CBBD>Э<EFBFBD><D0AD> begin
#define NET_EHOME_C2S_WEATHERINFO 0x61 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
#define NET_EHOME_C2S_LOCAL_DEVOFFLINE 0xA00 //<2F><EFBFBD><E8B1B8><EFBFBD><EFBFBD>֪ͨ
#define NET_EHOME_C2S_REPORT_TERMINAL_STATUS 0x1002 //<2F>ն<EFBFBD><D5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD>״̬
#define NET_EHOME_C2S_PROGESS_REPORT 0xAF301 //<2F>ն˽<D5B6><CBBD><EFBFBD><EFBFBD>ϱ<EFBFBD>
//<2F>ն<EFBFBD><D5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݽṹ
typedef struct tagNET_EHOME_TERMINAL_REPORT_INFO
{
DWORD dwSubCmd; //<2F><>ʶ<EFBFBD>ն<EFBFBD><D5B6>ϱ<EFBFBD><CFB1><EFBFBD><EFBFBD><EFBFBD>ʲô<CAB2><C3B4><EFBFBD><EFBFBD>
DWORD dwContentLen; //<2F>ն<EFBFBD><D5B6>ϱ<EFBFBD><CFB1>ľ<EFBFBD><C4BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݵij<DDB5><C4B3><EFBFBD>
BYTE byContentBuf[2048]; //<2F>ն<EFBFBD><D5B6>ϱ<EFBFBD><CFB1>ľ<EFBFBD><C4BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BYTE byRes[64];
}NET_EHOME_TERMINAL_REPORT_INFO, *LPNET_EHOME_TERMINAL_REPORT_INFO;
//<2F>ն˲<D5B6><CBB2><EFBFBD>״̬
typedef enum
{
NET_EHOME_INVAILD_STATE = 0,
NET_EHOME_HDMI = 1, //HDMI״̬
NET_EHOME_VGA, //VGA״̬
NET_EHOME_SCHEDULE_PLAY, //<2F>ճ̲<D5B3><CCB2><EFBFBD>
NET_EHOME_SCHEDULE_STOP, //<2F>ճ<EFBFBD>ֹͣ
NET_EHOME_SCREEN_OFF, //<2F><>Ļ<EFBFBD><C4BB>
}NET_EHOME_TERMINAL_PLAY_STATE;
//<2F>ն<EFBFBD><D5B6><EFBFBD><EFBFBD><EFBFBD>
typedef enum
{
NET_EHOME_INVAILD_TERMINAL_TYPE = 0,
NET_EHOME_ANDROID_STANDARD = 1, //<2F><>׿<EFBFBD><D7BF>׼
NET_EHOME_ANDROID_DECODE, //<2F><>׿<EFBFBD><D7BF><EFBFBD><EFBFBD>
NET_EHOME_ANDROID_TOUCH, //<2F><>׿<EFBFBD><D7BF><EFBFBD><EFBFBD>
}NET_EHOME_TERMINAL_TYPE;
//<2F>岥״̬
typedef enum
{
NET_EHOME_INVAILD_INSERT_TYPE = 0,
NET_EHOME_INSERT_END = 1, //<2F><EFBFBD><E5B2A5><EFBFBD><EFBFBD>
NET_EHOME_INSERT_PUBLISH, //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ն˷<D5B6><CBB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݰ<EFBFBD>
NET_EHOME_INSERT_START = 3, //<2F><EFBFBD><E5B2A5>ʼ
NET_EHOME_INSERT_FAIL, //<2F>岥ʧ<E5B2A5><CAA7>
}NET_EHOME_INSERT_STATE;
//<2F>ն<EFBFBD>״̬
typedef struct tagNET_EHOME_TERMINAL_STATE
{
NET_EHOME_TERMINAL_PLAY_STATE enumPlayState; //<2F><><EFBFBD><EFBFBD>״̬
NET_EHOME_TERMINAL_TYPE enumTerminalType; //<2F>ն<EFBFBD><D5B6><EFBFBD><EFBFBD><EFBFBD>
NET_EHOME_INSERT_STATE enumInsertState; //<2F>岥״̬
BYTE bySoftVersion[32]; //<2F>ն˵<D5B6><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B1BE>
BYTE byLocalIP[32]; //<2F>ն˵<D5B6>IP
DWORD dwTermAbnormalState; //<2F>ն<EFBFBD><D5B6>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C2B6><EFBFBD>ػ<EFBFBD>״̬<D7B4><CCAC>0-<2D><><EFBFBD><EFBFBD>1-<2D><>
}NET_EHOME_TERMINAL_STATE, *LPNET_EHOME_TERMINAL_STATE;
//<2F>ն˽<D5B6><CBBD><EFBFBD>
typedef struct tagNET_EHOME_TERMINAL_PROGRESS
{
DWORD dwTerminalId; //<2F>ն<EFBFBD>ID
DWORD dwTermStatus; //<2F>ն<EFBFBD>״̬<D7B4><CCAC>1-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2-<2D>
DWORD dwProgessType; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<>زĽ<D8B2><C4BD>ȣ<EFBFBD>2<EFBFBD><32>Ŀ<EFBFBD><C4BF><EFBFBD>ȣ<EFBFBD>3<EFBFBD>ճ̽<D5B3><CCBD>ȣ<EFBFBD>4<EFBFBD><34><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DWORD dwUniqueID; //<2F>ճ<EFBFBD>ID<49><44><EFBFBD><EFBFBD>ĿID<49><44><EFBFBD>ز<EFBFBD>ID(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD>Ч)
BYTE byMainProgess; //0-100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><ECB3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ܽ<EFBFBD><DCBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD>ӽ<EFBFBD><D3BD>ȣ<EFBFBD>
BYTE bySubProgess; //<2F><><EFBFBD>ص<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC>Ľ<EFBFBD><C4BD><EFBFBD>
}NET_EHOME_TERMINAL_PROGRESS, *LPNET_EHOME_TERMINAL_PROGRESS;
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>˽<EFBFBD><CBBD>Э<EFBFBD><D0AD> end
typedef enum tagNET_EHOME_EALARM_INIT_CFG_TYPE
{
NET_EHOME_EALARM_INIT_CFG_LIBEAY_PATH = 0, //<2F><><EFBFBD><EFBFBD>OpenSSL<53><4C>libeay32.dll/libcrypto.so/libcrypto.dylib<69><62><EFBFBD><EFBFBD>·<EFBFBD><C2B7>
NET_EHOME_EALARM_INIT_CFG_SSLEAY_PATH = 1 //<2F><><EFBFBD><EFBFBD>OpenSSL<53><4C>ssleay32.dll/libssl.so/libssl.dylib<69><62><EFBFBD><EFBFBD>·<EFBFBD><C2B7>
}NET_EHOME_EALARM_INIT_CFG_TYPE;
//<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>
NET_DVR_API BOOL CALLBACK NET_EALARM_Init();
NET_DVR_API BOOL CALLBACK NET_EALARM_Fini();
NET_DVR_API BOOL CALLBACK NET_EALARM_SetSDKInitCfg(NET_EHOME_EALARM_INIT_CFG_TYPE enumType, void* const lpInBuff);
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
NET_DVR_API DWORD CALLBACK NET_EALARM_GetLastError();
//<2F><>־
NET_DVR_API BOOL CALLBACK NET_EALARM_SetLogToFile(LONG iLogLevel, const char *strLogDir, BOOL bAutoDel);
//<2F><>ȡ<EFBFBD><EFBFBD><E6B1BE>
NET_DVR_API DWORD CALLBACK NET_EALARM_GetBuildVersion();
NET_DVR_API LONG CALLBACK NET_EALARM_StartListen(NET_EHOME_ALARM_LISTEN_PARAM *pAlarmListenParam);
NET_DVR_API BOOL CALLBACK NET_EALARM_StopListen(LONG iListenHandle);
NET_DVR_API BOOL CALLBACK NET_EALARM_SetSDKLocalCfg(NET_EHOME_LOCAL_CFG_TYPE enumType, void* const lpInBuff);
NET_DVR_API BOOL CALLBACK NET_EALARM_GetSDKLocalCfg(NET_EHOME_LOCAL_CFG_TYPE enumType,void* lpOutBuff);
//<2F><><EFBFBD><EFBFBD><EFBFBD>豸SessionKey<65><79>Ϣ
NET_DVR_API BOOL CALLBACK NET_EALARM_SetDeviceSessionKey(NET_EHOME_DEV_SESSIONKEY* pDeviceKey);
//<2F><>ȡ<EFBFBD>豸EhomeKey<65><79>Ϣ
NET_DVR_API BOOL CALLBACK NET_EALARM_GetDeviceSessionKey(NET_EHOME_DEV_SESSIONKEY* pDeviceKey);
#endif //_HC_EHOME_ALARM_H_