Bosch THE DCN 用户手册

下载
页码 31
SC & SI Remote Interface Description 
en | 17 
 
Bosch Security Systems B.V. | 2003 December | SC & SI Remote Interface Description 
4.2 SC_C_CCU_REBOOT 
Purpose 
Notifies the remote controller that the CCU has restarted. This notification is always send at start-up of the 
CCU and is the only notification message send by the CCU till the update request function 
SC_C_START_DCN is executed. 
This notification should be monitored to detect a restart of the CCU. The remote controller should take 
appropriate actions to restore the settings. 
Notify structure with this update 
The update comes with the same structure as used for the response of the remote function 
SC_C_GET_CCU_VERSIONINFO (section 3.5). 
4.3 SC_C_CONNECT_UNIT 
Purpose 
Notifies the remote controller that a new unit has connected to the CCU. The remote controller can use this 
notification to add this unit to its functionality. 
Notify structure with this update 
The update uses the following structure: 
SC_T_UNIT_DATA  
tUnitData; 
where: 
tUnitData 
Information about the unit that is connected. The elements 
present in the structure are defined in section 3.6. 
4.4 SC_C_DISCONNECT_UNIT 
Purpose 
Notifies the remote controller that a unit has lost his connection with the CCU (i.e. the unit is disconnected 
from the ACN-trunk). This notification informs the remote controller that the unit is no longer available. 
Notify structure with this update 
The update comes along with the same structure as defined in section 4.3. 
4.5 SC_C_CONNECT_SLAVE_CCU 
Purpose 
Notifies the remote controller that a slave-CCU has connected to the master-CCU. 
Notify structure with this update 
The update comes with the following structure: 
typedef struct 

 BYTE 
 bySlaveId; 
 WORD 
 wFillLevel; 
 SC_T_UNIT_DATA 
tConnectedUnits[SC_C_CLUSTER_MAX]; 
} SC_T_CCU_CONNECT; 
where: 
bySlaveId 
The identification number of the slave-CCU involved. 
wFillLevel 
The number of units present in the tConnectedUnits array. Only 
this amount of array elements is transmitted. 
tConnectedUnits 
A list of units that are connected to the slave in question. This 
means that all units reported in the list are also connected. 
Each list element is defined as a SC_T_UNIT_DATA structure 
which is defined in section 3.6. 
Note:  Although the list is defined with SC_C_CLUSTER_MAX 
elements, only the maximum number of units possible for 
one slave will be transmitted. 
Currently the wFillLevel parameter will always be zero. Due to the nature of the units and the control flow 
used with the CCU (slave and master), each unit will connect itself using the notification 
SC_C_CONNECT_UNIT. Therefor no units are reported in this list. Future extension in the software could 
build a list of units connected to a slave. That list should then be reported in the tConnectedUnits list.