Bosch THE DCN 用户手册

下载
页码 31
SC & SI Remote Interface Description 
en | 7 
 
Bosch Security Systems B.V. | 2003 December | SC & SI Remote Interface Description 
Response structure from the function 
The function returns the following structure: 
WORD 
 wNrOfInstances 
where: 
wNrOfInstances 
The value of the update use count for the SC application at the 
end of the function handling. It contains the number of times a 
remote PC has been connected over the same communication 
medium. E.g. the first time the function SC_C_START_DCN is 
called, it contains the value 1. 
Error codes returned 
SC_E_NOERROR 
Related functions 
SC_C_STOP_DCN 
3.4 SC_C_STOP_DCN 
Purpose 
Indicates the CCU that the remote controller no longer requires updates from the SC application inside the 
CCU. After receiving this function the CCU decrements the update ‘use’ count. As long as the update use 
count is greater than zero, the CCU remains sending the update notifications to the remote controller. 
Note that: 
Upon communication lost this function will be activated, if SC_C_START_DCN was 
activated. The activation of this function is repeated till the update use count 
becomes zero. 
Availability 
This function is available in CCU system modes config and congress. 
Parameter structure for the function 
The function has no additional parameters. 
Response structure from the function 
The function has the same response structure as the remote function SC_C_START_DCN (section 3.3). 
Error codes returned 
SC_E_NOERROR 
Related functions 
SC_C_START_DCN 
3.5 SC_C_GET_CCU_VERSIONINFO 
Purpose 
This function is used to query the CCU version information. Usually this will be the first function called after 
start-up of the remote controller to check the correct version of the CCU software. 
Availability 
This function is available in CCU all system modes. 
Parameter structure for the function 
The function has no additional parameters. 
Response structure from the function 
The function returns the following structure: 
typedef struct 

 WORD 
tOperatingMode; 
 CHAR 
szSwVersion [SC_C_MAX_VERSION_LENGTH]; 
 BYTE 
byMajorVersionOfDownloadedSw; 
 BYTE 
byMinorVersionOfDownloadedSw; 
 BYTE 
byMajorVersionOfResidentSw; 
 BYTE 
byMinorVersionOfResidentSw; 
 BYTE 
bySystemMode; 
 BYTE 
byReservedForSwInfo [SC_C_MAX_SOFTWARE_INFO]; 
 SC_T_CCU_TYPE tCCUType; 
 BYTE 
byMTBVersion; 
 BYTE 
byTCBVersion; 
 BYTE 
byReservedForHwInfo [SC_C_MAX_HARDWARE_INFO]; 
 CHAR 
szSWRelNum[VERSION_C_LENGTH]; 
} SC_T_CCU_VERSION_INFO; 
where: 
tOperatingMode 
The current operating mode of the CCU. It gives information