ACC Programmer's Reference Guide
184 Chapter4
ZCOM C I/F Library Routines
ZCONFIG (3X)
TYPES OF
CONFIGURATION
FUNCTION
DSC Control
The DSC control function is to provide global control and status on the
access of DSC functions. There are 3 DSC control actions.
Action ZcENABLE_DSC(1) is to enable the DS C access after it has been
disabled. By default, the DSC access is enabled when ZCOM system is
started up.
Action ZcDISABLE_DSC(2) is to disable DSC access. When disabled,
local processes attempting DSC functions will be suspended. For DSC
requests from remote system, ZCOM error -41 (ZEDSCLOCK, DSC
function is disabled) is returned.
Action ZcDSC_SEND_RECFG(3) is used to broadcast a “Reconfiguration
Complete” system event message to all interested programs and protocol
drivers. This action should only be used after completing all zconfig()
calls to dynamically reconfigure the ZCOM subsystem. Any process or
protocol driver which has previously called the ZCOM zevent_rcvr()
routine will be notified with a system event message. A dynamic
reconfiguration complete event message returns an event type of
ZCOM_SETYPE_RECONFIG.
Configuration Data
header.config
ZCOM_ZCONFIG_CNTL (DSC Control)
header.action
header.tag1,
header.tag2
Any values.
ZcENABLE_DSC (1) - Enable DSC access
ZcDISABLE_DSC (2)-DisableDSCaccess
ZcDSC_SEND_RECFG (3) - Broadcast reconfiguration
complete system event message.










