336 lines
17 KiB
C
336 lines
17 KiB
C
|
#ifndef _HC_EHOME_PUBLIC_H_
|
|||
|
#define _HC_EHOME_PUBLIC_H_
|
|||
|
|
|||
|
//<2F><>SDK<44><4B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>壬Ϊ<E5A3AC><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>HCNetSDK<44><4B><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ض<EFBFBD><D8B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#ifndef _HC_NET_SDK_H_
|
|||
|
|
|||
|
//-------------ƽ̨<C6BD><CCA8><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͷ<EFBFBD><CDB6><EFBFBD> begin----------------------------
|
|||
|
|
|||
|
#if (defined(_WIN32)) //windows
|
|||
|
#define NET_DVR_API extern "C" __declspec(dllimport)
|
|||
|
typedef unsigned __int64 UINT64;
|
|||
|
#elif defined(__linux__) || defined(__APPLE__) //linux
|
|||
|
typedef unsigned int DWORD;
|
|||
|
typedef unsigned short WORD;
|
|||
|
typedef unsigned short USHORT;
|
|||
|
typedef short SHORT;
|
|||
|
typedef int LONG;
|
|||
|
typedef unsigned char BYTE;
|
|||
|
#define BOOL int
|
|||
|
typedef unsigned int UINT;
|
|||
|
typedef void* LPVOID;
|
|||
|
typedef void* HANDLE;
|
|||
|
typedef unsigned int* LPDWORD;
|
|||
|
typedef unsigned long long UINT64;
|
|||
|
|
|||
|
#ifndef TRUE
|
|||
|
#define TRUE 1
|
|||
|
#endif
|
|||
|
#ifndef FALSE
|
|||
|
#define FALSE 0
|
|||
|
#endif
|
|||
|
#ifndef NULL
|
|||
|
#define NULL 0
|
|||
|
#endif
|
|||
|
|
|||
|
#define __stdcall
|
|||
|
#define CALLBACK
|
|||
|
|
|||
|
#define NET_DVR_API extern "C"
|
|||
|
#endif //linux
|
|||
|
|
|||
|
#if defined(_WIN64)
|
|||
|
#define OS_WINDOWS64 1
|
|||
|
#endif
|
|||
|
|
|||
|
#if defined(__LP64__)
|
|||
|
#define OS_POSIX64 1
|
|||
|
#endif
|
|||
|
|
|||
|
|
|||
|
//-------------ƽ̨<C6BD><CCA8><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͷ<EFBFBD><CDB6><EFBFBD> end----------------------------
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD>/<2F><><EFBFBD>͵Ⱥ궨<C8BA>壨<EFBFBD><E5A3A8><EFBFBD><EFBFBD>HCNetSDK<44>еĶ<D0B5><C4B6>壩 Begin--------
|
|||
|
#define MAX_DEVNAME_LEN 32 //<2F>豸<EFBFBD><E8B1B8><EFBFBD>Ƴ<EFBFBD><C6B3>ȣ<EFBFBD><C8A3><EFBFBD>HCNetSDK<44><4B>ͷ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>Ҳ<EFBFBD>ж<EFBFBD><D0B6>壩
|
|||
|
#define MAX_DEVNAME_LEN_EX 64 //<2F>豸<EFBFBD><E8B1B8><EFBFBD>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><D5B9><EFBFBD><EFBFBD>HCNetSDK<44><4B>ͷ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>Ҳ<EFBFBD>ж<EFBFBD><D0B6>壩
|
|||
|
#define NAME_LEN 32 //<2F>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD>HCNetSDK<44><4B>ͷ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>Ҳ<EFBFBD>ж<EFBFBD><D0B6>壩
|
|||
|
#define MAX_TIME_LEN 32 //ʱ<><CAB1><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD>HCNetSDK<44><4B>ͷ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>Ҳ<EFBFBD>ж<EFBFBD><D0B6>壩
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD>/<2F><><EFBFBD>͵Ⱥ궨<C8BA>壨<EFBFBD><E5A3A8><EFBFBD><EFBFBD>HCNetSDK<44>еĶ<D0B5><C4B6>壩 End---------
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD><EFBFBD>붨<EFBFBD>壨<EFBFBD><E5A3A8><EFBFBD><EFBFBD>HCNetSDK<44>еĴ<D0B5><C4B4><EFBFBD><EFBFBD>룩Begin-------------
|
|||
|
#define NET_DVR_NOERROR 0 //û<>д<EFBFBD><D0B4><EFBFBD>
|
|||
|
#define NET_DVR_PASSWORD_ERROR 1 //<2F>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_NOENOUGHPRI 2 //Ȩ<><EFBFBD><DEB2><EFBFBD>
|
|||
|
#define NET_DVR_NOINIT 3 //û<>г<EFBFBD>ʼ<EFBFBD><CABC>
|
|||
|
#define NET_DVR_CHANNEL_ERROR 4 //ͨ<><CDA8><EFBFBD>Ŵ<EFBFBD><C5B4><EFBFBD>
|
|||
|
#define NET_DVR_OVER_MAXLINK 5 //<2F><><EFBFBD>ӵ<EFBFBD>DVR<56>Ŀͻ<C4BF><CDBB>˸<EFBFBD><CBB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_VERSIONNOMATCH 6 //<2F>汾<EFBFBD><E6B1BE>ƥ<EFBFBD><C6A5>
|
|||
|
#define NET_DVR_NETWORK_FAIL_CONNECT 7 //<2F><><EFBFBD>ӷ<EFBFBD><D3B7><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_NETWORK_SEND_ERROR 8 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_NETWORK_RECV_ERROR 9 //<2F>ӷ<EFBFBD><D3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_NETWORK_RECV_TIMEOUT 10 //<2F>ӷ<EFBFBD><D3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD>ʱ
|
|||
|
#define NET_DVR_NETWORK_ERRORDATA 11 //<2F><><EFBFBD>͵<EFBFBD><CDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ORDER_ERROR 12 //<2F><><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_OPERNOPERMIT 13 //<2F><EFBFBD>Ȩ<EFBFBD><C8A8>
|
|||
|
#define NET_DVR_COMMANDTIMEOUT 14 //DVR<56><52><EFBFBD><EFBFBD>ִ<EFBFBD>г<EFBFBD>ʱc
|
|||
|
|
|||
|
#define NET_DVR_PARAMETER_ERROR 17 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define NET_DVR_NOSUPPORT 23 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD><D6A7>
|
|||
|
|
|||
|
#define NET_DVR_DVROPRATEFAILED 29 //DVR<56><52><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
|
|||
|
#define NET_DVR_DIR_ERROR 40 //·<><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ALLOC_RESOURCE_ERROR 41 //<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_AUDIO_MODE_ERROR 42 //<2F><><EFBFBD><EFBFBD>ģʽ<C4A3><CABD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_NOENOUGH_BUF 43 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̫С
|
|||
|
#define NET_DVR_CREATESOCKET_ERROR 44 //<2F><><EFBFBD><EFBFBD>SOCKET<45><54><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_SETSOCKET_ERROR 45 //<2F><><EFBFBD><EFBFBD>SOCKET<45><54><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_MAX_NUM 46 //<2F><><EFBFBD><EFBFBD><EFBFBD>ﵽ<EFBFBD><EFB5BD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_USERNOTEXIST 47 //<2F>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define NET_DVR_GETLOCALIPANDMACFAIL 53 //<2F><><EFBFBD>ñ<EFBFBD><C3B1>ص<EFBFBD>IP<49><50>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַʧ<D6B7><CAA7>
|
|||
|
|
|||
|
#define NET_DVR_VOICEMONOPOLIZE 69 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ռ
|
|||
|
|
|||
|
#define NET_DVR_CREATEDIR_ERROR 71 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD>ļ<EFBFBD>Ŀ¼ʧ<C2BC><CAA7>
|
|||
|
#define NET_DVR_BINDSOCKET_ERROR 72 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><D7BD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_SOCKETCLOSE_ERROR 73 //socket<65><74><EFBFBD><EFBFBD><EFBFBD>жϣ<D0B6><CFA3>˴<EFBFBD><CBB4><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>жϻ<D0B6>Ŀ<EFBFBD>ĵز<C4B5><D8B2>ɴ<EFBFBD>
|
|||
|
#define NET_DVR_USERID_ISUSING 74 //ע<><D7A2>ʱ<EFBFBD>û<EFBFBD>ID<49><44><EFBFBD>ڽ<EFBFBD><DABD><EFBFBD>ij<EFBFBD><C4B3><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_SOCKETLISTEN_ERROR 75 //<2F><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
|
|||
|
#define NET_DVR_CONVERT_SDK_ERROR 85 //<2F><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
|
|||
|
#define NET_DVR_FUNCTION_NOT_SUPPORT_OS 98 //<2F>˹<EFBFBD><CBB9>ܲ<EFBFBD>֧<EFBFBD>ָò<D6B8><C3B2><EFBFBD>ϵͳ
|
|||
|
|
|||
|
#define NET_DVR_USE_LOG_SWITCH_FILE 103 //<2F><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD>־<EFBFBD><D6BE><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
|
|||
|
|
|||
|
#define NET_DVR_PACKET_TYPE_NOT_SUPPORT 105 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װ<EFBFBD><D7B0>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define NET_DVR_STREAM_ENCRYPT_CHECK_FAIL 130 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><D0A3>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_CERTIFICATE_FILE_ERROR 147
|
|||
|
#define NET_DVR_LOAD_SSL_LIB_ERROR 148
|
|||
|
#define NET_DVR_SSL_VERSION_NOT_MATCH 149
|
|||
|
#define NET_DVR_LOAD_LIBEAY32_DLL_ERROR 156
|
|||
|
#define NET_DVR_LOAD_SSLEAY32_DLL_ERROR 157
|
|||
|
#define NET_ERR_LOAD_LIBICONV 158
|
|||
|
#define NET_ERR_SSL_CONNECT_FAILED 159
|
|||
|
#define NET_ERR_LOAD_ZLIB 161
|
|||
|
#define NET_ERR_OPENSSL_NO_INIT 162
|
|||
|
|
|||
|
#define NET_PREVIEW_ERR_CHANNEL_BUSY 165
|
|||
|
#define NET_PREVIEW_ERR_CLIENT_BYSY 166
|
|||
|
#define NET_PREVIEW_ERR_STREAM_UNSUPPORT 167
|
|||
|
#define NET_PREVIEW_ERR_TRANSPORT_UNSUPPORT 168
|
|||
|
#define NET_PREVIEW_ERR_CONNECT_SERVER_FAIL 169
|
|||
|
#define NET_PREVIEW_ERR_QUERY_WLAN_INFO_FAIL 170
|
|||
|
#define NET_PREVIEW_ERR_NO_VIDEO_FAIL 171
|
|||
|
#define NET_PREVIEW_ERR_SET_ENCODE_PARAM_FAIL 172
|
|||
|
#define NET_PREVIEW_ERR_SET_PACK_TYPE_FAIL 173
|
|||
|
#define NET_PREVIEW_ERR_NOW_IN_PREVIEW_FAIL 174
|
|||
|
#define NET_PREVIEW_ERR_NOW_IN_PRESTREAM_FAIL 175
|
|||
|
#define NET_PREVIEW_ERR_BREAKOFF_PRESTREAM_FAIL 176
|
|||
|
#define NET_PREVIEW_ERR_P2P_NOT_FOUND 177
|
|||
|
|
|||
|
#define NET_SDK_ERR_CREATE_PORT_MULTIPLEX 184
|
|||
|
#define NET_SDK_ERR_MAX_PORT_MULTIPLEX 187
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_AUDIOINTERCOM_OK 600 //<2F><EFBFBD><DEB4><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_NOTSUPORT 601 //<2F><>֧<EFBFBD><D6A7>
|
|||
|
#define NET_AUDIOINTECOM_ERR_ALLOC_MEMERY 602 //<2F>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_PARAMETER 603 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_CALL_ORDER 604 //<2F><><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_FIND_DEVICE 605 //δ<><CEB4><EFBFBD><EFBFBD><EFBFBD>豸
|
|||
|
#define NET_AUDIOINTECOM_ERR_OPEN_DEVICE 606 //<2F><><EFBFBD>ܴ<EFBFBD><DCB4><EFBFBD><EFBFBD>豸<EFBFBD><E8B1B8>
|
|||
|
#define NET_AUDIOINTECOM_ERR_NO_CONTEXT 607 //<2F>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD>ij<EFBFBD><C4B3><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_NO_WAVFILE 608 //WAV<41>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_INVALID_TYPE 609 //<2F><>Ч<EFBFBD><D0A7>WAV<41><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_AUDIOINTECOM_ERR_ENCODE_FAIL 610 //<2F><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_AUDIOINTECOM_ERR_DECODE_FAIL 611 //<2F><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_AUDIOINTECOM_ERR_NO_PLAYBACK 612 //<2F><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_AUDIOINTECOM_ERR_DENOISE_FAIL 613 //<2F><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_AUDIOINTECOM_ERR_UNKOWN 619 //δ֪<CEB4><D6AA><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD><EFBFBD>붨<EFBFBD>壨<EFBFBD><E5A3A8><EFBFBD><EFBFBD>HCNetSDK<44>еĴ<D0B5><C4B4><EFBFBD><EFBFBD>룩End-------------
|
|||
|
|
|||
|
#endif //_HC_NET_SDK_H_
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD>/<2F><><EFBFBD>͵Ⱥ궨<C8BA>壨ISUPSDK<44><4B><EFBFBD>У<EFBFBD> Begin---------------
|
|||
|
#define MAX_DEVICE_ID_LEN 256 //<2F>豸ID<49><44><EFBFBD><EFBFBD>
|
|||
|
#define NET_EHOME_SERIAL_LEN 12
|
|||
|
#define MAX_FULL_SERIAL_NUM_LEN 64
|
|||
|
#define MAX_MASTER_KEY_LEN 16
|
|||
|
|
|||
|
#define REGISTER_LISTEN_MODE_ALL 0 //Ĭ<><C4AC>Ϊ<EFBFBD><CEAA><EFBFBD>ַ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>TCP<43><50>UDP<44><50><EFBFBD>ַ<EFBFBD>ʽ
|
|||
|
#define REGISTER_LISTEN_MODE_UDP 1 //ע<><D7A2>ֻ<EFBFBD><D6BB>UDP<44><50><EFBFBD>м<EFBFBD><D0BC><EFBFBD>
|
|||
|
#define REGISTER_LISTEN_MODE_TCP 2 //ע<><D7A2>ֻ<EFBFBD><D6BB>TCP<43><50><EFBFBD>м<EFBFBD><D0BC><EFBFBD>
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD>/<2F><><EFBFBD>͵Ⱥ궨<C8BA>壨ISUPSDK<44><4B><EFBFBD>У<EFBFBD> End---------------
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD><EFBFBD>붨<EFBFBD>壨ISUPSDK<44><4B><EFBFBD>У<EFBFBD> Begin-------
|
|||
|
#define NET_ERR_INFOPUBLISH_APP_NOTRUN 1065 //<2F><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>
|
|||
|
#define NET_ERR_ATTENDANCE_APP_NOTRUN 1066 //<2F><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define NET_ERR_TERM_NAME_REPEAT 1313 //<2F>ն<EFBFBD><D5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD>
|
|||
|
#define NET_ERR_TERM_SERIAL_REPEAT 1314 //<2F>ն<EFBFBD><D5B6><EFBFBD><EFBFBD>к<EFBFBD><D0BA>ظ<EFBFBD>
|
|||
|
|
|||
|
#define NET_ERR_FILE_NOT_EXIST 1352 //<2F>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
//<2F><><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_LF_INTERFACE_REPEAT_CALL 2400 //<2F>ӿ<EFBFBD><D3BF>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_LF_INTERFACE_REPEAT_FIRST_PACK 2401 //<2F>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD>ǵ<EFBFBD>һ<EFBFBD><D2BB>
|
|||
|
#define NET_DVR_LF_INTERFACE_NO_FIRST_PACK 2402 //δ<><CEB4><EFBFBD>ǵ<EFBFBD>һ<EFBFBD><D2BB>
|
|||
|
#define NET_DVR_READFILE_FAILED 2403 //<2F><><EFBFBD>ļ<EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_FILE_TOO_LARGE 2404 //<2F>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_FILE_ILLEGAL 2405 //<2F>Ƿ<EFBFBD><C7B7>ļ<EFBFBD>
|
|||
|
#define NET_DVR_INVALID_URL 2406 //<2F><>ЧURL
|
|||
|
|
|||
|
#define NET_DVR_LOAD_SQLITE_ERROR 254 //<2F><><EFBFBD><EFBFBD>sqlite.dll<6C><6C>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_SQLITE_VERSION_NOT_MATCH 255 //sqlite<74>汾<EFBFBD><E6B1BE>ƥ<EFBFBD><C6A5>
|
|||
|
|
|||
|
#define NET_SS_CLIENT_ERR_KMS_TOKEN_FAIL 3601 //KMSͼƬ<CDBC>ϴ<EFBFBD>Э<EFBFBD><D0AD>,<2C><>ȡTokenʧ<6E><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_KMS_UPLOAD_FAIL 3602 //KMSͼƬ<CDBC>ϴ<EFBFBD>Э<EFBFBD><D0AD>,<2C>ϴ<EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_CLOUD_POOLIST_FAIL 3603 //<2F>ƴ洢Э<E6B4A2><D0AD>,<2C><>ȡ<EFBFBD><C8A1>Դ<EFBFBD><D4B4>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_CLOUD_BESTNODE_FAIL 3604 //<2F>ƴ洢Э<E6B4A2><D0AD>,<2C><>ȡ<EFBFBD><C8A1><EFBFBD>Žڵ<C5BD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_DOWNLOAD_PIC_FAIL 3605 //EHome5.0<EFBFBD>洢Э<EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD>ͼƬʧ<C6AC><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_DELETE_PIC_FAIL 3606 //EHome5.0<EFBFBD>洢Э<EFBFBD><EFBFBD>,ɾ<><C9BE>ͼƬʧ<C6AC><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_PROTO_UNSAFE 3607 // [add] by yangzheng 2020/03/13 EHome5.0, storage server in security mode, nonsupport unsafe protocol VRB/Tomcat
|
|||
|
#define NET_SS_CLIENT_ERR_FILE_INEXISTED 3608 // [add] by yangzheng 2020/03/13 EHome5.0, delete or download file not existed
|
|||
|
#define NET_SS_CLIENT_ERR_AUTH_FAILED 3609 // [add] by yangzheng 2020/03/13 authentication failed
|
|||
|
#define NET_SS_CLIENT_ERR_UPLOAD_FAIL 3610 // picture upload failed, Clound\VRB\Tomcat
|
|||
|
#define NET_SS_CLIENT_ERR_MAX_FILE_LEN 3611 //picture upload failed, exceed max file len 50M
|
|||
|
|
|||
|
#define NET_SS_CLIENT_ERR_DOWNLOAD_VIDEOFILE_FAIL 3612 //<2F><><EFBFBD>Ĵ洢Э<E6B4A2><D0AD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD>ļ<EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_SS_CLIENT_ERR_DELETE_VIDEOFILE_FAIL 3613 //<2F><><EFBFBD>Ĵ洢Э<E6B4A2><D0AD>,ɾ<><C9BE><EFBFBD><EFBFBD>Ƶ<EFBFBD>ļ<EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
//EHome5.0Э<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_UNKNOW_ERROR 3701 //δ֪<CEB4><D6AA><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_PARSE_FAILED 3702 //<2F><><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_SYSTEM_ERROR 3703 //ϵͳ<CFB5>ڲ<EFBFBD><DAB2><EFBFBD><EFBFBD><EFBFBD><F3A3A8B1><EFBFBD><EFBFBD>豸ϵͳ<CFB5><CDB3><EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_COMMAND_UNKNOW 3704 //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_COMMAND_NO_LONGER_SUPPORTED 3705 //<2F><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_COMMAND_NOT_SUITABLE 3706 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_COMMAND_NOT_ALLOW 3707 //δ<><CEB4>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_CHECKSUM_ERROR 3708 //У<><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_HEADER_INVALID 3709 //<2F><>Ϣͷ<CFA2>Ƿ<EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_LENGTH_INVALID 3710 //<2F><>Ϣ<EFBFBD><CFA2><EFBFBD>ȷǷ<C8B7>
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_BUSY 3711 //<2F>豸<EFBFBD><EFBFBD><DEB7><EFBFBD>Ӧ
|
|||
|
#define NET_DVR_ERR_GENERAL_OPERATION_FAILED 3712 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NO_CRYPTO_FOUND 3713 //<2F>豸<EFBFBD><E8B1B8>ƽ̨δ<CCA8>ҵ<EFBFBD><D2B5><EFBFBD>Ӧ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>㷨
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_REFUSED 3714 //<2F>ܾ<EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NO_RESOURCE 3715 //û<>п<EFBFBD><D0BF><EFBFBD><EFBFBD><EFBFBD>Դ
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_CHANNEL_ERROR 3716 //ͨ<><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_SYSTEM_COMMAND_PU_COMMAND_UNSUPPORTED 3717 //<2F><>֧<EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_SYSTEM_COMMAND_PU_NO_RIGHTS_TO_DO_COMMAND 3718 //û<><C3BB>Ȩ<EFBFBD><C8A8>
|
|||
|
#define NET_DVR_ERR_GENERAL_NO_SESSION_FOUND 3719 //û<><C3BB><EFBFBD>ҵ<EFBFBD><D2B5>Ự
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NO_VALID_PRELINK 3720 //û<>п<EFBFBD><D0BF>õ<EFBFBD>P2PԤ<50><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NO_INNER_RESOURCE 3721 //û<>п<EFBFBD><D0BF>õ<EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD>Դ
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NO_P2P_RESOURCE 3722 //û<>п<EFBFBD><D0BF>õ<EFBFBD>P2P<32><50>Դ
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NO_UESR 3723 //<2F>豸δ<E8B1B8><CEB4><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_TICKET_EXPIRED 3724 //<2F><><EFBFBD><EFBFBD>ƾ֤<C6BE><D6A4><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_TICKET_INVALID 3725 //<2F><><EFBFBD><EFBFBD>ƾ֤<C6BE><D6A4>Ч
|
|||
|
#define NET_DVR_ERR_GENERAL_NO_P2PSERVER_RESOURCE 3726 //<2F><EFBFBD><DEBF><EFBFBD>P2P<32><50><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_PU_NOT_FOUND 3727 //δ<>ҵ<EFBFBD><D2B5>豸<EFBFBD><E8B1B8><EFBFBD>豸<EFBFBD><E8B1B8>P2PServer<65><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_GENERAL_SESSION_FREED 3728 //<2F>Ự<EFBFBD><E1BBB0><EFBFBD>ͷ<EFBFBD>
|
|||
|
#define NET_DVR_ERR_RECORD_SEARCH_START_TIME_ERROR 3729 //<2F><><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>ʼʱ<CABC><CAB1><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_RECORD_SEARCH_STOP_TIME_ERROR 3730 //<2F><><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_RECORD_SEARCH_FAIL 3731 //<2F><><EFBFBD><EFBFBD>¼<EFBFBD><C2BC>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_ERR_RECORD_NO_RESOURCE 3732 //¼<><C2BC>ʧ<EFBFBD>ܣ<EFBFBD><DCA3><EFBFBD><DEBF>ô洢<C3B4><E6B4A2>Դ
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_LOCAL_FAILED 3733 //<2F>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD>ץͼʧ<CDBC><CAA7>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_APPLY_CACHE_FAILED 3734 //ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_PARSE_PMS_DOMAIN_FAILED 3735 //PMS<4D><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_CONNECT_PMS_FAILED 3736 //PMS<4D><53><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_CREATE_PMS_PACKET_FAILED 3737 //<2F><><EFBFBD><EFBFBD>PMS<4D><53><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_SEND_PMS_FAILED 3738 //PMS<4D><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_RECV_PMS_FAILED 3739 //PMS<4D><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_PARSE_PMS_RESPONSE_FAILED 3740 //PMSӦ<53><D3A6><EFBFBD><EFBFBD><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_DVR_ERR_CAPTURE_PIC_GET_URL_FAILED 3741 //<2F><>ȡURLʧ<4C><CAA7>
|
|||
|
|
|||
|
#define NET_DVR_DATABASE_OPEN_ERROR 8001 //<2F><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_DATABASE_INSERT_ERROR 8002 //<2F><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
#define NET_DVR_DATABASE_TABLE_ERROR 8003 //<2F><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><DFBB>Ѵ<EFBFBD><D1B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 8301~8330
|
|||
|
#define NET_ERR_DEV_SLEEP 8301 //<2F>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define NET_ERR_DEV_GOINGTOSLEEP 8302 //<2F><>ǰ<EFBFBD>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD><DFB6><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD>У<EFBFBD>Ԥ<EFBFBD><D4A4>13S<33><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><DEB7><EFBFBD><EFBFBD><EFBFBD>NET_ECMS_WakeUp<55>ӿڵĻ<DAB5><C4BB>Ѳ<EFBFBD><D1B2><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD><DFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4>ſ<EFBFBD><C5BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>ѽӿ<D1BD>
|
|||
|
|
|||
|
//-------------<2D><><EFBFBD><EFBFBD><EFBFBD>붨<EFBFBD>壨ISUPSDK<44><4B><EFBFBD>У<EFBFBD> End-------
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_IPADDRESS
|
|||
|
{
|
|||
|
char szIP[128];
|
|||
|
WORD wPort; //<2F>˿<EFBFBD>
|
|||
|
char byRes[2];
|
|||
|
}NET_EHOME_IPADDRESS, *LPNET_EHOME_IPADDRESS;
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_ZONE
|
|||
|
{
|
|||
|
DWORD dwX; //X<><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
DWORD dwY; //Y<><59><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
DWORD dwWidth; //<2F><><EFBFBD><EFBFBD>
|
|||
|
DWORD dwHeight; //<2F>߶<EFBFBD>
|
|||
|
}NET_EHOME_ZONE, *LPNET_EHOME_ZONE;
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
typedef enum tagNET_EHOME_LOCAL_CFG_TYPE
|
|||
|
{
|
|||
|
UNDEFINE = -1, //<2F><>ʱû<CAB1>о<EFBFBD><D0BE><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD>
|
|||
|
ACTIVE_ACCESS_SECURITY = 0, //<2F>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>ȫ<EFBFBD><C8AB>
|
|||
|
AMS_ADDRESS = 1, //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ػػ<D8BB><D8BB><EFBFBD>ַ
|
|||
|
SEND_PARAM = 2, //<2F><><EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
SET_REREGISTER_MODE = 3, //<2F><><EFBFBD><EFBFBD><EFBFBD>豸<EFBFBD>ظ<EFBFBD>ע<EFBFBD><D7A2>ģʽ
|
|||
|
LOCAL_CFG_TYPE_GENERAL = 4, //ͨ<>ò<EFBFBD><C3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
COM_PATH = 5, //COM·<4D><C2B7>
|
|||
|
SESSIONKEY_REQ_MOD = 6, //sessionkey<65><79><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7>ص<EFBFBD><D8B5><EFBFBD>lpInBuff<66><66><EFBFBD><EFBFBD>ΪHPR_BOOL*,HPR_TRUE/HPR_FALSE<53><45><EFBFBD>ص<EFBFBD>/<2F><><EFBFBD>ص<EFBFBD>
|
|||
|
DEV_DAS_PINGREO_CALLBACK = 7, //<2F>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD>ע<EFBFBD><D7A2><EFBFBD>ص<EFBFBD>
|
|||
|
REGISTER_LISTEN_MODE = 8, //ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ <20><>Ӧ<EFBFBD>ṹ<EFBFBD><E1B9B9>ΪNET_EHOME_REGISTER_LISTEN_MODE
|
|||
|
STREAM_PLAYBACK_PARAM = 9 //<2F>طű<D8B7><C5B1>ز<EFBFBD><D8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
}NET_EHOME_LOCAL_CFG_TYPE, *LPNET_EHOME_LOCAL_CFG_TYPE;
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_LOCAL_ACCESS_SECURITY
|
|||
|
{
|
|||
|
DWORD dwSize;
|
|||
|
BYTE byAccessSecurity; //0-<2D><><EFBFBD><EFBFBD>ģʽ<C4A3><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD><E6B1BE>Э<EFBFBD><D0AD><EFBFBD><EFBFBD><EFBFBD>룩<EFBFBD><EBA3A9>1-<2D><>ͨģʽ<C4A3><CABD>ֻ֧<D6BB><D6A7>4.0<EFBFBD><EFBFBD><EFBFBD>°汾<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD>Э<EFBFBD>鰲ȫ<EFBFBD>İ汾<EFBFBD><EFBFBD><EFBFBD>룩 2-<2D><>ȫģʽ<C4A3><CABD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD>4.0<EFBFBD><EFBFBD><EFBFBD>ϰ汾<EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD>Э<EFBFBD>鰲ȫ<EFBFBD>İ汾<EFBFBD><EFBFBD><EFBFBD>룩
|
|||
|
BYTE byRes[127];
|
|||
|
}NET_EHOME_LOCAL_ACCESS_SECURITY,*LPNET_EHOME_LOCAL_ACCESS_SECURITY;
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_AMS_ADDRESS
|
|||
|
{
|
|||
|
DWORD dwSize;
|
|||
|
BYTE byEnable; //0-<2D>ر<EFBFBD>CMS<4D><53><EFBFBD>ձ<EFBFBD><D5B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܣ<EFBFBD>1-<2D><><EFBFBD><EFBFBD>CMS<4D><53><EFBFBD>ձ<EFBFBD><D5B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
BYTE byRes1[3];
|
|||
|
NET_EHOME_IPADDRESS struAddress; //AMS<4D><53><EFBFBD>ػػ<D8BB><D8BB><EFBFBD>ַ
|
|||
|
BYTE byRes2[32];
|
|||
|
}NET_EHOME_AMS_ADDRESS, *LPNET_EHOME_AMS_ADDRESS;
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_SEND_PARAM
|
|||
|
{
|
|||
|
DWORD dwSize;
|
|||
|
DWORD dwRecvTimeOut; //<2F><><EFBFBD>ճ<EFBFBD>ʱʱ<CAB1>䣬<EFBFBD><E4A3AC>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>
|
|||
|
BYTE bySendTimes; //<2F><><EFBFBD>ķ<EFBFBD><C4B7>ʹ<EFBFBD><CDB4><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD>绷<EFBFBD><E7BBB7><EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC>һ<EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD><EFBFBD>3<EFBFBD><33>
|
|||
|
BYTE byRes2[127];
|
|||
|
}NET_EHOME_SEND_PARAM, *LPNET_EHOME_SEND_PARAM;
|
|||
|
|
|||
|
//Ehome5.0Э<EFBFBD><EFBFBD><EFBFBD>豸EhomeKey<EFBFBD><EFBFBD>Ϣ
|
|||
|
typedef struct tagNET_EHOME_DEV_SESSIONKEY
|
|||
|
{
|
|||
|
BYTE sDeviceID[MAX_DEVICE_ID_LEN]; //<2F>豸ID/*256*/
|
|||
|
BYTE sSessionKey[MAX_MASTER_KEY_LEN]; //<2F>豸Sessionkey/*16*/
|
|||
|
} NET_EHOME_DEV_SESSIONKEY, *LPNET_EHOME_DEV_SESSIONKEY;
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_LOCAL_GENERAL_CFG
|
|||
|
{
|
|||
|
BYTE byAlarmPictureSeparate; //<2F><><EFBFBD><EFBFBD><EFBFBD><CDB8>ISAPI<50><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݺ<EFBFBD>ͼƬ<CDBC>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>룬0-<2D><><EFBFBD><EFBFBD><EFBFBD>룬1-<2D><><EFBFBD>루<EFBFBD><EBA3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>EHOME_ISAPI_ALARM<52>ص<EFBFBD><D8B5><EFBFBD><EFBFBD>أ<EFBFBD>
|
|||
|
BYTE byRes[127]; //<2F><><EFBFBD><EFBFBD>
|
|||
|
}NET_EHOME_LOCAL_GENERAL_CFG, *LPNET_EHOME_LOCAL_GENERAL_CFG;
|
|||
|
|
|||
|
typedef struct tagNET_EHOME_LOCAL_DEV_PINGREO
|
|||
|
{
|
|||
|
DWORD dwSize;
|
|||
|
BYTE byEnablePingReoCallback; //0- <20><><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>1-<2D>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD>, Ĭ<><C4AC>Ϊ0
|
|||
|
BYTE byRes[63];
|
|||
|
}NET_EHOME_LOCAL_DEV_PINGREO, *LPNET_EHOME_LOCAL_DEV_PINGREO;
|
|||
|
|
|||
|
#endif //_HC_EHOME_PUBLIC_H_
|
|||
|
|