
DCN Next Generation Open Interface Release 2.4 Config Install and Database
en | 65
Bosch Communications Systems | 2007 February | SRS_SCSIINF | Du010934
Response structure from the function
The function has no response parameters.
Error codes returned
DB_E_NOERROR
DB_E_APP_NOT_STARTED
DB_E_NOT_INCONTROL
related functions
DB_C_START_APP
7.4 DB_C_MAINT_CCU
Purpose
The delegate database in the CCU can be changed using this remote function.
Availability
This function is available in CCU system mode congress. However, if another application is
making use of the delegate database inside the CCU, e.g. Voting or Access Control, this
function will return the error code DB_E_DELEGATE_DATA_BLOCKED
Parameter structure for the function
typedef struct
{
BOOLEAN bFirstCluster;
BOOLEAN bLastCluster;
BYTE byPinSize;
WORD wFillLevel;
DB_T_PERDELEGATE DelCluster[DB_C_MAX_N_DL_DEL_REC];
} DB_T_CCUMAINREC ;
with DB_T_PERDELEGATE defined as:
typedef struct
{
WORD lDelId;
DWORD lCard;
DWORD lPin;
WORD wUnitNr;
BYTE byDeskLang;
DWORD lVWeight;
BOOLEAN bMicAut;
BOOLEAN bVotingAut;
BOOLEAN bInterAut;
CHAR szSLine [DBSC_NCHAR_SCREENLINE];
} DB_T_PERDELEGATE;
where:
bFirstCluster Indicates if this block is the first cluster.
bLastCluster Indicates if this block is the last cluster.
byPinSize Indicated current pin code size. Possible values are
3, 4 and 5
wFillLevel The DelCluster array is filled with wFillLevel entries.
DelCluster; If an item in this array has an invalid value, the error
DB_E_WRONG_PARAMETER is returned. The
following items per array entry are available:
lDelId Delegate identification number. A unique number in
the range 1..DBSC_MAX_DELEGATE. It is
recommended to use DelegateId’s in an increasing
order, starting from 1.
lCard Delegate card code. A unique number in the range
1..MAX_CARD_CODE or DB_C_NO_CARD. This is
the numeric code present on the identification card
handed over to the delegate and which is to be used
in combination with attendance registration and
Commenti su questo manuale