Beruflich Dokumente
Kultur Dokumente
Reference Manual
Version 1.3
2010.06.15
Revision History
Version 1.0 1.1 1.2 1.3 Date 2009-02-11 2010-05-31 2010-06-03 2010-06-15 XQClient API Guide MPEG-4 & H.264 Codec Support XML Data for DVR Setting XQLive_APIs support for NYX DVR (Only Live stream) History
Contents
1. XQ Client API.......................................................................................................... 7 1.1 XQ Client API Summary....................................................................................... 7 1.2 Special Feature .................................................................................................. 7 1.3 Construction & Contents ...................................................................................... 7 1.3.1 API Construction ........................................................................................ 7 1.3.2 SDK Construction ....................................................................................... 8 1.4 API Architecture ................................................................................................. 8 1.5 Compile and Option Setup ................................................................................... 9 2. XQ Client API Functions ......................................................................................... 10 2.1 XQ Live ........................................................................................................... 10 2.1.1 XQLive_Initialization ................................................................................. 10 2.1.2 XQLive_ Uninitialization............................................................................. 10 2.1.3 XQLive_Connect ....................................................................................... 11 2.1.4 XQLive_Disconnect ................................................................................... 12 2.1.5 XQLive_OnlineState .................................................................................. 12 2.1.6 XQLive_GetNetSpeed................................................................................ 12 2.1.7 XQLive_SetNetSpeed ................................................................................ 13 2.1.8 XQLive_GetPTZState................................................................................. 14 2.1.9 XQLive_SetPTZControl .............................................................................. 14 2.1.10 XQLive_SetDisplayChannel ...................................................................... 15 2.1.11 XQLive_SetFreeze................................................................................... 15 2.1.12 XQLive_GetRecordState .......................................................................... 16 2.1.13 XQLive_GetHDDState.............................................................................. 17 2.1.14 XQLive_SetAlramControl ......................................................................... 17 2.1.15 XQLive_ProcRecvMain ............................................................................. 18 2.1.16 XQLive_RecvMainCallBack ....................................................................... 19 2.1.17 XQLive_ProcRecvVideo ............................................................................ 20 2.1.18 XQLive_RecvVideoCallBack ...................................................................... 20 2.1.19 XQLive_GetStatus................................................................................... 21 2.2 XQ Search ....................................................................................................... 23 2.2.1 XQSearch_Initialization ............................................................................. 23 2.2.2 XQSearch_Uninitialization.......................................................................... 23
2.2.3 XQSearch_Connect ................................................................................... 24 2.2.4 XQSearch_Disconnect ............................................................................... 24 2.2.5 XQSearch_OnlineState .............................................................................. 25 2.2.6 XQSearch_GetDate................................................................................... 25 2.2.7 XQSearch_GetHour................................................................................... 26 2.2.8 XQSearch_GetMinute ................................................................................ 26 2.2.9 XQSearch_GetSelectFrame ........................................................................ 27 2.2.10 XQSearch_GetVideoFrame ....................................................................... 27 2.2.11 XQSearch_SetEventSearch ...................................................................... 28 2.2.12 XQSearch_GetEventSearch ...................................................................... 28 2.2.13 XQSearch_SetBackup.............................................................................. 29 2.2.14 XQSearch_GetBackup ............................................................................. 30 2.2.15 XQSearch_ProcRecvMain ......................................................................... 30 2.2.16 XQSearch_RecvCallBack .......................................................................... 31 2.2.17 XQSearch_GetStatus............................................................................... 32 2.3 XQ Setup......................................................................................................... 33 2.3.1 XQSetup_GetConfig .................................................................................. 33 2.3.2 XQSetup_SetConfig .................................................................................. 33 2.4 Common Function............................................................................................. 34 2.4.1 GetLastError ............................................................................................ 34 3. XQ Client API Structures ........................................................................................ 34 3.1 XQ Live ........................................................................................................... 34 3.1.1 LIVE_CONNECTINFO ................................................................................. 34 3.1.2 LIVE_RECORDSTATE................................................................................. 35 3.1.3 LIVE_RECORDINFO................................................................................... 35 3.1.4 LIVE_HDDSTATE ...................................................................................... 36 3.1.5 LIVE_HDDINFO ........................................................................................ 37 3.1.6 LIVE_VIDEOSOURCE................................................................................. 37 3.1.7 Live_MAINCALLBACK ................................................................................ 38 3.1.8 LIVE_VIDEOCALLBACK.............................................................................. 39 3.2 XQ Search ....................................................................................................... 39 3.2.1 SEARCH_CONNECTINFO............................................................................ 39 3.2.2 SEARCH_DATE ......................................................................................... 40 3.2.3 SEARCH_DATEINFO .................................................................................. 40 3.2.4 SEARCH_HOUR ........................................................................................ 41 3.2.5 SEARCH_HOURINFO ................................................................................. 41
3.2.6 SEARCH_MINUTE ..................................................................................... 42 3.2.7 SEARCH_MINUTEINFO .............................................................................. 42 3.2.8 SEARCH_SELECT...................................................................................... 43 3.2.9 SEARCH_VIDEO ....................................................................................... 43 3.2.10 SEARCH_EVENTITEM .............................................................................. 44 3.2.11 SEARCH_EVENT ..................................................................................... 45 3.2.12 SEARCH_MAINCALLBACK ........................................................................ 46 3.2.13 SEARCH_XQTM ...................................................................................... 46 3.3 XQ Setup......................................................................................................... 47 3.3.1 SETUP_DATA ........................................................................................... 47 3.4 Common Structures .......................................................................................... 48 3.4.1 XQAPI_ABOUT ......................................................................................... 48 3.4.2 XQDVR_ABOUT ........................................................................................ 48 4. Macros................................................................................................................. 50 5. XML Setup............................................................................................................ 51 5.1 XML Architecture .............................................................................................. 51 5.2 XQ Setup Info Structure .................................................................................... 52 5.3 XQ CONFIG XML: INFO...................................................................................... 53 5.3.1 XQ CONFIG XML: INFO/hwspec .................................................................. 56 5.4 XQ CONFIG XML: SYSTEM ................................................................................. 57 5.4.1 XQ CONFIG XML: SYSTEM/sysinfo .............................................................. 58 5.4.2 XQ CONFIG XML: SYSTEM/datetime ........................................................... 59 5.4.3 XQ CONFIG XML: SYSTEM/datetime/userdst ................................................ 60 5.4.4 XQ CONFIG XML: SYSTEM/ntp ................................................................... 61 5.4.5 XQ CONFIG XML: SYSTEM/holiday .............................................................. 62 5.4.6 XQ CONFIG XML: SYSTEM/account ............................................................. 62 5.4.7 XQ CONFIG XML: SYSTEM/account/userlst .................................................. 63 5.5 XQ CONFIG XML: NETWORK .............................................................................. 65 5.5.1 XQ CONFIG XML: NETWORK/ethernet ......................................................... 66 5.5.2 XQ CONFIG XML: NETWORK/ddns .............................................................. 68 5.5.3 XQ CONFIG XML: NETWORK/email ............................................................. 68 5.5.4 XQ CONFIG XML: NETWORK/email/smtp ..................................................... 69 5.5.5 XQ CONFIG XML: NETWORK/email/milst ..................................................... 70 5.5.6 XQ CONFIG XML: NETWORK/callback.......................................................... 70 5.5.7 XQ CONFIG XML: NETWORK/nas ................................................................ 71 5.5.8 XQ CONFIG XML: NETWORK/nas/naslst....................................................... 72
5.6 XQ CONFIG XML: DEVICE .................................................................................. 74 5.6.1 XQ CONFIG XML: DEVICE/camera .............................................................. 75 5.6.2 XQ CONFIG XML: DEVICE/camera/ptz......................................................... 77 5.6.3 XQ CONFIG XML: DEVICE/camera/ptz/serial ................................................ 78 5.6.4 XQ CONFIG XML: DEVICE/alarm................................................................. 80 5.6.5 XQ CONFIG XML: DEVICE/audio ................................................................. 81 5.6.6 XQ CONFIG XML: DEVICE/osd.................................................................... 81 5.6.7 XQ CONFIG XML: DEVICE/monitor.............................................................. 83 5.6.8 XQ CONFIG XML: DEVICE/spot................................................................... 83 5.6.9 XQ CONFIG XML: DEVICE/vga ................................................................... 85 5.6.10 XQ CONFIG XML: DEVICE/misc ................................................................ 86 5.7 XQ CONFIG XML: RECORD ................................................................................. 88 5.7.1 XQ CONFIG XML: RECORD/camera/cam ...................................................... 89 5.8 XQ CONFIG XML: EVENT.................................................................................... 92 5.8.1 XQ CONFIG XML: EVENT/motion ................................................................ 93 5.8.2 XQ CONFIG XML: EVENT/motion/cam/act.................................................... 94 5.8.3 XQ CONFIG XML: EVENT/sensor ................................................................. 97 5.8.4 XQ CONFIG XML: EVENT/vloss ................................................................... 98 5.8.5 XQ CONFIG XML: EVENT/diskfull ...............................................................100 5.8.6 XQ CONFIG XML: EVENT/diskfull/sysact .....................................................100 5.8.7 XQ CONFIG XML: EVENT/diskerr ...............................................................101 5.8.8 XQ CONFIG XML: EVENT/smart .................................................................102 5.9 XQ CONFIG XML: MISC ....................................................................................104 5.10 XQ CLIENT XML .............................................................................................106 5.10.1 XQ CLIENT INFO STRUCTURE..................................................................106 5.10.2 XQ CLIENT XML: NETPTZ ........................................................................106 5.10.3 XQ CLIENT XML: NETMASK .....................................................................107 5.11 Abbreviations of NODE Name ..........................................................................109
1. XQ Client API
1.1 XQ Client API Summary
It provides the interfaces for developers who want to design their own remote application and its expansion and various functions such as Live Screen, Remote Search, and Remote Setup and so on.
XQLive_ APIs: Communication Protocol API for Live Function XQSearch_ APIs: Communication Protocol API for Search XQSetup_ APIs: API for Setup Construction and XML transmission XQClient_ API Others
No DirectDraw related feature support in API No DirectSound related feature support in API Above two features provided as sample program
XQ Client API forward and delivers result of requested things from its application through DVR & Network communication. For this reason, developer can use this API as a library without understanding DVR communication protocol. Also, it provides callback function as special events of DVR and real time live image, search results data stream and events. API has following 3 parts (XQLive, XQSearch, XQSetup) with prefix. XQLive methods are for real time live image, XQSearch is for user searching, XQSetup is for remote setup configuration.
Description
Initialize XQLive related information on XQAPI.
Return Value
No
Parameters
No
Example
// Initialization Work XQLive_Initialization(); ... // Termination XQLive_Uninitialization();
Description
Uninitialize XQLive related information on XQAPI
Return Value
None
10
Parameters
None
Example
// Initialize XQLive_Initialization(); ... // Terminate XQLive_Uninitialization();
2.1.3 XQLive_Connect
Prototype
BOOL XQLive_Connect(LIVE_CONNECTINFO* strUserInfo);
Description
Connect DVR with user information
Return Value
TRUE : Success FALSE : Fail : check information at GetLastError()
Parameters
strUserInfo [in] LIVE_CONNECTINFO Structure Pointer
Example
// Connect LIVE_CONNECTINFO BOOL bStatus; strConnectInfo;
11
2.1.4 XQLive_Disconnect
Prototype
void XQLive_Disconnect()
Description
Disconnect connected DVR
Return Value
None
Parameters
None.
Example
XQLive_Disconnect();
2.1.5 XQLive_OnlineState
Prototype
BOOL XQLive_OnlineState();
Description
Check current connection status
Return Value
TRUE : Connected on DVR (On-Line) FALSE : Disconnected on DVR (Off-Line)
Parameters
None
Example
BOOL bStatus;
bStatus = XQLive_OnlineState();
2.1.6 XQLive_GetNetSpeed
Prototype
12
int XQLive_GetNetSpeed();
Description
Check current network transmit speed setup value. Hi speed : Full-Frame Transmit Low speed : I-Frame Transmit
Return Value
0 : Hi speed 1 : Low Speed
Parameters
None
Example
Int nSpeed = XQLive_GetNetSpeed(); nSpeed;
2.1.7 XQLive_SetNetSpeed
Prototype
void XQLive_SetNetSpeed(int nSpeed)
Description
Adjust network speed from DVR to Client. Hi Speed : Full-Frame Transmit Low Speed : I-Frame Transmit
Return Value
None
Parameters
nSpeed [in] Set speed(low or High) 0 : Hi speed 1 : Low speed
Example
Int nNetSpeed;
13
2.1.8 XQLive_GetPTZState
Prototype
BOOL XQLive_GetPTZState(int nCamera);
Description
Check PTZ setup information of selected camera
Return Value
TRUE : able to PTZ setup FALSE : not able to PTZ setup
Parameters
nCamera [in] Number of camear
Example
Int BOOL // Set channel number 1 nCamera = 0; bStatus = XQLive_GetPTZState(nCamera); bStatus; nCamera;
2.1.9 XQLive_SetPTZControl
Prototype
void XQLive_SetPTZControl(PTZCONTROL* strPtzControl);
Description
Set direction, Zoom, Focus, Iris & preset of selected camera
Return Value
none
14
Parameters
strPtzControl [in] LIVE_PTZCONTROL Structure Pointer
Example
LIVE_PTZCONTROL strPTZControl;
XQLive_SetPTZControl(&strPTZControl);
2.1.10 XQLive_SetDisplayChannel
Prototype
void XQLive_SetDisplayChannel(DWORD dwChannel);
Description
Set display image on screen
Return Value
none.
Parameters
dwChannel [in] Bit value of display channel (Ex : 0000000000000001 => channel1)
Example
DWORD dwChannel;
2.1.11 XQLive_SetFreeze
Prototype
void XQLive_SetFreeze(BOOL bFreeze, DWORD dwChannel);
Description
Pause and Resume Live display image
Return Value
15
none.
Parameters
bFreeze [in] Live Set status of live image as freeze or not TRUE: freeze live image FALSE: back to normal live dwChannel [in] Bit value of display channel (ex : 0000000000000001 => channel 1)
Example
BOOL DWORD bFreezeFlag = TRUE; for(int i=0; i<MAX_CAMERA_COUNT; i++) dwChannel |= (0x01 << i); XQLive_SetFreeze(bFreezeFlag, dwChannel); bFreezeFlag; dwChannel;
2.1.12 XQLive_GetRecordState
Prototype
void XQLive_GetRecordState(LIVE_RECORDSTATE* strRecordState, BOOL bStatusFlag);
Description
Check recording status.
Return Value
none
Parameters
strRecordState [out] Save recording status information as Structure pointer of LIVE_RECORDSTATE bStatusFlag [in] Set run or Stop of Record information. TRUE : Run FALSE : Stop
16
Example
// call LIVE_RECORDSTATUS strRecordState; XQLive_GetRecordState(&strRecordState, TRUE); // End XQLive_GetRecordState(&strRecordState, FALSE);
2.1.13 XQLive_GetHDDState
Prototype
void XQLive_GetHDDState(LIVE_HDDSTATE* strHDDState, BOOL bStatusFlag);
Description
Check HDD information of connected DVR
Return Value
None.
Parameters
strHDDState [out] get HDD status information as Structure pointer of LIVE_HDDSTATE bStatusFlag [in] Set run and stop of HDD information. TRUE : Run FALSE : Stop
Example
// call LIVE_HDDSTATUS strHddStatus; XQLive_GetHDDState(&strHddStatus, TREU); // end XQLive_GetHDDState(&strHddStatus, FALSE);
2.1.14 XQLive_SetAlramControl
Prototype
void XQLive_SetAlramControl(int nAlram, BOOL bAction);
17
Description
Its a part of alarm control. Set On/Off.
Return Value
None
Parameters
nAlram [in] Alarm number to control bAction [in] Set alarm use or not. TRUE : Set Alarm On FALSE : Set Alarm Off
Example
Int BOOL // Call nAlarmCount = 1; bStatus = TRUE; XQLive_SetAlarmControl(nAlarmCount, bStatus); // End nAlarmCount = 1; bStatus = FALSE; XQLive_SetAlarmControl(nAlarmCount, bStatus); bStatus; nAlarmCount;
2.1.15 XQLive_ProcRecvMain
Prototype
void XQLive_ProcRecvMain(void* pRecvMainCallBack, void* pThis);
Description
Define CallBack function and call the functions from library Defined Call back function format in API typedef void (*LiveRecvCallBack)(int nComm, void* pRecvData, void* pParent)
18
Return Value
none
Parameters
pRecvMainCallBack [in] CallBack Function Definition from Library to Main Frame pThis [in] Pointer value of Main frame
Example
XQLive_ProcRecvMain(XQLive_RecvMainCallBack, (void*)this);
2.1.16 XQLive_RecvMainCallBack
Prototype
void XQLive_RecvMainCallBack(int nComm, void* pRecvData, void* pParent);
Description
Process received data from DVR As user define function (not Dll internal function) and define function pointer of XQLive_ProcRecvMain
Return Value
None.
Parameters
nComm [out] Main Command value pRecvData [out] Received data from server pParent [out] Pointer value of Application
Example
switch(nComm) { case COMM_SYSTEM: {
19
} Case COMM_STATUS: { } }
2.1.17 XQLive_ProcRecvVideo
Prototype
void XQLive_ProcRecvVideo(void* pRecvLiveCallBack, void* pThis);
Description
Define CallBack function and call functions from library Callback function format defined on API typedef void (*LiveRecvCallBack)(int nComm, void* pRecvData, void* pParent)
Return Value
none.
Parameters
pRecvLiveCallBack [in] Define function to callback from Library to mainframe. pThis [in] Pointer value of main frame
Example
XQLive_ProcRecvVideo(XQLive_RecvVideoCallBack, (void*)this);
2.1.18 XQLive_RecvVideoCallBack
Prototype
void XQLive_RecvVideoCallBack(int nComm, void* pRecvData);
Description
Receive Live data which delivered from DVR
20
As user define function (not Dll internal function) and define function pointer of XQLive_ProcRecvLive
Return Value
none.
Parameters
nComm [out] Main Command value pRecvData [out] Data which delivered from server
Example
switch(nComm) { case COMM_LIVE_VIDEO: { } case COMM_LIVE_AUDIO: { } }
2.1.19 XQLive_GetStatus
Prototype
void XQLive_GetStatus(XQAPI_CONFIG* strLiveConfig);
Description
Check version and authority information of DVR Set
Return Value
none.
Parameters
strLiveConfig [out] XQAPI_CONFIG Pointer Structure
21
Example
XQDVR_ABOUT strConfig; XQLive_GetStatus(&strConfig);
22
2.2 XQ Search
2.2.1 XQSearch_Initialization
Prototype
void XQSearch_Initialization();
Description
Initialize search related information on XQAPI
Return Value
none
Parameters
none
Example
// Initialization XQSearch_Initialization(); // Un-initialization XQSearch_Uninitialization();
2.2.2 XQSearch_Uninitialization
Prototype
void XQSearch_Uninitialization();
Description
Un-initialize search related information in XQAPI
Return Value
none
Parameters
none
Example
23
2.2.3 XQSearch_Connect
Prototype
BOOL XQSearch_Connect(SEARCH_CONNECTINFO* strUserInfo);
Description
Connect to DVR
Return Value
TRUE : Success FALSE : Fail : check information from GetLastError()
Parameters
strUserInfo SEARARCH_CONNECTINFO Pointer value
Example
BOOL SEARCH_CONNECTINFO bStatus; strConnectInfo;
bStatus = XQSearch_Connect(&strConnectInfo);
2.2.4 XQSearch_Disconnect
Prototype
void XQSearch_Disconnect();
Description
Disconnect DVR communication
Return Value
none
24
Parameters
none.
Example
XQSearch_Disconnect();
2.2.5 XQSearch_OnlineState
Prototype
BOOL XQSearch_OnlineState();
Description
Check current online status.
Return Value
TRUE : online staus FALSE : offline status
Parameters
none.
Example
BOOL bStatus;
bStatus = XQSearch_OnlineState();
2.2.6 XQSearch_GetDate
Prototype
SEARCH_DATE* XQSearch_GetDate();
Description
Get date information from DVR
Return Values
Return value of setup date information on DVR as SEARCH_DATE Pointer structure type.
Parameters
25
none.
Example
SEARCH_DATE* pSearchData;
pSearchDate = XQSearch_GetDate();
2.2.7 XQSearch_GetHour
Prototype
SEARCH_HOUR* XQSearch_GetHour(SEARCH_XQTM* strDateTime);
Description
Get requested time information of DVR
Parameters
strDateTime [in] XQTM Set date search information on Pointer Structure
Return Values
Return configured time information on DVR as SEARCH_HOUR Pointer Structure.
Example
SEARCH_HOUR* SEARCH_XQTM pSearchHour; sendTime;
pSearchHour = XQSearch_GetHour(&sendTime);
2.2.8 XQSearch_GetMinute
Prototype
SEARCH_MINUTE* XQSearch_GetMinute(SEARCH_XQTM* strDateTime);
Description
Get miniute information from DVR
Return Values
Return configured time information on DVR as SEARCH_MINUTE Pointer Structure.
Parameters
26
strDateTime [in] set time search time information on XQTM Pointer Structure as yy/mm/dd.
Example
SEARCH_MINUTE* SEARCH_XQTM pSearchMinute; sendTime;
pSearchMinute = XQSearch_GetMinute(&sendTime);
2.2.9 XQSearch_GetSelectFrame
Prototype
BYTE* XQSearch_GetSelectFrame(SEARCH_SELECT* strSelectReq);
Description
Display the first frame of image on screen selected Date/time/minute information. Only display the first frame.
Return Values
Received pointer value of image information
Parameters
strSelectReq [in] SEARCH_SELECT Pointer Structure
Example
BYTE* SEARCH_SELECT pRecvData; sendSelect;
pRecvData = XQSearch_GetSelectFrame(&sendSelect);
2.2.10 XQSearch_GetVideoFrame
Prototype
BYTE* XQSearch_GetVideoFrame(SEARCH_VIDEO* strVideoReq);
Description
Get image information when performs Play Option(Play/Reverse/Fast Forward)
Return Values
27
Parameters
strSelectReq [in] SEARCH_SELECT Pointer Structure
Example
BYTE* SEARCH_VIDEO pRecvData; sendVideo;
XQSearch_GetVideoFrame(&sendVideo);
2.2.11 XQSearch_SetEventSearch
Prototype
void XQSearch_SetEventSearch(SEARCH_EVENT* strEventReq);
Description
Set event information to search on connected DVR
Return Values
none
Parameters
strEventReq [in] SEARCHEVENT_REQ Pointer Structure
Example
// Event search setup SEARCH_EVENT strSearchEvent;
2.2.12 XQSearch_GetEventSearch
Prototype
void XQSearch_GetEventSearch(BOOL bFlag);
28
Description
Get configured event information as callback function
Return Values
none
Parameters
bFlag [in] set whether you get searched event information continuously or not (Max 10 events at a time) TRUE : keep receiving FALSE : End search
Example
BOOL // received bStatus = TRUE; XQSearch_GetEventSearch(bStatus); // End Search bStatus = FALSE; XQSearch_GetEventSearch(bStatus); bStatus;
2.2.13 XQSearch_SetBackup
Prototype
void XQSearch_SetBackup(BACKUP_CONFIG* strBackupReq);
Description
Run backup information of connected DVR
Return Values
none
Parameters
strBackupReq [in] BACKUP_CONFIG Pointer Structure
Example
29
BACKUP_CONFIG
strBackup;
XQSearch_SetBackup(&strBackup);
2.2.14 XQSearch_GetBackup
Prototype
void XQSearch_GetBackup(BOOL bFlag);
Description
Run backup with configured backup information. Information will be transferred as callbacku function
Return Values
none
Parameters
bFlag [in] Setup run or complete Backup process. TRUE : complete backup FALSE : Run backup
Example
BOOL // run bSatus = FALSE; XQSearch_GetBackup(bStatus); // end bStatus = TURE; XQSearch_GetBackup(bStatus); bStatus;
2.2.15 XQSearch_ProcRecvMain
Prototype
void XQSearch_ProcRecvMain(void* pRecvCallBack, void* pThis);
Description
Define CallBack function and call applicable functions in library
30
Process Event information and Backup information, Audio information Defined Callback function in API typedef void (*SearchRecvCallBack)(int nComm, void* pRecvData, void* pParent)
Return Values
none.
Parameters
pRecvCallBack [in] Callback Function Definition which can created from Library to Main Frame pThis [in] Pointer Value of Main Frame
Example
XQSearch_ProcRecvMain(XQSearch_RecvMainCallBack, (void*)this);
2.2.16 XQSearch_RecvCallBack
Prototype
void XQSearch_RecvCallBack(int nComm, void* pRecvData);
Description
Process received data from DVR As user define function, it defines function pointer of pRecvCallBack of XQSearch_ProcRecv.(
Return Values
none.
Parameters
nComm [out] Main command value pRecvData [out] Transferred data from
Example
31
switch(nComm) { case COMM_SYSTEM: { } case COMM_SEARCH_AUDIO: { } case COMM_SEARCH_EVENT: { } case COMM_BACKUP_ENABLE: { } case COMM_BACKUP: { }
2.2.17 XQSearch_GetStatus
Prototype
void XQSearch_GetStatus(XQAPI_CONFIG* strSearchConfig);
Description
Check Version & Authority information of DVR Set.
Return Value
none.
Parameters
strSearchConfig [out] XQAPI_CONFIG Pointer Structure
Example
XQDVR_ABOUT strConfig; XQSearch_GetStatus(&strConfig);
32
2.3 XQ Setup
2.3.1 XQSetup_GetConfig
Prototype
void XQSetup_GetConfig(SETUP_DATA * strSetupData);
Description
Check setup information on DVR XQConfig.h(refer this file)
Return Values
none.
Parameters
strSetupData As [out] SETUP_DATA Pointer Structure, returns Setup value
Example
SETUP_DATA strSetupData;
XQSetup_GetConfig(&strSetupData);
2.3.2 XQSetup_SetConfig
Prototype
void XQSetup_SetConfig(SETUP_DATA* strSetupData);
Description
Set each information on DVR XQConfig.h (refer this file)
Return Values
none.
Parameters
strSetupData as [in] SETUP_Data Pointer Structure, it sets Setup information
33
Example
SETUP_DATA strSetupData;
XQSetup_SetConfig(&strSetupData);
Description
Check last occurred problem.
Return Values
Send Error information
Parameters
none.
Example
Char* szError = GetLastError(); szError;
34
char int
szPassword[MAX_PW_LENGTH]; nDVRType;
} LIVE_CONNECTINFO, *PLIVE_CONNECTINFO;
Description
Save DVR information as necessary item when connect DVR.
Members
szAddress DVR IP address dwPort connection port number szUsername Valid ID (user name) szPassword Valid password nDVRType Specify the DVR type. There are two types: DVR_TYPE_XQ and DVR_TYPE_NYX. Especially, NYX DVR supports only LIVE stream.
3.1.2 LIVE_RECORDSTATE
Prototype
typedef struct{ LIVE_RECORDINFO strLive_RecordInfo[MAX_CAMERA_COUNT];
} LIVE_RECORDSTATE, *PLIVE_RECORDSTATE;
Description
Save recording status of each camera
Members
strLive_RecordInfo LIVE_RECORDINFO Structure
3.1.3 LIVE_RECORDINFO
Prototype
35
typedef struct { unsigned char unsigned char float unsigned char unsigned char btChannel; btResolution; btFrame; btQuality; btAudio;
} LIVE_RECORDINFO, *PLIVE_RECORDINFO;
Description
Save each channel information
Member
btChannel Channel information btResolution Resolution information btQuality Picture quality btAudio Audio
3.1.4 LIVE_HDDSTATE
Prototype
typedef struct{ unsigned char LIVE_HDDINFO nHddCount; strHddInfo[MAX_HDD_COUNT];
} LIVE_HDDSTATE, *PLIVE_HDDSTATE;
Description
Save HDD information and status of connected DVR
Members
nHddCount HDD number of connected DVR strHddInfo LIVE_HDDINFO Structure
36
3.1.5 LIVE_HDDINFO
Prototype
typedef struct { unsigned char unsigned char unsigned int unsigned int } LIVE_HDDINFO, *PLIVE_HDDINFO; btTemperature; btSMART; dwHDDTotal; dwHDDUse;
Description
Save each HDD information
Members
btTemperature HDD temperature information btSMART SMART status dwHDDTotal HDD total use information (MB) dwHDDUse HDD Use information (MB)
3.1.6 LIVE_VIDEOSOURCE
Prototype
typedef struct { int int int int unsigned int unsigned int unsigned int BYTE* nChid; nWidth; nHeight; nFrameSize; nSec; nUsec; nGopid; pVideoSource;
37
} LIVE_VIDEOSOURCE, *PLIVE_VIDEOSOURCE;
Description
Image information & pointer value of received iamge
Members
nChid received channel information nWidth Horizontal size of received image nHeight Vertical size of received imge nFrameSize Size of received image nSec Time information of received image nUsec
3.1.7 Live_MAINCALLBACK
Prototype
typedef struct { LiveRecvCallBack void* pLiveMainCallBack; pLiveParentWnd;
} LIVE_MAINCALLBACK, *PLIVE_MAINCALLBACK;
Description
Redefind callback function which will receive control information
Members
pLiveMainCallBack Function pointer value of application to be received
38
3.1.8 LIVE_VIDEOCALLBACK
Prototype
typedef struct { LiveRecvCallBack void* pLiveVideoCallBack; pLiveParentWnd;
} LIVE_VIDEOCALLBACK, *PLIVE_VIDEOCALLBACK;
Description
Redefind callback function which will receive image information
Members
pLiveMainCallBack Function pointer value of application to be received pLiveParentWnd Pointer value of application which called CallBack function.
3.2 XQ Search
3.2.1 SEARCH_CONNECTINFO
Prototype
typedef struct { char DWORD char char szAddress[SIZE_ADDRESS]; dwPort; szUsername[MAX_ID_LENGTH]; szPassword[MAX_PW_LENGTH];
} SEARCH_CONNECTINFO, *PSEARCH_CONNECTINFO;
Description
Necessary item for DVR connection, it saves DVR information
Members
szAddress
39
IP address dwPort DVR port number szUsername Valid ID (User name) szPassword Valid password
3.2.2 SEARCH_DATE
Prototype
typedef struct { XQTM XQTM unsigned short SEARCH_DATEINFO } SEARCH_DATE, *PSEARCH_DATE; strFirstTm; strLastTm; nDataCount; strSearchDataInfo[MAX_RECORD_DAY];
Description
Save date information which recorded on DVR
Members
strFirstTm First recording time of DVR strLastTm Last recording time of DVR nDateCount number of recorded date strSearchDateInfo SEARCH_DATEINFO Structure value
3.2.3 SEARCH_DATEINFO
Prototype
typedef struct { SEARCH_XQTM strTm;
40
} SEARCH_DATEINFO, *PSEARCH_DATEINFO;
Description
Save date information
Members
stTm Save & display date/time information as a structure of XQTM
3.2.4 SEARCH_HOUR
Prototype
typedef struct { unsigned short SEARCH_HOURINFO } SEARCH_HOUR, *PSEARCH_HOUR; nSectionCount; strSearchHourInfo[MAX_SECTION_COUNT];
Description
Save time information.
Members
nSectionCount number of Section strSearchHourInfo SEARCH_HOURINFO Structure value
3.2.5 SEARCH_HOURINFO
Prototype
typedef struct { DWORD unsigned char dwSection; nHours[25];
} SEARCH_HOURINFO, *PSEARCH_HOURINFO;
Description
Set time information
Members
41
R(Record) : Set 1, if saved time HOUR nHours Hour information : Hour information (0~23)
3.2.6 SEARCH_MINUTE
Prototype
typedef struct { unsigned short SEARCH_MINUTEINFO nSectionCount; strSearchMinuteInfo[MAX_SECTION_COUNT];
} SEARCH_MINUTE, *PSEARCH_MINUTE;
Description
Save minute information
Members
nSectionCount Section
3.2.7 SEARCH_MINUTEINFO
Prototype
typedef struct{ DWORD unsigned short dwSection; nChannel[MAX_CAMERA_COUNT][60];
} SEARCH_MINUTEINFO, *PSEARCH_MINUTEINFO;
42
Description
Save minute information
Members
dwSection Recorded section value nChannel minutes information
3.2.8 SEARCH_SELECT
Prototype
typedef struct{ unsigned int unsigned int SEARCH_XQTM dwSection; dwChannel; strTm;
} SEARCH_SELECT, *PSEARCH_SELECT;
Description
Request the first frame in initial connection
Members
dwSection Requested section value dwChannel requested channel information (ex : 0000000000000001 <= channel 1) strTm Set time
3.2.9 SEARCH_VIDEO
Prototype
typedef struct{ unsigned char unsigned char unsigned int btControl; btJumpCnt; dwChannel;
} SEARCH_SELECT, *PSEARCH_SELECT;
43
Description
Setup value of receiving image data continuously in playback, 1frame playback, Fast Playback etc.
Members
btControl Set playback type (playback/1frame playback/F.Playback/R.Playback/F.Rev playback/Stop) btJumpCnt Set playback speed value when F.Fwd and F.Rev playback mode dwChannel Channel information setup (ex : 0000000000000001 <= Channel 1)
3.2.10 SEARCH_EVENTITEM
Prototype
typedef struct{ unsigned int SEARCH_XQTM unsigned short unsigned short dwSection; stTm; nEventType; nEventSource;
} SEARCH_EVENTITEM, *PSEARCH_EVENTITEM;
Description
Save event item which searched by its condition
Members
dwSection Section value of searched time stTm Time information of searched item nEventType Type information of searched item Motion 0 Sensor 1 VideoLoss 2
nEventSource
44
3.2.11 SEARCH_EVENT
Prototype
typedef struct{ SEARCH_XQTM SEARCH_XQTM unsigned int unsigned int unsigned int unsigned int unsigned int stStartTm; stEndTm; dwMotion; dwSensor; dwVideoLoss; dwTextin; dwChannel;
} SEARCH_EVENTITEM, *PSEARCH_EVENTITEM;
Description
Enter event condition to be searched
Members
stStartTm Search start time stEndTm Search end time dwMotion Motion select in search (ex: 0000000000000001 <= Channel 1) dwSensor Sensor select in search (ex: 0000000000000001 <= Channel 1) dwVideoLoss VideoLoss select in search (ex: 0000000000000001 <= Channel 1) dwTextin Text in select in search dwChannel Channel search information (ex: 0000000000000001 <= Channel 1)
45
3.2.12 SEARCH_MAINCALLBACK
Prototype
typedef struct { SearchRecvCallBack void* pSearchMainCallBack; pSearchParentWnd;
} SEARCH_MAINCALLBACK, *PSEARCH_MAINCALLBACK;
Description
Redefind callback function which will receive Control information
Members
pSearchMainCallBack Function pointer value of application will be received pSearchParentWnd Pointer value of Application which called Callback function.
3.2.13 SEARCH_XQTM
Prototype
typedef struct { unsigned char unsigned char unsigned char unsigned char unsigned char unsigned char unsigned char tm_year; tm_mon; tm_mday; tm_hour; tm_min; tm_sec; isdst;
} SEARCH_CONNECTINFO, *PSEARCH_CONNECTINFO;
Description
Save time information
Members
tm_Year display year (1900) tm_Mon display month (0~11)
46
tm_Day display day (1~31) tm_Hour display time (0~23) tm_Min display minutes (0~59) tm_Sec display seconds (0~59) isDST Dislay DST section information. 0 : out of DST section 1 : in DST section
3.3 XQ Setup
3.3.1 SETUP_DATA
Prototype
typedef struct { BYTE* Int } SETUP_DATA, *PSETUP_DATA; pSetupData nPos;
Description
Process Setup information
Members
pSetupData Received or send Setup Data information nPos pSetupData size
47
Description
Save program and network information
Members
szProjectName XQAPI Project name szVersion XQAPI version information szLastUpdate Last update information szNetVersion Network version information of connected DVR
3.4.2 XQDVR_ABOUT
Prototype
typedef struct { BOOL DWORD DWORD } XQDVR_ABOUT, *PXQDVR_ABOUT; bAuthority dwProdVersion; dwFirmVersion;
Description
DVR(Set) version and authority information
48
Members
bAuthority DVR authority information dwProdVersion DVR model information dwFirmVersion DVR version information
49
4. Macros
#define MAX_ADDRESS_LENGTH
#define MAX_ID_LENGTH #define MAX_PW_LENGTH #define MAX_CAMERA_COUNT #define MAX_HDD_COUNT #define MAX_ABOUT_LENGTH #define MAX_RECORD_DAY #define MAX_SECTION_COUNT #define COMM_SYSTEM #define COMM_STATUS #define COMM_LIVE_VIDEO #define COMM_LIVE_AUDIO #define COMM_SEARCH_AUDIO #define COMM_SEARCH_EVENT #define COMM_BACKUP_ENABLE #define COMM_BACKUP #define PROD_XQ #define PROD_XQL #define PROD_XQP #define PROD_XQLS #define PROD_XQPS 0x53 0x54 0x58510000 0x58510100 0x58510200 0x58510101 0x58510201 0x11 0x12 0x15 0x16 0x46 0x48 128 32 16 16 4 128 1000 256
50
5. XML Setup
Almost XQ DVRs can be configured the settings by XML data if the DVR version has more than 2.0.x.x. Therefore, in this section, it provides where to change DVR configuration from XML element. This SDK doesnt support the sample code using XML.
Node
Description
DVRXML
DVRCFG NETCFG
Setup Configration Information on SET Additional Setup Information for Client Communication
51
52
</DVRCFG>
NOD
Content
Config Info Container XML Format Version Info Basic Info - Required when using the client communication
System Info Network Info Device Info Recording Info Additional Info
53
<sensor>16</sensor> <alarm>4</alarm> <spot>2</spot> <oem>0<oem> <language>english</language> <videocodec>H.264</videocodec> <audiocodec>G.723</audiocodec> <ata>SATA</ata> <hwspec> ... </hwspec> </INFO>
NOD
Content
modified
YYYY/MM/DDhh:mm:ss
Model Main Application Version Info Network Mac Adress Video Format Maximum Input Channel Maximum Audio Channel Maximum Sensor Input
54
1, 4 1, 2 0, 1, 2, 3, 4, 5, 6, 7 0 1 2 3 4 5 6 7 8
Maximum Alarm Output Max. Spot Output OEM Classification TOM HISHARP NORTHWOOD ULTRA HISHARP ITALY HISHARP BRAZIL TEST RASION NETPROMAX Language
language
english chiness-tr chiness-sim japanese korean french polish russian spanish danish portuguese
55
italian turkish czech videocodec audiocodec ata hwspec H.264 / MPEG4 G.723 SATA / PATA Video Codec Info Audio Codec Info ata info Hardware Specification
NOD
Content
endian
big, little
56
cpu
CPU model
codec
solo6010 solo6110
vga
usb
d720102 vt6212
videodecoder
Rtc
ds1337 Fm3104
57
</datetime> <ntp> NTP Info </ntp> <holiday> Holiday Info </holiday> <account> Account Info </account> </SYSTEM>
NOD
Content
System Setup Info Time output method and TZ info NTP Info Holiday Info Can be deactivated if not used
account
Account Info
58
<name type=string size=31>DVR</name> <uuid type=string size=36>6ec4b09e-a11f-4ec4-a025-88e68ee554ab</uuid> <langid type=char>0</langid> <sysid type=char>0</sysid> </sysinfo>
NOD
Content
crash
char, 0~1
Indication of Normal/Abnormal Shutdown - 0 indication during booting means the proper shutdown
Name Info System uuid Language ID DVR ID Can be used also by Remote Controllers ID
59
MOD
Content
dptype
char, 0 ~ 2 0 1 2
Date Indication YYYY MM DD MM DD YYYY DD MM YYYY zone key info zone keys DST usage selection User Customized DST Info USER DST can be deactivated
string, 63 char, 0 ~ 1
NOD
Content
60
dststart
dstend
string, 15 Month:Week:DayHour:Min:Sec
61
NOD
Content
char, 0~1 char, 0~1 string, 127 ushort, 0~65536 uchar, 1~240 uint
NTP Usage NTP Server Management Usage NTP Server Address Server Port NTP Usage Cycle (hour) Time update
NOD
Content
date
62
<lgien type=char>0</lgien> <atlgo type=char>0</atlgo> <atlgotm type=uchar>180</atlgotm> <userlst> User Account Information ... </userlst> </account>
NOD
Content
LOGIN usage Automatic Logout Automatic logout time without user input
userlst
User Account
63
</usr> <usr> <id type=string size=31>liqueury</id> <pw type=string size=31>1</pw> <auth type=uint>0xffffffff</auth> </usr> </userlst>
NOD
Content
usr usr/id usr/pw usr/auth string, 31 string, 31 uint bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8
User ID/PW/Authorisation USER ID User Password User Authorisation REC (Panic Record) PLAY (no practical use) BACKUP PTZ Control HIDDEN Camera (no practical use) SETUP Camera Control (no practical use) FORMAT UPGRADE
64
65
NOD
Content
ethernet
Dynamic Domain Name Service Account E-mail Alarm Events for the callback client information Extended storage backup information
66
NOD
Content
en nrclient ethtype
ethernet usage (must be used) Specified number of Live Connections Ethernet connection type STATIC DHCP PPPoE IP used at STATIC netmask at STATIC gateway IP used at STATIC DNS Server IP used at STATIC Client Connection Port Webserver Connection Port Connection port for firmware Update (Not Available Yet)
string, 63 string, 63 string, 63 string, 63 ushort, 0~65535 ushort, 0~65535 ushort, 0~65535
adslid adslpw
string, 31 string, 15
67
NOD
Content
en svrtype
DDNS Funtion DDNS Server Type EZDDNS DynDNS Registered DDNS Host Name DDNS ID DDNS PW router usage
hostname id pw routen
68
<smtp> SMTP Server Info </smtp> <mailst> Mail List </mailst> </email>
NOD
Content
en smtp [mailst]
char, 0~1
NOD
Content
69
Scope svr sndr lgien id pw string, 127 string, 31 char, 0~1 string, 127 string, 15 SMTP Server Address Sending Person Name SMTP Server login usage SMTP Account ID SMTP Account PW
NOD
Content
string, 63
Up to 7 supported
70
NOD
Content
en rcvr
Up to 7 supported
NOD
Content
en md
NAS Device Usage Backup Method Backing up all the files that failed Backup
71
naslst
NOD
Content
72
[dev/pw] [dev/opt]
73
74
NOD
Description
Camera Info Alarm Setup Audi Setup Display Indication Setup Main Monitor Control Spot out Setup VGA Settings Additional Settings
75
<cont type=uchar>0x80</cont> <sat type=uchar>0x80</sat> <shp type=uchar>0x80</shp> <aid type=char>0</aid> <ptz> PTZ Info </ptz> </cam> <cam id=1> </cam> </camera>
NOD
DEscription
cam rapid completion id, 0~15 tt hid brt hue cont string, 31 char, 0~1 uchar, 0~255 uchar, 0~255 uchar, 0~255
Camera Name Camera Hidden Info Camera Brightness Info Camera Hue Info Camera Contrast Info
76
Camera Saturation Info Camera Sharpness Information Audio Channel ID connected to camera If omitted no camera is connected to Audio
[ptz]
PTZ Info
NOD
Description
en protoid
ptzid spd
77
serial
NOD
Description
baud
char, 0~18 0 1 2 3 4 5 6 7 8 9
Serial Port Baudrate Setting BAUD0 BAUD50 BAUD75 BAUD110 BAUD134 BAUD150 BAUD200 BAUD300 BAUD600 BAUD1200
78
BAUD1800 BAUD2400 BAUD4800 BAUD9600 BAUD19200 BAUD38400 BAUD57600 BAUD115200 BAUD230400 Size of the Serial Port Transmit Data 5 bit 6 bit 7 bit 8 bit Serial Port Stop Bit Size 1 bit 2 bit Serial Port Parity Mode NONE EVEN ODD
79
NOD
Description
almo rapid completion id, 0~3 almo/en almo/tt almo/nc char, 0~1 string, 31 char, 0~1 0 1
Alarm Use Alarm Name Alarm Mode Normal Open Normal Close
80
NOD
DEscription
<[vol]> mute
NOD
Description
81
osdg
uint, bitfield bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 bit 9 bit 10
OSD Display Technology Date Time Backup Cleint connection HDD usage Login user Info mute sequence zoom freeze page number Camera Info Indication bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 Camera Number Camera Name Record Status Info Event Info Audio Conection Info PTZ Connection Info Video Loss Info Hidden Info OSD Info Indication, Empty Spare of horizontal end point.
osdc
uint, bitfield
hspc
short, 0~30
82
vspc
short, 0~20
[alrate]
char, 0~100
NOD
Description
seqdw
char, 1~30
popen
char, 0~1
83
<lncam type=uint>0x10</lncam> <!Future Use <split type=char>0</split> --> </dev> <dev id=1> </dev> <spot>
NOD
Description
dev rapid completion id, 0~1 dev/md char, 0~2 0 1 2 3 dev/fxcam dev/seqdw dev/lncam char, 0~15 char, 1~30 uint, bitfield
SPOT monitor Mode Setup Fixed Channel 1 ch. sequence Division Mode Sequence (future use) Event Popup (future use) Fixed Channel mode output camera channel Sequence Mode DWELL Time 1 Channel Sequence: Connected Cameras bitfield. Event Popup: Connected Cameras bitfield.
84
<[dev/split]>
char, 0~2 0 1 2
All Channels Division Mode 4 division mode 9 division mode 16 division mode
NOD
Description
85
uchar, 0~255 uchar, 0~255 short short uchar, 0~255 uchar, 0~255
VGA Saturation VGA Sharpness VGA Horizontal Resolution VGA Vertical Resolution 3D Factor De-interlace Factor
NOD
Description
keyctrl/en keyctrl/protoid
86
keyctrl/addr
uchar, 0~255
87
NOD
Description
Recording Selection Emergency Recording Status Overwrite Mode Support Selection Recorded Data Retention Date Camera Setup Info Setup
88
89
NOD
Description
id fx/res
Channel Recording Resolution Setup D1 HD1 CIF OFF Recording Mode 0 1 2 3 4 OFF NORMAL EVENT ALL (N+M) SCHED Sunday Schedule Recording Setup MON TUE WED THU FRI
fx/md
char, 0~4
90
SAT Recording Resolution Setup Highest High Middle Low Lowest FPS Setup FPS differs according to NTSC / PAL regardless of mode
nor/fps evt/fps
char, 0~10
91
NOD
Description
92
Motion Setup Info Sensor Info Setup Video Loss Info Setup Disc FULL Info Setup Disc Error Info Setup Smart Info Setup
93
NOD
Description
cam rapid completion id, 0~15 cam/en cam/sens <[cam/keep]> <[cam/dly]> char, 0~1 char, 1~5 char, 0~60 char, 0~60
Motion Use Selection Motion Sensitivity Setting Motion Retention Time Setting Latency time between Motion Alert and ACTION performance
cam/area/aa
uint, birfield
act
94
<popcam type=char>1</popcam> <popdw type=char>5<popdw> <!Future Use <preset> <pset type=uchar>0</pset> <pset type=uchar>0</pset> <pset type=uchar>0</pset> </preset> <spot> <pt type=char>0</pt> <pt type=char>0</pt> <pt type=char>0</pt> </spot> --> <lnalmo type=uint>0x9</lnalmo> <almdw type=char>5</almdw> <bzdw type=char>5</bzdw> <email type=char>1</email>
95
NOD
Description
lncam
uint, bitfield
prert
Pre-Recording (sec) related Action No Use 1~5 sec Post Recording (sec) related Action Designated monitor popup related to Action 0 1 Main Monitor Application SPOT monitor Channel Application POPUP applied Camera related to Action POPUP DWELL Application Time related to Action 0 1~30 No Use 1~30 sec. applied PTZ Reset No. of the Camera related to Action
postrt <[popath]>
popcam popdw
<[preset/pset]>
uchar, 0~255
<[spot/pt]> lnalmo
Camera Spot Out Setup related to Action Alarm Channel Settings according to Action
96
almdw
Alarm Retention Time related to Action No Use 1~30 sec. applied Buzzer Retention Time related to Action 0 1~30 No Use 1~30 sec. applied Email Notification related to Action Callback Function related to Action Saving Log Info according to Action
bzdw
char, 0~30
email cb flag
97
</sin> </sensor>
NOD
Description
sin Rapid completion id, 0~15 sin/en <[sin/keep]> <[sin/dly]> char, 0~1 char, 0~60 char, 0~60
Sensor Use Sensor Input Retention Time Latency time between Sensor Input and ACTION performance
sin/nc
char, 0~1 0 1
Sensor Type Normal Open Normal Close Sensor Name identical with motion/act
sin/tt sin/act
string, 31
98
<en type=char>1</en> <!Future Use <keep type=char>1</keep> --> <!Future Use <dly type=char>1</dly> --> <act> ACTION Technology </act> </cam> <cam id=1> </cam> </vloss>
NOD
Description
cam Rapid completion id, 0~15 cam/en <[cam/keep]> <[cam/dly]> char, 0~1 char, 0~60 char, 0~60
Video Loss Use (always 1) Video Loss Retention Time Latency timebetween Temperature Retention Time and ACTION performance
cam/act
99
NOD
Description
en sysact
char, 0~1
NOD
Description
100
Scope lnalmo almdw uint, bitfield char, 0~30 0 1~30 bzdw char, 0~30 0 1~30 email cb flag char, 0~1 char, 0~1 uchar, bitfield Alarm Channel setting related to Action Alarm Retention Time related to Action NO USE 1~30 sec. applied Buzzer Retention Time related to Action No Use 1~30 sec. applied Email Notification according to Action Callback function related to Action Saving Log Info according to Action
NOD
Description
en
char, 0~1
101
sysact
NOD
Description
en <[sif/temp]>
<[sif/keep]> <[sif/dly]>
102
103
104
--> </MISC>
NOD
Description
lv/md
char, 0~9 0 1 2 3 4 5 6 7 8 9
Layout Mode 1 division 4 division 1-5 division 3-4 division 1-7 division 9 division 2-8 division 1-12 division (1) 1-12 division (2) 16 division Page number according to the division mode arrange channel numbers according to each mode
lv/pg lv/layout/lo
<[pb]>
105
NOD
Description
PTZINFO
NETMASK
106
NOD
Description
ptzcam/protoid ptzcam/cap
short, 0~43 ushort, bitfield bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6
PTZ Cmara protocol id Support Functions (bitfield) PAN TILT FOCUS ZOOM IRIS PRESET MENU PTZ Protocol Name
ptzcam/name
string, 63
107
NOD
Description
NETMASK
uint, bitfield bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 bit 9 bit 10 bit 11 bit 12 bit 13 bit 14 bit 15 bit 16 bit 17 bit 18 bit 19
changed config id XQ_CONFIG_SYS_INFO XQ_CONFIG_SYS_DATETIME XQ_CONFIG_SYS_ACCOUNT XQ_CONFIG_NET_ETHER XQ_CONFIG_NET_MODEM XQ_CONFIG_NET_DDNS XQ_CONFIG_NET_EMAL XQ_CONFIG_NET_CALLBACK XQ_CONFIG_DEV_CAMERA XQ_CONFIG_DEV_ALARM XQ_CONFIG_DEV_AUDIO XQ_CONFIG_DEV_DISPLAY XQ_CONFIG_DEV_MONITOR XQ_CONFIG_DEV_SPOT XQ_CONFIG_DEV_VGA XQ_CONFIG_DEV_MISC XQ_CONFIG_REC_POLICY, XQ_CONFIG_REC_ALL, XQ_CONFIG_EVT_MOTION XQ_CONFIG_EVT_SENSOR
108
109
di dly dp dw en eth evt fd fps fw fx gw hid hres hspc if lg stype svr td temp tm tt
de-interlace delay display dwell enable Ethernet event folder frame per sec firmware fix gateway hidden horizontal resolution horizontal space information log sensor type server 3D(three dimensional) temperature time title
pg pop pt qty rcvr res rm rt sat sched sens seq shp sin spt sndr spd
page popup port quility receiver resolution remote rec time saturation schedule sensitivity sequence sharp sensor in spot port sender speed
110
111